Real Madrid were left shell-shocked by a clever last-gasp Pablo Fornals goal as Villarreal earned a smash-and-grab 1-0 win at the Santiago Bernabeu.
LaLiga's champions largely dominated proceedings on home soil, but Villarreal snatched all three points and a first league victory at Madrid with three minutes left thanks to Fornals' exquisite chip after Enes Unal's shot was saved.
It compounded a day of utter frustration for an out-of-form Madrid, who felt they twice should have had a penalty in the first half.
Villarreal defender Alvaro Gonzalez was lucky to not face punishment for handball from a Gareth Bale header, while Cristiano Ronaldo was adamant he was fouled by Mario Gaspar on the stroke of half-time.
Referee Alberto Undiano Mallenco was unmoved on both occasions, while Madrid were further frustrated by a poor one-on-one miss by Ronaldo and some good work by Villarreal goalkeeper Sergio Asenjo.
Madrid have now won just once in five LaLiga matches and will be 19 points adrift of Barcelona if their Clasico rivals beat Real Sociedad on Sunday, while Villarreal are just one point adrift of Los Blancos in their bid to muscle in on the top four.
Isco saw an early effort blocked by Gaspar, with the Spain playmaker's tentative penalty claims for handball rightly going unheard.
Bale saw a goal ruled out after nodding in from Ronaldo's header back across goal, before Asenjo made a fine stop from Marcelo's rasping 35-yard drive.
He made an even better stop to palm Ronaldo's 25-yard dipping free-kick over the top via the crossbar, before the Portugal captain wastefully dinked over Asenjo and wide of the left post after latching onto Luka Modric's throughball.
Ronaldo went close again shortly after when he hit a stinging drive into the side-netting.
Madrid were unfortunate not to be awarded a penalty 10 minutes before half-time when Bale's header from Toni Kroos' left-wing cross was seemingly handled by Alvaro Gonzalez. And Madrid had more cause for consternation on the stroke of half-time.
Isco's teasing low cross was met by Ronaldo inside the six-yard box and saved brilliantly by Asenjo, but the forward was seemingly clipped by Gaspar when meeting the ball.
Villarreal brought Denis Cheryshev on as a half-time substitute and the former Madrid winger picked Casemiro's pocket before dragging wide from the edge of the box.
A lively start to the half saw Raphael Varane make a crucial intervention from Samu Castillejo's probing pass, while Asenjo was equal to a well-controlled Kroos volley.
Modric saw a 20-yard daisycutter well held by Asenjo, while the Croatia midfielder hit a fierce drive over the top from outside the area with 10 minutes remaining.
And Madrid were made to rue their lack of clinical edge in the 87th minute.
Villarreal launched a lightning counter-attack led by Cheryshev, who slipped in Unal and, although his shot was saved by Keylor Navas, Fornals was on hand to brilliantly clip his shot over the stranded Madrid goalkeeper to spark jubilant scenes on the away bench.
Key Opta stats:
- Real Madrid attempted 28 shots against Villarreal, the most for a team in a LaLiga game this season.
- Villarreal have won for the first time in their 18 league visits to Santiago Bernabeu (D5 L12)
- Isco has been substituted more times than any other Real Madrid player in LaLiga this season (10)
- Real Madrid have not won in five home games in LaLiga this term (D2 L3), the same as in the whole of last season (D4 L1) and more than in any other LaLiga season since 2006-07 (D4 L3).
|Goals at three World Cups and 50 for the Socceroos – Cahill´s international career in numbers|
|Giroud: It´s coming home|
|Harper wins Home Run Derby in Nationals Park|
|Brighton sign Button from Fulham|
|Bolt set to trial with A-League club Central Coast Mariners|
|Thomas asks Seahawks for extension or trade|
|Walker doubts he´ll join Knicks, wants ´long´ stay at Hornets|
|Socceroos hero Cahill retires from internationals|
|Record income revenue for Barcelona|
|Kudla untroubled as Young bows out in Newport|
|Celtics still hoping to re-sign Smart|
|Villarreal sign highly rated Velez midfielder Caseres|
|Juventus signing Ronaldo should give Milan optimism – Kaka|
|Berrettini masters Mayer in Bastad|
|Manchester United and Ajax agree Daley Blind transfer|
|Familiarity with demands of Real Madrid an advantage – Lopetegui|
|Parmentier rallies to avoid Bucharest exit, Arruabarrena bows out in Gstaad|
|Steelers fail to sign Bell to long-term deal|
|Over 10 per cent of Croatia´s population welcomes World Cup heroes home|
|Thierry Henry quits pundit role to focus on coaching|
|France´s World Cup winners given heroes´ welcome in Paris|
|At the end we will see who is best - Ronaldo sidesteps Messi rivalry|
|Qatar? China? Ronaldo only has eyes for glory at Juventus|
|Proud Kane praises team-mates after Golden Boot win|
|The Open 2018 diary: Is that Tiger Woods? Harrington feels the Burn...|
|Porte targeting Vuelta after Tour de France anguish|
|Maradona madness, #WaistcoatWednesday, bruised Batshuayi - Alternative World Cup awards|
|It could be the best time - Martinez hints at Hazard Chelsea exit|
|England call up Billings as cover for injury doubt Roy|
|McIlroy on track for fitting major haul - Harrington|
|Froome plays down Thomas battle for Sky supremacy|
|Carnoustie record counts for little at The Open, says Fleetwood|
|I don´t see it - Napoli chief De Laurentiis plays down talk of Callejon-Suso swap|
|One or two changes required at Chelsea, says Sarri|
|Monaco confirm Golovin approach|
|Let´s keep making noise! - Serena dedicates Wimbledon run to fellow mothers|
|Full list of Open tee times|
|Fakhar inspires another big Pakistan ODI win|
|Spieth ´annoyed´ by re-watch of 13th hole|
|Kaka claims Ronaldo arrival will boost all Italian clubs|
|Spieth vows to be more artist than tactician in Open defence|
|Conte thanks Chelsea players, staff and fans|
|Rodgers: I´d love to play with the Packers to 40|
|Sevilla insist N´Zonzi will cost €40m|
|Hugill shows mystic powers with accurate World Cup predictions|
|World Cup 2018: FARE ready for post-tournament challenges in Russia|
|Woods grouped with Matsuyama and Knox at Open|
|Matthaus questions idea of French dynasty|
|Chandimal, Sri Lanka coach and manager banned for two Tests and four ODIs|
|Sassuolo demand at least €30m for Berardi|
|French media revels in ´crazy´ triumph|
|Mafi released on bail after alleged assault|
|Bierhoff must go! Berthold calls for Germany changes|
|Joshua to fight Povetkin in September|
|World Cup 2018: Goal-laden final adds to staggering World Cup stats|
|Runners and Ryders: Molinari impresses again as stars prepare for The Open|
|Macron to greet France team after Champs Elysees parade|
|Casillas and Suarez critical of VAR after World Cup final|
|TMO protocol clearly not working, says SANZAAR|
|Americans seek joy of six at Carnoustie, Rose out to end wretched run - The Open in Opta facts|
|Ronaldo arrives in Turin for Juventus medical|
|Stone: I had no idea what my score was!|
|The Open: A look back at Van de Velde´s Carnoustie calamity|
|Rakitic proud of ´brother´ Modric´s Golden Ball award|
|Serena can surpass Court, but Graf was the real target - Krajicek|
|Ronaldo moved to remain motivated - Kaka|
|Silva confident on Everton transfer targets|
|Golden Boot winner Kane aims to break August hoodoo|
|NFL training camp 2018: Contract holdouts and where they stand|
|Guardiola took me to another level - Alaba|