Swiss legend and 17-time grand slam winner Roger Federer has announced on Tuesday that he will miss the rest of the 2016 season including the upcoming Olympic Games to be held here next month.
Federer received a surgery to his left knee in February after being ousted in the semifinals in Australian Open.
Although he returned to compete in the Monte Carlo Masters in April, the Swiss was forced to withdraw from French Open with a back problem in May.
Federer said on his Facebook page he was "extremely disappointed" to not be representing Switzerland in Rio and it was "tough" to miss the rest of 2016.
"I am as motivated as ever and plan to put all my energy towards coming back strong, healthy and in shape to play attacking tennis in 2017," he added.
Federer won doubles gold at Beijing in 2008, but has never won an Olympic singles title and lost to Britain's Andy Murray in the final at London 2012.
"The doctors advised that if I want to play on the ATP World Tour injury free for another few years, as I intend to do, I must give both my knee and body the proper time to fully recover," said Federer who reached the Wimbledon semi-final earlier this month but required treatment on his knee before being defeated in the semifinals by Milos Raonic.
"It is tough to miss the rest of the year. However, the silver lining is that this experience has made me realize how lucky I have been throughout my career with very few injuries," he said.
"I am as motivated as ever and plan to put all my energy towards coming back strong, healthy and in shape to play attacking tennis in 2017," said Federer, who will turn 35 next month.