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).
|Balbirnie happy to boost Ireland chances|
|The better Ronaldo is, the better Madrid will be – Vazquez lauds four-goal hero|
|Ireland inspired by retired team-mates – Sexton|
|Indian Wells crown surreal for Osaka|
|F1 2018: Everything you need to know|
|Salah ´unstoppable´ like Messi, says Watford boss Gracia|
|Demanding Mourinho is still special, insists Matic|
|Truex Jr sweeps stages and wins first race of 2018|
|Woods pleased with progress at Bay Hill|
|McIlroy cruises to victory at Bay Hill, where Tiger impresses|
|Dallas 3 Seattle Sounders 0: Dempsey sees red after VAR|
|Ronaldo ´from another galaxy´, says Zidane|
|Del Potro saves match points to stun Federer for Indian Wells title|
|Eusebio Sack-ristan: Real Sociedad part company with head coach|
|Fassone ready for Gattuso talks after Milan resurgence|
|Napoli 1 Genoa 0: Albiol goal maintains pressure on Juve|
|Real Madrid 6 Girona 3: Four-goal Ronaldo continues hot streak with 50th career hat-trick|
|USA boss Sarachan calls up Weah for Paraguay friendly|
|Excellent Leipzig deserved Bayern win - Heynckes|
|Marquez will sleep easily after last-ditch Qatar move|
|Conte impressed by Morata´s return to scoring form|
|I lost the game myself - Simeone accepts responsibility for Atletico Madrid defeat|
|Borussia Dortmund to delay final Stoger decision - Zorc|
|Toulouse topple leaders Montpellier|
|Puel stands by Schmeichel after FA Cup blunder|
|Neymar could be back for Coupe de France final, says Silva|
|Valverde waits on Iniesta answer as Barcelona captain considers exit|
|Magnificent Osaka claims maiden title at Indian Wells|
|Villarreal 2 Atletico Madrid 1: Unal deals LaLiga title race blow for Simeone´s men|
|Leicester City 1 Chelsea 2 (aet): Pedro and Morata send Conte´s men through|
|RB Leipzig 2 Bayern Munich 1: Werner strike seals memorable triumph|
|Gattuso demands lift from out-of-favour Kalinic|
|Karthik hits final-ball six to win Nidahas Trophy|
|Messi puts us where we are right now - Alcacer hails Barcelona superstar|
|Dovizioso holds off Marquez in Qatar to draw first blood|
|Sampaoli ´right´ to pick others - Icardi understands Argentina snub|
|Barcelona 2 Athletic Bilbao 0: Messi and Alcacer secure comfortable success|
|Hughes excited by Southampton quality|
|Nice prepared for ´likely´ Balotelli departure|
|Wales captain Jones set to miss summer Tests|
|Germany defender Halstenberg extends RB Leipzig contract|
|No offers for Roma´s Alisson, says Monchi|
|Constant compliments guarantee defeat, claims Inter boss Spalletti|
|Scoring 100th Serie A goal at Sampdoria was ´destiny´, says Icardi|
|Stoger happy with Gotze response after public criticism|
|AC Milan 3 Chievo 2: Silva spares Rossoneri once more|
|Silva confident Neymar´s future is at PSG|
|´Shameful´ PSG cannot buy a team, says Balotelli|
|All Black Squire suffers broken thumb|
|Everton goal hero Tosun glad Palace move fell through|
|Wigan Athletic 0 Southampton 2: Hojbjerg and Cedric give Hughes first win|
|Pistons got absolutely screwed - Van Gundy slams officiating in loss to Trail Blazers|
|Selection shake-up not down to Ashes drubbing - Strauss|
|Fiorentina rename training ground after late captain Astori|
|Usain Bolt issued Commonwealth Games warning to Yohan Blake|
|Borussia Dortmund 1 Hannover 0: Batshuayi the difference again for Stoger´s men|
|Nice 1 Paris Saint-Germain 2: Alves earns late victory for runaway leaders|
|Icardi 100: Inter captain´s Serie A landmark in Opta numbers|
|Sampdoria 0 Inter 5: Four-goal Icardi demolishes former side|
|Gray´s tackling ton and Italy´s woeful run - the Six Nations in Opta facts|
|Van Gaal: Heynckes can become a Bayern Munich god|
|Real Madrid without Ramos for Girona test|
|South Africa include Morris & Olivier for remainder of Australia series|
|Icardi reaches 100 Serie A goals against former club Sampdoria|
|Ireland Grand Slam heroes denied homecoming by weather|
|Cardiff trip to Derby postponed due to snow|
|Ogbonna gets Italy call as cover for doubtful Chiellini|
|Sunderland suspend Gibson after drink-driving charge|
|Manly claim record Eels thrashing, Knights win late again|
|Winning FA Cup is not important, claims Chelsea coach Conte|