The three-time Ballon d’Or winner, 29, lashed out with less than 10 minutes of the match remaining to earn himself a straight red card for unsportsmanlike conduct.
Ronaldo was seen kicking out before raising a hand to strike Cordoba defender Edimar in the face - leaving referee Alejandro Hernandez with no otter option but to dismiss the world-class Portugal international.
RFEF lenient on Ronaldo
Early reports suggested Ronaldo was in line to receive a ban of up to 12 matches, but the Royal Football Federation (RFEF) have acted leniently on this occasion.
Crucially, the two-match ban means Ronaldo will be available to face Real Madrid’s local rivals Atletico on February 7.
Bale rescues Real Madrid
Despite having Ronaldo sent off against Cordoba, Real Madrid still managed to secure all three points thanks to Gareth Bale’s last-minute penalty.
The Wales international held his nerve to convert under pressure and ensure Carlo Ancelotti’s side remain top of La Liga, a point clear of second-placed Barcelona with a game in hand.
That red card was Ronaldo’s fifth since arriving in Spain from Manchester United back in 2009, and may have been a sign of frustration after failing to get himself on the scoresheet during the 82 minutes he was on the pitch.
Messi to close the gap?
Ronaldo has scored a magnificent 36 goals from 31 matches in all competitions this season - including 28 in La Liga - but his suspension may allow Barcelona’s Lionel Messi to close the gap in the goalscoring stakes.
Messi currently has 21 league goals to his name this season, but has netted five in his last two appearances, suggesting the Argentina international is now back to his world-class best.
Can Real Madrid hold on to top spot in La Liga without their talismanic goalscorer? Have your say in the comments below.