Celtic ended a frustrating Champions League campaign in grim fashion as Real Madrid handed out a rough lesson to claim victory and top Group F.
The Scottish champions were 2-0 down after 21 minutes as Luka Modric and Rodrygo converted penalties awarded for handball in a brutal opening.
Josip Juranovic then missed a spot-kick for Celtic, and that seemed a distant memory when Marco Asensio, Vinicius Junior, and Federico Valverde made it a rout for the defending champions, even though Jota netted a late free-kick.
Carlo Ancelotti's side turned on the style in the second half against an increasingly tired and open Celtic, who finish bottom of the section with two points and no wins in their six matches.
Real, though, march on in their quest for a 15th European title having earned the win that guarantees top spot in the group.
With two points from five matches, Celtic knew not even a famous win would extend their stay in Europe, but their fans still travelled in hope, with far more than the official 1,848 allocation seemingly inside the Bernabeu.
The wind was taken out their sails with just four minutes on the clock. In attempting to block Valverde's tame shot, Moritz Jenz got himself in an awful twist and handled the ball. Modric showed his customary coolness to slot home.
The visitors responded well, fashioning decent openings for Kyogo Furuhashi and Reo Hatate, but neither could trouble Thibaut Courtois in the Real goal.
In fact, the trouble was about to deepen for Celtic. Rodrygo's strike struck the arm of Matt O'Riley and, although not quite as clearly as the Jenz incident, the outcome was the same. This time Rodrygo converted the penalty.
Vinicius missed an absolute sitter just a minute later as Real threatened to run away with it in the opening half-hour.
Celtic had to get up the pitch and did so to great effect as Hatate robbed the ball to allow Daizan Maeda to put Kyogo through. However Courtois stood tall and was also equal to Hatate's piledriver from the edge of the box moments later.
Then a huge chance for Celtic. Liel Abada's surge to the bye-line was checked by a foul by Ferland Mendy. It was a third penalty in a crazy first half, but Courtois foiled the Scottish champions again, diving to his right to push away Juranovic's spot-kick.
Six minutes after the break, Real put the game beyond whatever little doubt still existed with their third goal. Dani Carvajal ghosted to the bye-line and his sliding cross teed-up Asensio to fire past Joe Hart.
Vinicius added another after stealing ahead of Carl Starfelt to flash in a teasing Valverde cross before Real summoned Ballon D'or winner Karim Benzema from the bench on his return from injury.
The Madridistas were enjoying themselves and Valverde added to that - and piled further pain on the visitors - when he curled a gorgeous effort beyond Hart and into the net.
The Celtic fans could be forgiven for begging for the final whistle, but Jota gave them something to cheer when he curled a wonderful free-kick past Courtois.
It was a lovely moment for the Portuguese winger and gave the visiting supporters something to cheer, but it was no more than a consolation on a night when the gulf between the champions of Scotland and the champions of Europe was laid bare.
Player of the match - Federico Valverde
Valdverde's brilliant strike was the pick of Real's five goals and he was involved in much of their best workIfs, buts and maybes for wasteful Celtic - analysis
The question heading into this Champions League campaign was whether Celtic's relentless attacking style would hold up against Europe's finest. Two points from a possible 18, four goals scored, and 15 conceded in six group games would suggest not.
It is not a lot to show from a group many fans thought they may have had a decent chance of emerging from.
But Celtic have have been competitive for spells of every match and, had they taken a few more of the many chances they created, some of those games may well have had a more positive outcome.
Ifs, buts and maybes. Celtic's three opponents would point out they also had numerous chances over and above the ones they took, as was the case again in Madrid.
Ange Postecoglou will be heartened that many of his players have not looked out of place in the club's first group-stage appearance in five years, but this team is still short of the quality they need turn opportunities spurned into points.
Match stats
Real have won all three of home group stage matches in a Champions League season for the first time since 2015-16, a season in which they went on to win the competition.Celtic have lost their last six Champions League matches against Spanish opponents, conceding 24 goals while scoring just two in return. Real have finished top of their Champions League group for three consecutive seasons (2020-21 to 2022-23) for the first time since between 2013-14 and 2015-16.Celtic conceded two penalty goals after 20 minutes and 47 seconds against Real Madrid, the earliest a side has ever let in two penalties in a Champions League match.Real coach Carlo Ancelotti enjoyed his 102nd Champions League win, going level with Sir Alex Ferguson for most wins in the history of the competition by a manager.At the age of 37 years and 54 days, Modric became the oldest Champions League scorer since Francesco Totti in November 2014 for Roma against CSKA Moscow (38y 59d).Modric is the third oldest scorer for Real in the European Cup/Champions League (37 years, 54 days), behind only Ferenc Puskas in 1965 (38y 173d) and Alfredo Di Stefano in 1964 (37y 308d).What's next?
With their European campaign over for this season, Celtic host Dundee United on Saturday (15:00 GMT).
Line-ups
Real Madrid
Formation 4-3-3
1Courtois
2Carvajal3Militão4Alaba23Mendy
15Valverde8Kroos10Modric
11Asensio21Rodrygo20Vinícius Júnior
1Courtois2CarvajalSubstituted forVázquezat 64'minutes3MilitãoSubstituted forVallejoat 73'minutes4AlabaSubstituted forNachoat 66'minutes23Mendy15Valverde8Kroos10ModricSubstituted forCeballosat 66'minutes11Asensio21Rodrygo20Vinícius JúniorSubstituted forBenzemaat 64'minutesSubstitutes
5Vallejo6Nacho9Benzema12Camavinga13Lunin16Odriozola17Vázquez19Ceballos22Rüdiger24Mariano26López AndúgarCeltic
Formation 4-5-1
1Hart
88Juranovic4Starfelt6Jenz3Taylor
11Abada13Mooy33O'Riley41Hatate38Maeda
8Furuhashi
1Hart88Juranovic4Starfelt6Jenz3Taylor11AbadaSubstituted forNeves Filipeat 63'minutes13MooySubstituted forTurnbullat 63'minutes33O'RileyBooked at 20mins41HatateSubstituted forAbildgaardat 82'minutes38MaedaSubstituted forHaksabanovicat 63'minutes8FuruhashiBooked at 47minsSubstituted forGiakoumakisat 62'minutesSubstitutes
7Giakoumakis9Haksabanovic14Turnbull16McCarthy17Neves Filipe25Bernabei28Abildgaard29Bain31Siegrist49Forrest56Ralston57WelshReferee:Stéphanie FrappartAttendance:52,511Live Text
Match ends, Real Madrid 5, Celtic 1.
Second Half ends, Real Madrid 5, Celtic 1.
Attempt missed. Marco Asensio (Real Madrid) left footed shot from the left side of the box is too high. Assisted by Toni Kroos following a corner.
Attempt blocked. Karim Benzema (Real Madrid) left footed shot from a difficult angle on the left is blocked. Assisted by Dani Ceballos.
Corner, Real Madrid. Conceded by Carl Starfelt.
Attempt saved. Jota (Celtic) right footed shot from outside the box is saved in the bottom left corner. Assisted by Greg Taylor.
Attempt blocked. Matt O'Riley (Celtic) left footed shot from outside the box is blocked.
Goal! Real Madrid 5, Celtic 1. Jota (Celtic) from a free kick with a right footed shot to the top left corner.
Foul by Lucas Vázquez (Real Madrid).
Jota (Celtic) wins a free kick in the attacking half.
Substitution, Celtic. Oliver Abildgaard replaces Reo Hatate.
Foul by Dani Ceballos (Real Madrid).
Sead Haksabanovic (Celtic) wins a free kick in the defensive half.
Attempt saved. Jota (Celtic) right footed shot from outside the box is saved in the bottom left corner. Assisted by Reo Hatate.
Corner, Celtic. Conceded by Jesús Vallejo.
Corner, Real Madrid. Conceded by Giorgos Giakoumakis.
Corner, Real Madrid. Conceded by Matt O'Riley.
Corner, Celtic. Conceded by Jesús Vallejo.
Attempt saved. Karim Benzema (Real Madrid) right footed shot from the centre of the box is saved in the centre of the goal.
Attempt blocked. Marco Asensio (Real Madrid) left footed shot from outside the box is blocked. Assisted by Federico Valverde.