Real didn't have to wait too long for their third goal when Toni Kroos calmly slotted into the bottom corner just moments after Ronaldo had struck the crossbar.
Real's big victory over Sociedad took them third above Valencia but they trail Barcelona by 16 points as they turn their attention to the defence of their Champions League title against Paris St Germain at the Bernabeu on Wednesday.
"He lives and breathes goals".More news: No disagreements with Russian Federation over Syria operation: Turkish FM
"The important thing is that he thinks about the next match, which will change his streak".
Real Madrid have been slowly, methodically putting together a semblance of good form again of late, shrugging off getting dumped out of the Copa del Rey early and refocusing their efforts on a climb back up the La Liga rankings.
Sociedad got themselves on the scoresheet in the 74th minute, Mikel Oyarzabal setting up Bautista to slot past Keylor Navas, and Illarramendi took advantage of sloppy defending to add their second.More news: U.S. wins first-ever Olympic medal in men's singles luge
Ronaldo then completed his hat-trick, pouncing to finish after Geronimo Rulli had spilled a shot from Bale, on as a substitute.
"It's a very hard game, I am a Real Madrid ambassador and obviously I want them to win, but on the other hand I like PSG and my great friend Neymar is there, and everyone loves him", Ronaldo added. Subs: Isco (on for Vazquez, 63) 7, Mateo Kovacic (on for Modric, 63) 6, Gareth Bale (on for Asensio, 73) 6. - Lucas Vazquez has scored six goals this season in all competitions, his best goal tally in single campaign for Real Madrid.
- Ronaldo has scored in each of his seven league games against Real Sociedad at Santiago Bernabeu (15 goals in total).More news: Winter Olympics: South Korea probes cyber shutdown during opening ceremony
- Olympics Opening Ceremony highlights: A unified Korea, oiled-up Tongan, fake Trump
- Tom Brady Reflects On Super Bowl Loss In Emotional Instagram Post
- La Corea del Nord invita Moon a Pyongyang
- VP Pence: US, South Korea, Japan Committed To Ending NK Threats
- United Nations chief calls for immediate de-escalation in Syria
- Winter Olympics organizers confirm cyberattack, refuse to reveal source
- Ranveer Singh raises price, matches Deepika Padukone
- Sam Allardyce expects Everton response to mauling by…
- S. Korean, DPRK athletes march together at Winter Olympics opening ceremony
- Syrian warplanes kill 59, injure 139 in Eastern Ghouta, monitor says