The 29-year-old will be rested for the trip to the Basque country but Madrid coach Carlo Ancelotti is confident that he will be fit for Tuesday's clash with Dortmund
The Portuguese scored his side's third goal in the 3-0 win over Jurgen Klopp's side in the first leg of their Champions League quarterfinal clash, but limped off late on.
And he will be rested for the match in San Sebastian against the Basque outfit but should be fine to line up in the return leg in Germany.
"Cristiano will rest. He is tired and has a bit of a problem," the former Chelsea boss told reporters. "We prefer him to stay in Madrid, work and get ready for the next game.
"On Tuesday he will be fresher and can recover better. He has played a lot of games. We just want him to rest."
It was a mutual decision between the coach and player.
"I've spoken with Cristiano and together we decided it was better he rested," Ancelotti added. "It's normal he wants to play all the game but there's no problem."
The Italian has not decided who will replace the 29-year-old against Sociedad and insisted there are a number of possibilities to choose from.
"We have options," he said. "Alvaro Morata could play, we could change Isco's position or move the other forwards around.
"Gareth Bale is playing well, consistently. He could change positions with Cristiano missing."
Madrid, which is currently third in La Liga, is hoping to keep the pressure up on title rivals Barcelona and Atletico Madrid.