The 24-times Grand Slam winner retired from his Australian Open semi-final against Alexander Zverev (27) with a hamstring issue last month, and lost in the Qatar Open first round last week.
The 37-year-old said that he "played without pain" in Doha, but his disappointing display raised concerns among fans that he would not play in the Southern California event.
"A legend returns to the desert," the tournament wrote on X on Saturday, quieting concerns about whether he would play.
Five-times Indian Wells winner Djokovic will aim to become the third man to claim 100 singles titles in the professional era behind Jimmy Connors (109) and Roger Federer (103).