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).
|Thomas turns down Celtics´ video tribute|
|Moyes unaware of Chelsea interest in Carroll|
|Verdi wants Bologna stay amid Napoli links|
|Ronaldinho retires – A shining light of Brazil´s 2002 World Cup-winning team|
|Ronaldinho retires – a World Cup and Ballon d´Or among Brazil great´s prizes|
|Celtics great White dead at 71|
|World Cup glory and Bernabeu magic - Ronaldinho´s best moments for Barca and Brazil|
|Trust the Process – 76ers only behind Warriors and Cavs in merchandise sales|
|Ligue 1 Review: Balotelli at the double as Payet shines and Malcom toils|
|Pato still dreaming of World Cup selection|
|FA Cup Review: Iheanacho makes VAR history, kit confusion reigns|
|Wallaby saves wallaby: Farr-Jones in Sydney Harbour Bridge rescue mission|
|2016-17 UEFA Study: PSG, Man City drive record-breaking spending|
|Conte packing in homework as Chelsea games stack up|
|2016-17 UEFA Study: The headlines in transfers, wages and revenues|
|2016-17 UEFA Study: Manchester United record highest revenue but largest debt|
|Monaco stay perfect, Murcia overcome Oldenburg|
|Iheanacho scores English football´s first VAR goal|
|Materazzi not surprised by Coutinho transfer fee|
|Ronaldinho retires - Brazil and Barca great plans 2018 farewell|
|Jags RB Leonard Fournette uninjured in three-car accident|
|India revenge would heal Proteas´ scars - Elgar|
|Koziello swaps Nice for Cologne|
|Simeone ready to unleash Costa and Vitolo alongside Griezmann|
|Head coach Cooper to leave Stade Francais|
|Silverwood plays down talk of replacing Bayliss|
|Lambert ´never thought´ he would return to Premier League|
|Wenger ´very aggressive´ towards referee Dean, says FA report|
|Reported Arsenal target Malcom starts for Bordeaux vs Caen|
|Valverde not making big deal of Dembele´s latest Barca blow|
|Costly day for Kohli as Proteas close in on series win|
|Date set for Afghanistan´s maiden Test|
|Returning McIlroy ready to end winless run|
|In-form Short leaves coach Kirsten needing dental treatment|
|Arsenal will have a ´hard time´ signing Malcom|
|Ronaldo and Madrid nominated for Laureus awards|
|Nantes´ Diego Carlos brands Chapron clash ´historic´|
|This is not important - Conte unconcerned if substitutions upset Hazard|
|Conte ´doesn´t think´ Chelsea have pursued Sanchez|
|Cobblestone climb part of 2019 Tour de France Grand Depart|
|Emery hints at Neymar return against Dijon|
|Joshua labels Parker claims ´fake news´|
|´Emotional´ Fleetwood honoured by Seve Ballesteros Award|
|Tears for Kvitova as Bouchard sets up Halep meeting|
|Mkhitaryan key to United-Sanchez deal, claims Raiola|
|WATCH: Sabalenka wins point using racquet throat|
|Federer, Djokovic and Zverev among Australian Open first-round winners|
|Kubica gets reserve role as Williams hire Sirotkin|
|Shambolic Stars out after Sixers thrashing|
|Wales pick uncapped Worcester wing Adams in Six Nations squad|
|Tevez: CSL spell was a holiday|
|Mignolet considering Liverpool future|
|Laidlaw among several returning stars in Scotland Six Nations squad|
|´Fairy tale´ 2017 motivation for Federer|
|Fred waiting for Guardiola call amid Man City speculation|
|Dominant Federer makes light work of Bedene|
|Halep faces nervous wait over ankle injury|
|Inter confident but patient over Rafinha|
|Kohli fined after umpire outburst|
|Djokovic hits back at Australian Open boycott suggestions|
|De Grandhomme lifts Black Caps to win in Taylor´s 200th ODI|
|Giggs had counselling after Old Trafford exit|
|Durant continues dominance over Cavs as Warriors win|
|Halep survives scare and rolled ankle at Melbourne Park|
|Westbrook ejected against Kings after arguing call|
|Djokovic eases past Young on return|
|Sharapova staying grounded after Melbourne win|
|Neville: Mourinho would happily swap Mkhitaryan for Sanchez|
|Raonic suffers surprise loss in Melbourne|
|Sharapova wins on return to Australian Open|