| Roger Federer|
3–6, 7–5, 7–5
| Tomáš Berdych|
Novak Djokovic was the defending champion, but lost to Janko Tipsarević in the quarterfinals.
Roger Federer won his record-tying twentieth Masters 1000 title and third title at Madrid by defeating Tomáš Berdych 3–6, 7–5, 7–5 in the final. With this win, Federer overtook Rafael Nadal for the No. 2 ranking.
2012 Mutua Madrid Open – Men's Singles Wikipedia
The top eight seeds receive a bye into the second round.