The News Agency of Nigeria reports that the overwhelming victory at the Santiago Bernabéu Stadium on Sunday saw Real Madrid reclaim fourth place in the La Liga standings.
Real had lost two of their last three league games and got off on the wrong foot against relegation-threatened Deportivo.
This was after former Atletico Madrid forward Adrian Lopez put the visiting side ahead against the run of play in the 23rd minute.
The stumbling La Liga champions responded in emphatic fashion, however, and went on to record their biggest win of the season in all competitions.
Gareth Bale, Nacho Fernandez and Ronaldo scored two goals apiece as well as a long-range strike from Luka Modric.
Ronaldo was unable to continue playing after he was left with a bloodied face by the boot of Deportivo defender Fabian Schar as he struck his second goal.
His goal took him level with Bale as Real’s top scorer in the league with six strikes.
Real climbed back above Villarreal into fourth place on 35 points but are still far behind runaway leaders FC Barcelona, who top the standings with 51 points.
FC Barcelona can move 11 points clear of nearest challengers Atletico Madrid if they beat Real Betis later on Sunday.
“The players needed a game like this,” Real Madrid coach Zinedine Zidane told reporters.
“I don’t know if much changed apart from the scoreline and that’s the biggest difference.
“We played well against Villarreal (in our last match in spite of losing 0-1) and we were doing well when we were losing 0-1 today.
“But we got the equaliser and I‘m delighted with what we did in the rest of the game.”
Real Madrid began the season with a comfortable win away to Deportivo.
They could hardly have asked for better opponents than the struggling Galician side to get them out of their miserable run of form, even though Depor struck first.
In-form defender Nacho lashed Madrid level after playing a one-two with Marcelo and then Bale produced a brilliant curled finish off the post to put Real in front as halftime approached.
Bale stretched his side’s advantage after the interval by leaping to head in Toni Kroos’s corner kick, scoring a sixth goal in seven league starts.
It proved though that his persistent muscle injuries have not harmed his striking prowess.
Ronaldo had had little luck in front of goal at that point, but he quickly stole the headlines with two strikes in six minutes.
He departed the pitch using a mobile phone to examine his blood-drenched face.