Los Blancos were hoping to stretch their unbeaten record into the 41st game at the Sanchez Pizjuan.
They started the game on equal footing with the Merengues and a Ronaldo penalty – his 56th scored penalty for Madrid- gave them a lead in the 67th minute.
In the 85th minute, Former Sevilla player, Sergio Ramos, who is a man for the big occasions, bundled a goal past Keylor Navas, his goalkeeper.
Karim Benzema lost the ball in added time and January signing Stevan Jovetic (who scored within nine minutes after making his debut on Thursday) took advantage to beat poorly positioned Keylor Navas, in a fast finale as the Sanchez Pizjuan erupted.
The win blows La Liga race wide open with Sevilla now one point behind Madrid and Barca one point further away.