However, he insists there were positive to take from his brief time in Madrid.
The victory against Goffin was just his second over top-10 opposition and the manner of the 6-3 6-3 win was seriously impressive, with a little "Let's Go" - Murray's on-court catchphrase - thrown in for good measure at the end of the first set.
Djokovic was ready to pounce though early in the second and opened up a 2-0 lead.
After winning the second set comfortably by twice breaking Edmund's serve, Djokovic appeared to have regained the momentum.
Nadal remains on course after a comprehensive victory over Monfils. "But, also, he was courageous enough to attack the balls when it mattered and deserved to win".
"So that's why it was really a flawless scenario to start off the tournament". I couldn't ask for a better start.
Eighth seeds Chan and Yang Zhaoxuan fell to 7-6 (7/3), 6-3 defeat to unseeded Alicja Rosolska and Abigail Spears in 1 hour, 31 minutes at La Caja Magica in the Spanish capital.
Frenchman Lucas Pouille, seeded 15th, crashed out of the tournament after a 6-2 6-3 defeat by compatriot Benoit Paire. The 12th-ranked Serb also failed to advance past the last 16 at the Australian Open.
She finally broke the run with a straight-sets defeat of Mihaela Buzarnescu on Sunday and is now into the last 16 in Spain.
Barty, 22, was ultimately let down by her groundstrokes in crucial stages of the decider, finishing with 54 unforced errors.
Former world No.1 Djokovic is still not back to his best as he continues his comeback from an elbow injury but he was nevertheless impressed by Edmund, who has lost his one tour match with Rafael Nadal, both to Andy Murray and has yet to face Roger Federer.
When you put yourself in a situation to win, you're close, but you're not really because there's still lots of work to do. She loves the clay. I really believe that he knows that, I know that, and everybody knows how hard is stay there all the time, no? It's just about going for it again. "I don't have any doubt that he's going to be back up at the highest level", Nadal said of Djokovic.
'But yeah what I saw in the last few months he improved a lot, great forehand, great first serve.
"I think that there is no logic in blaming me for his losses".
Karolina Pliskova held off former world number one Victoria Azarenka 6-2 1-6 7-5 to set up a third-round clash with US Open champion Sloane Stephens.