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).
|With Neymar back, Brazil are World Cup favourites – Lugano|
|Alba: I don´t understand the criticism of Messi|
|He has sacrificed a lot – Stuani praises Suarez|
|Manning says Brees deserves to break his record for career passing yards|
|Hornets want Walker to play entire career with Charlotte|
|Avalanche sign Grubauer to three-year extension|
|Argentina struggles down to team, not just Messi – Hierro|
|Casey leads Travelers by four after firing 62|
|Scotland run riot in Argentina as Hourcade tenure ends in defeat|
|Germany´s Rudy in doubt for South Korea clash|
|England produce storming fightback to beat New Zealand|
|Shaqiri, Xhaka facing disciplinary action over goal celebration|
|Kvitova takes WTA lead for wins by easing into Birmingham final|
|Jones: England back on road to being world´s best|
|Germany survive in Sochi but questions remain|
|Germany 2 Sweden 1: Late Kroos winner brings Low´s men back from the brink|
|Perisic dreaming of matching Croatia´s France 98 heroes|
|Veron questions Sampaoli for leaving Icardi out|
|Southgate won´t blame injured Alli for playing through pain barrier|
|Travelers Championship: Course invader drives Rory McIlroy and crowd nuts|
|Saul tells Atletico to renew Oblak deal after Griezmann´s new contract|
|Course invader sends McIlroy & crowd nuts at Travelers Championship|
|Saudi Arabia v Egypt: El Hadary eyes history in dead rubber|
|Referee declines Cheika invite after Australia´s series loss to Ireland|
|Griezmann, Mbappe can eclipse Henry, claims Trezeguet|
|Nawalka hopeful of Glik return against Colombia|
|Mexico outsmart South Korea to join Croatia as unheralded World Cup threats|
|´No drama´ for Southgate after England team sheet leak|
|Hend caught by five in Pulheim as Bjerregaard goes low|
|´Little Pea´ Hernandez hits big Mexico milestone in World Cup win|
|Modric and Rakitic the best midfield in Russia - Corluka|
|Cipriani and Farrell ease pressure on Jones as England avoid SA whitewash|
|South Korea 1 Mexico 2: Hernandez nets landmark goal as last 16 beckons|
|Ozil and Khedira axed by Germany|
|Djokovic plans to use two rackets against Cilic after reaching Queen´s final|
|World Cup of penalties? Russia surpasses Brazil after VAR introduction|
|Neymar ´fully recovered´ but Brazil coach Tite has thigh injury|
|Hansen claims France ´clutching at straws´ after another referee controversy|
|Douglas Costa, Danilo out of Brazil´s Serbia clash|
|Hamilton claims 75th pole as Mercedes dominate in France|
|´Mentally strong´ Salah will overcome World Cup disappointment, says Mane|
|Pekerman contemplating unleashing James and Quintero together|
|Schmidt hopes Australia furnace will produce Ireland diamonds|
|I´m missing practice, but it´s OK - Federer ready for Coric|
|Spain v Morocco: Alba makes case for the defence|
|Team-man Lukaku firmly in the race for individual prize|
|Belgium 5 Tunisia 2: Lukaku and Hazard shine as Red Devils run riot|
|Leaked England team gives Panama no advantage, insists Gomez|
|Mane and Senegal holding no fear for Japan|
|Murray to meet Wawrinka at Eastbourne|
|Nigeria goalkeeper Ikeme in remission after year-long cancer battle|
|Lukaku breaks Belgium record against Tunisia|
|Iran v Portugal: Team Melli bullish over qualification chances|
|Mauresmo to be France´s first female Davis Cup captain|
|Maradona angry at Argentina World Cup performances|
|Ireland cap stunning season with series win over Wallabies|
|Uruguay v Russia: Selection posers for already-qualified pair|
|Federer scraps his way to yet another Halle final|
|Lunin rejected ´3,000 offers´ to join Real Madrid|
|On your bike! Iceland physio sent home after cycling accident|
|Not just Real Madrid interested in Fekir, says Aulas|
|France frustrated by officials again as All Blacks complete sweep in style|
|Jose Enrique reveals brain tumour surgery|
|The referee was a disaster, fumes Matic|
|Lakmal to captain Sri Lanka in Chandimal´s absence|
|Alli back in England training|
|McIlroy, Watson plotting moves as Harman leads Travelers Championship|
|Tearful Neymar is a joyful boy, says Jesus|
|Ruiz: Coutinho has the same quality as Neymar|
|Kovacic announces intention to leave Real Madrid|