Twelve-time Grand Slam champion Novak Djokovic will not play again in 2017 because of an elbow injury.
Former world number one Djokovic, 30, retired injured during his Wimbledon quarter-final match against Tomas Berdych on 12 July.
He claimed to have been suffering from an elbow problem for 18 months.
“Professionally this is not an easy decision for me, but I’m trying to look at the positive side,” said the Serb, who is the world number four.
In July, Djokovic won the Aegon International in Eastbourne – his 68th career title, but his first since January.
He suffered a shock defeat by world number 117 Denis Istomin at January’s Australian Open, where he was defending champion, and then lost his French Open crown when he was beaten by Dominic Thiem in the quarter-finals in June.
Djokovic said he would spend the time building up his fitness and strength, as well as working on areas of his game he felt needed to be improved.
“I want to play professional tennis for many years to come,” he added in a message on his Facebook page.
It means Djokovic will miss the US Open, which starts on 28 August, and where he was champion in 2011 and 2015.
His absence from Flushing Meadows ends a run of 51 consecutive appearances at Grand Slams.
“All the doctors I’ve consulted, and all the specialists I have visited, in Serbia and all over the world, have agreed that this injury requires rest,” Djokovic said.
“A prolonged break from the sport is inevitable. I’ll do whatever it takes to recover.
“My elbow is hurt due to excessive playing, and it troubles me constantly when serving, and now when playing forehand as well.
“My body has its limits, and I have to respect that and be grateful for all I have achieved so far.
“At the beginning of my career I was facing health issues, but over the years, and with a lot of patience and dedication, I found a solution.
“That’s the approach I take to this situation, and I firmly believe I will come back stronger.”
Coach Andre Agassi has committed to stay with Djokovic for the 2018 season.