Lionel Messi started the scoring with a penalty kick in the 53rd minute.
Cristiano Ronaldo returned the favor with a penalty kick of his own in the 82nd minute.
In a much-anticipated match, Real Madrid and Barcelona tied 1-1 at Santiago Bernabeu in a La Liga match.
But Real Madrid should feel pleased that they were able to score at all, after Raul Albiol's foul on Messi resulted in a red card. Real Madrid would have to play a man down for most of the second half.
It was game marked by yellow cards, and some good opportunities for both clubs.
Barcelona continues to stand on top of the standings with an eight point lead over Real Madrid.
The two teams face each other in the Copa del Rey Final on Wednesday.
Barcelona and Real Madrid will play two more times after that in the Champions League semi-finals.