The 38-year-old underwent arthroscopic surgery in Switzerland Wednesday which will rule him out for the second grand slam of the season in Paris, France.
“My right knee has been bothering me for a little while. I hoped it would go away, but after an examination, and discussion with my team, I decided to have arthroscopic surgery in Switzerland yesterday,” Federer said.
“After the procedure, the doctors confirmed that it was the right thing to have done and are very confident of a full recovery. As a result, I will unfortunately have to miss Dubai, Indian Wells, Bogota, Miami and the French Open. I am grateful for everyone’s support.
“I can’t wait to be back playing again soon, see you on the grass!”
The 20-time grand slam winner showed signs of injury during his last appearance at a grand slam at this year’s Australian Open in January.
Federer, who won his only French Open title in 2009, missed the Paris tournament for three years from 2016 before returning to reach the semi finals last year. He then squandered two match points in losing an epic Wimbledon final to Djokovic the following month.
The French Open runs from May 24 to June 7.