Los Blancos have beaten Eibar and Valencia since the return of the 2019-20 campaign to keep in touch with Barcelona at the summit, but Sociedad have only collected one point from their last two matches.
Fourteen wins, five draws and 10 defeats - that is how Sociedad have performed in La Liga this season, picking up 47 points to occupy sixth position in the table.
The Basque outfit are very much in a top-four race at this stage, sitting just two points behind fourth-placed Atletico Madrid, although they have not been in the best form since resuming their campaign.
Indeed, a 1-1 draw at home to Osasuna on June 14 was followed by a disappointing 2-0 loss away to Alaves on Thursday night, which makes Sunday's contest even more important for Imanol Alguacil's team.
Sociedad suffered a 3-1 defeat away to Madrid earlier this season, but they have actually won two of the last three league meetings between the two teams, and there is no question that the Whites and Blues are capable of picking up a positive result on Sunday evening despite their recent struggles.
Karim Benzema netted twice against Los Che, while Marco Asensio came off the bench to score on his return from a serious knee injury, and the Spaniard's availability could be huge in the latter stages of the season.
As it stands, Los Blancos are just two points off leaders Barca, although the Spanish champions will have the chance to move five points clear when they face Sevilla on Friday night.
Any slip at the Estadio Ramon will open the door for Madrid, though, and Zinedine Zidane's side have actually only lost three of their 29 league games this season, which is the best record in the division.
The capital outfit also have the best away record in La Liga this season, picking up 25 points from their 14 matches, scoring 22 times in the process, which is the highest in the league.
Sociedad La Liga form: WWLWDL
Sociedad form (all competitions): WWLWDL
Real Madrid La Liga form: DLWLWW
Real Madrid form (all competitions): LLWLWW
Sociedad are hoping that Martin Odegaard will be fit to face his parent club, with the 21-year-old picking up a muscular problem during the team's disappointing defeat against Alaves.
Asensio scored on his return to action against Valencia but after such a long period on the sidelines, it seems likely that the Spaniard will be used as a substitute once again.
There could be a change in the final third, though, with Rodrygo Goes, who started against Eibar, pushing to return on the right, meaning that Federico Valverde could drop back into midfield, taking Luka Modric's spot in the process.
There are not expected to be too many alterations from the side that started against Valencia, though, with Eden Hazard and Karim Benzema likely to continue in the final third of the field.
Sociedad possible starting lineup:
Remiro; Elustondo, Llotente, Le Normand, Monreal; Merino, Zubeldia, Odegaard; Oyarzabal, Willian Jose, Portu
Real Madrid possible starting lineup:
Courtois; Carvajal, Varane, Ramos, Mendy; Valverde, Casemiro, Kroos; Hazard, Benzema, Rodrygo
We say: Real Sociedad 1-2 Real Madrid
Madrid could be five points behind Barca by the time that they take to the field, showing the importance of the contest. Zidane's side have been in good form since the restart, and we fancy them to put another three points on the board in this match, albeit by the narrowest of margins.