Barcelona's La Liga title chances were dashed as Angel Lafita's double gave Getafe a shock 2-2 draw at Camp Nou on Saturday.
Lafita – who initially cancelled out Lionel Messi's first-half strike – headed in a dramatic leveller in the 92nd minute to give Cosmin Contra's side a well-earned point.
Barcelona are now three points behind leaders Atletico Madrid, who have a game in hand on them, with just two fixtures to play.
At the other end of the table, the draw could prove crucial in Getafe's fight against relegation, with the draw moving them up to 16th and three points clear of safety.
The hosts controlled possession, as expected, but were never at their fluent best and eventually paid the price in dramatic circumstances.
They did look set for victory, however, when Alexis Sanchez scored his 18th league goal of the season with 23 minutes remaining.
But Lafita took advantage of some terrible marking to nod in a late equaliser and stun the home crowd.
Barcelona paid tribute to former coach Tito Vilanova, with a minute's silence held before the first match at the Camp Nou since the 45-year-old's passing.
The hosts also wore commemorative shirts that had words translating to 'Tito – Forever Eternal' emblazoned on them.
Both sides were slow to get going until Messi's 23rd-minute opener, which came after Dani Alves charged down the right.
His cut-back was met at full pace by the Argentina star, who side-footed a clever finish into the top-left corner from 12 yards.
Barca's lead lasted just 14 minutes, though, as Lafita's outstanding finish restored parity.
An unorthodox lobbed free-kick unsettled the Barcelona defence and Lafita brought the ball down, held off the attention of Pedro and then lashed a shot across goalkeeper Jose Pinto and into the left corner.
The goal was initially ruled out by the linesman, who appeared to suggest that Lafita had handled the ball, but referee Jose Teixeira intervened and the decision was overruled, as the visitors went to the break on level terms after Alexis wasted a late chance.
Alexis was denied by the crossbar early in the second half, despite failing to meet Alves' swinging cross from the right with his head, almost scoring with his shoulder after significant pressure from defender Rafa.
The chances kept coming for Barca, as Pedro was denied by Getafe goalkeeper Julio Cesar after an excellent dribbling run from Messi, and their persistence was eventually rewarded in the 67th minute.
The goal followed a neat team move, with substitute Cesc Fabregas' ball finding Pedro, and although his shot was blocked, Alexis was on hand to fire the rebound in with his left foot.
Fabregas and Alves had further opportunities to extend Barca's lead, before Messi lobbed onto the roof of the net, while at the other end, Pablo Sarabia was guilty of missing a great chance with 10 minutes left.
With Barca left vulnerable after a quick Getafe counter-attack, Sarabia could only fire a volley straight at Pinto.
But it mattered little, as Lafita's late effort boosted their survival hopes and shattered Barcelona dreams.
|Coach: G. Martino|
for J. Mascherano 66'
for Xavi 87'
for Pedro 90+1'
|Benteke a ´bargain´ buy - Rodgers|
|Zola: Qatar would be ideal for Balotelli, Cassano|
|Suarez: I´m not among world´s best|
|PSG ready despite ´chaotic´ pre-season - Blanc|
|Arsenal thumping still hurts - Fournier|
|Aubameyang targets Champions League success|
|Rooney set for Everton return|
|Cech can match Van der Sar - Wenger|
|Mourinho ponders Wenger´s losing record against him|
|CBF confirm Fred failed a doping test|
|Bournemouth beaten by battling Cardiff|
|Immobile injury overshadows Sevilla win at Vicarage Road|
|Lambert at the double on West Brom bow|
|Real sign up Spain starlet Vallejo|
|Valencia blow for West Ham|
|Elche cleared to play in Segunda Division|
|Baker pens a new Villa deal|
|Lambert makes Albion switch|
|Gillingham and Scally found guilty of ´race victimisation´|
|Inter complete Jovetic signing|
|Arsenal v Chelsea: Mourinho cools Wenger rivalry ahead of Wembley meeting|
|Villa snap up Gestede|
|Villa land Veretout|
|Mourinho coy on fresh Stones bid|
|Aubameyang commits to Dortmund|
|Torres on the hunt for trophies with Atletico|
|Cazorla and Walcott sign new Arsenal deals|
|Quick start vital in Arsenal title bid - Wilshere|
|I have received no offers - Guardiola|
|Barcelona to monitor Turan injury|
|Zorc ´surprised´ by Grosskreutz-Tuchel row|
|Phil Neville could be England manager - Moyes|
|UEFA to investigate Shakhtar´s Fred selection|
|City loan Unal to Genk|
|China v South Korea: Stielike looking for new options|
|North Korea v Japan: Halilhodzic to unearth new faces|
|Drogba: I want to be ready, not a burden|
|Hamstrung Clasie in doubt for Southampton league opener|
|West Ham goalscorer Zarate bemoans Astra comeback|
|Negredo quashes Valencia exit rumours|
|´This is not my Sampdoria´ - president Ferrero|
|Criscito could join Inter - agent|
|CBF endorse Zico´s FIFA presidency campaign|
|Hawit to handle CONCACAF´s referee review|
|Falcao is a ´top, top player´ - Terry|
|Tuchel pleased by Dortmund fighting qualities|
|Premier League rules out schedule changes for Champions League clubs|
|UEFA Europa League Review: Southampton stroll as Sampdoria are humiliated|
|Koeman confident of Southampton progress|
|Bilic frustrated with Collins´ red card, Valencia injury|
|Bamford hits hat-trick in Bromley friendly|
|Southampton 3 Vitesse 0: Play-offs in sight for Koeman’s men|
|Wolfsberger 0 Borussia Dortmund 1: Tuchel begins tenure with narrow win|
|West Ham 2 Astra 2: Collins red allows visitors back in|
|Kukesi - Legia match abandoned|
|Joining Roma an ´easy decision´ - Szczesny|
|Chiriches joins Napoli from Spurs|
|Mihajlovic pleased with Milan improvements|
|Injured Chiellini to miss Supercoppa|
|Newcastle complete Mbemba swoop|
|Blackpool protest incurs FA fine|
|Scottish Premiership Preview: Dons seek to run Celtic closer|
|Paris Saint-Germain v Lyon: Ibrahimovic ready for season opener|
|Wolfsburg v Bayern Munich: De Bruyne centre of attention|
|Real Madrid 0 Milan 0 (10-9 on pens): Real lift second International Champions Cup|
|De Bruyne a doubt for Supercup clash|
|Reine-Adelaide needs time to blossom, says Walcott|
|Rodgers will not rush Ibe development|
|Napoli not interested in selling Higuain - De Laurentiis|
|Wilson agrees Bournemouth extension|
|Messi makes early Barcelona return|
|Ibrahimovic: My next move will be a very big surprise|
|Van Aanholt backs Lens to shine|
|Besiktas complete loan move for Gomez|
|McClaren: No decision on Coloccini future|
|Kane, Kaka hail goalkeeper Rimando|
|Chung eager to become FIFA president|
|Yedlin open to loan move|
|Tigres not scared of River trip - Ferretti|
|MLS Preview: Wright-Phillips, Lampard set to debut|
|´A draw is good for us´ - River´s Gallardo confident of Libertadores success|
|Di Maria poised for PSG switch - Blanc|
|Franjic: Bring on Bangladesh, Tajikistan|
|Van Gaal bemoans De Gea situation|
|MLS All-Stars 2 Tottenham 1: Kane stunner can´t spare Spurs|
|Manchester United 0 Paris Saint-Germain 2: Van Gaal´s defensive frailties exposed|
|Tigres UANL 0 River Plate 0: Visitors lose Gallardo in Copa Libertadores final first leg|
|Penedo parts ways with Galaxy|
|Benitez backs Mihajlovic, Milan to succeed|
|Barnetta joins Union in MLS|
|Allegri critical of Morata´s attitude|
|Franjic targets more A-League glory with City|
|Beto undaunted by Super Cup clash against Barca|
|Advocaat upbeat despite another Sunderland flop|
|McClaren praises Newcastle recruit Mitrovic|
|Payet will improve West Ham - Bilic|
|Pulis confirms interest in Lambert|
|Deila expects tough test in Baku|
|Drogba mobbed by Montreal Impact fans|