The Serbian has been sidelined since the Australian Open due to an elbow injury and he underwent a "small medical intervention" last month.
Djokovic is set to make his return at Indian Wells and Wednesday's draw presented a somewhat difficult test.
The 10th seed and 12-time grand slam champion has a bye into the second round, where a qualifier awaits, but Djokovic could face Kei Nishikori in the third round.
Mexican Open champion Juan Martin del Potro and Croatian second seed Marin Cilic are also in Djokovic's quarter.
Djokovic is a five-time winner at Indian Wells, including three straight titles from 2014 to 2016.
Top seed Roger Federer was given a favourable draw – Dominic Thiem the top-ranked player in his quarter – at a tournament missing Rafael Nadal, who is sidelined with a hip injury.