The 12-time Grand Slam champion had previously refused to confirm when he would start his grass-court season, but he has now revealed that he will play at Queen's for the first time since 2010.
"I am very excited to be playing the Fever-Tree Championships again," Djokovic said in a statement.
"The atmosphere is always great and I am looking forward to playing in front of the British crowd again.
"Grass is very special, it is the rarest of surfaces so I'm happy I'll have the opportunity to compete at this strong tournament, which will also be a great preparation for Wimbledon."
Wimbledon will get underway on July 2.