Match ends, Real Madrid 5, Real Sociedad 2.
Cristiano Ronaldo scored a hat-trick as Real Madrid thrashed Real Sociedad to warm up for Wednesday's Champions League tie with Paris St-Germain.
Ronaldo set up Lucas Vazquez to head a first-minute opener, then blasted home from Marcelo's cross.
Toni Kroos added a third before Ronaldo headed in Luka Modric's corner.
Jon Bautista pulled one back after the break, but Ronaldo scored his third from close range before Asier Illarramendi's volleyed consolation.
Confidence booster for PSG tie
With Real Madrid long out of the La Liga title race - they are 16 points behind Barcelona even after this win - the Champions League is their last remaining hope for the season - and perhaps for Zinedine Zidane's job.
Real became the first team to successfully defend the Champions League last season, both successes coming in Zidane's two years in charge. But they have been poor domestically this season.
Zidane named a strong side against 14th-placed Real Sociedad, with only Gareth Bale and Casemiro rested from their last match, and he was rewarded with a good performance and result - a couple of defensive blips aside.
They could - and should - have won by more, with Ronaldo and Karim Benzema, who was booed by the home fans after missing a last-minute sitter, also hitting the woodwork.
Bale did come on late on, and had a hand in Ronaldo's third, his shot being parried straight to the Portuguese to score.
Real - who move up to third in the table - host PSG on Wednesday in the Champions League round of 16 first leg, with the trip to France not until Tuesday, 6 March.
Ronaldo finding domestic form
Ronaldo's Champions League form was never in doubt this season - he became the first player in history to score in each group game, scoring nine times in the six games.
But he had scored only four La Liga goals before the new year.
However, seven goals in his last four games suggest that was an anomaly for a player who has now scored 33 hat-tricks in the Spanish top flight.
He looked full of confidence as he struck three times, and could have scored more - hitting the post and heading wide from close range towards the end.
- 2CarvajalBooked at 49mins
- 17VázquezSubstituted forIscoat 63'minutes
- 10ModricSubstituted forKovacicat 63'minutesBooked at 90mins
- 20AsensioSubstituted forBaleat 73'minutes
- 7Cristiano Ronaldo
- 24de la BellaBooked at 47mins
- 16CanalesSubstituted forBautistaat 60'minutes
- 17ZurutuzaSubstituted forZubeldiaat 60'minutes
- 10Prieto Argarate
- 7JuanmiSubstituted forGuridiat 83'minutes
- 13Ramírez Martínez
- Alejandro José Hernández Hernández
- Shots on Target
Second Half ends, Real Madrid 5, Real Sociedad 2.
Attempt missed. Karim Benzema (Real Madrid) right footed shot from the centre of the box is too high. Assisted by Gareth Bale.
Attempt missed. Alberto de la Bella (Real Sociedad) left footed shot from outside the box misses to the right. Assisted by Igor Zubeldia.
Mateo Kovacic (Real Madrid) is shown the yellow card.
Foul by Daniel Carvajal (Real Madrid).
Jon Bautista (Real Sociedad) wins a free kick in the defensive half.
Attempt missed. Cristiano Ronaldo (Real Madrid) header from the centre of the box misses to the right. Assisted by Toni Kroos with a cross following a set piece situation.
Isco (Real Madrid) wins a free kick in the attacking half.
Foul by Raúl Navas (Real Sociedad).
Attempt missed. Aritz Elustondo (Real Sociedad) header from the centre of the box is too high. Assisted by Asier Illarramendi with a cross following a set piece situation.
Foul by Mateo Kovacic (Real Madrid).
Álvaro Odriozola (Real Sociedad) wins a free kick on the right wing.
Attempt missed. Gareth Bale (Real Madrid) left footed shot from outside the box misses to the left. Assisted by Cristiano Ronaldo.
Offside, Real Madrid. Isco tries a through ball, but Gareth Bale is caught offside.
Attempt saved. Igor Zubeldia (Real Sociedad) right footed shot from outside the box is saved in the centre of the goal. Assisted by Xabi Prieto.
Substitution, Real Sociedad. Jon Guridi replaces Juanmi.
Goal! Real Madrid 5, Real Sociedad 2. Asier Illarramendi (Real Sociedad) right footed shot from the centre of the box to the bottom left corner. Assisted by Juanmi with a headed pass following a corner.
Corner, Real Sociedad. Conceded by Raphael Varane.
Goal! Real Madrid 5, Real Sociedad 1. Cristiano Ronaldo (Real Madrid) left footed shot from very close range to the centre of the goal.