Real Madrid centre-back Pepe had arthroscopic surgery on his right ankle on Wednesday, the La Liga champions said, adding to coach Jose Mourinho's selection problems in defence.
"After feeling pain in his right ankle and a medical checkup, the Real Madrid player Pepe was operated on this morning in Porto," the club said on their website.
They did not say how long the Portuguese international would be out of action but local media reported he would be sidelined for about a month.
Real have been hit by several injuries in defence in recent weeks, including fullbacks Fabio Coentrao and Marcelo.
Pepe's regular partner at centre-back, Sergio Ramos, is suspended for Sunday's game at home to Real Sociedad and French teenager Raphael Varane could partner the little-used Ricardo Carvalho in the middle of a makeshift defence as Real seek to get their La Liga campaign back on track after a poor run.
They are third after 17 matches, seven points behind second-placed Atletico Madrid and 16 adrift of unbeaten leaders Barcelona.
Borussia Dortmund's Mario Gotze ruled out of Champions League final against Bayern Munich
Malaga coach Manuel Pellegrini will leave the La Liga club at the end of the current season
Stoke City and manager Tony Pulis part company by mutual agreement after seven years
Andy Carroll pulls out of England's friendly internationals against Ireland and Brazil
Ten years on, the legends speak to FFT
Your questions answered by an A to Z of legends
He's here, he's there, he's...
The cost of Premier League away travel
Nike CR7 IX for you
FourFourTwo is brought to you by Haymarket Consumer Media & FourFourTwo is part of Haymarket Sport
| International Licensing | © Haymarket Media Group 2010