Gianluigi Buffon was sent off and Cristiano Ronaldo fired a winning penalty in stoppage time as Real Madrid survived an incredible fightback from Juventus to reach the semi-finals.
It was the perfect start for the Italians as they hunted down a three-goal deficit, with Mario Mandzukic heading home in just the second minute to stun the Bernabeu.
The home crowd were silenced eight minutes before half-time when the Croatian doubled the visitors’ lead on the night, rising highest to meet a Stephan Lichsteiner cross at the back post.
And Juventus completed an astonishing comeback on the hour mark when Blaise Matuidi profited from a shocking error by Real Madrid No 1 Keylor Navas to bundle home from close range.
MATCH FACTS, PLAYER RATINGS AND MATCH ZONE:
Real Madrid: Navas, Carvajal, Varane, Vallejo, Marcelo, Casemiro (Lucas 45), Modric (Kovacic 75), Kroos, Isco, Ronaldo, Bale (Asensio 45)
Subs not used: Casilla, Benzema, Hernandez, Llorente
Booked: Carvajal, Marcelo
Goalscorers: Ronaldo 90+8
Juventus: Buffon, De Sciglio (Lichtsteiner 17), Benatia, Chiellini, Alex Sandro, Khedira, Pjanic, Matuidi, Douglas Costa, Higuain (Szczesny 90), Mandzukic
Subs not used: Cuadrado, Marchisio, Asamoah, Rugani, Sturaro
Goalscorers: Mandzukic 2, 37, Matuidi 60
Booked: Lichtsteiner, Pjanic, Mandzukic, Sandro, Costa
Sent off: Buffon
Referee: Michael Oliver