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'
|Millwall take Hooiveld on loan|
|Chile v United States: Klinsmann has high hopes for young stars|
|Carver to lead Newcastle until end of season|
|Shenaishil taking positives from last-four exit|
|Neymar happy with life at Barca and Messi relationship|
|Lucas Silva ready for life at Real|
|Milan ´always with Inzaghi´ - Menez|
|Rodriguez living the dream at Real|
|Stielike expecting Australia in final|
|Mourinho not dwelling on Bradford defeat|
|Schweinsteiger under no pressure to extend Bayern contract|
|Herd heads to Wigan on loan|
|Inter defensive duo suffer hamstring tears|
|UAE coach Ali eyes Asian Cup final|
|Gattuso dreaming of managing Rangers|
|Fiorentina agree return of Gilardino on loan|
|Sakho hits back at critics|
|South Korea 2 Iraq 0: Kim books sixth Asian Cup final place|
|Sturridge could return against Chelsea|
|Zinnbauer backs Drobny as Hamburg first choice|
|Drogba targeting Chelsea stay|
|Postecoglou confident Australia squad can progress|
|UEFA does not have the courage to run against me - Blatter|
|Foster: Anichebe unplayable|
|Australia v UAE: Japan´s absence a boon for Asian Cup hosts|
|Milan v Lazio: Injury-hit visitors aiming for back-to-back wins|
|Trezeguet confirms retirement|
|No ´major problems´ with Nicolas Frey´s head wound|
|Strootman injury not "serious" - Garcia|
|No Paraguay, USA for retiring Riquelme|
|Saint-Etienne did not try to play football - Blanc|
|Primeira Liga Review: Sporting move within one point of Porto|
|La Liga Review: Parejo downs Sevilla, Resino starts with a point|
|Serie A Review: Juve go seven points clear as Roma draw again|
|Ligue 1 Review: Paris Saint-Germain and Lyon make Marseille pay for slip-up|
|Burkina Faso coach puts AFCON exit down to bad luck|
|Saint-Etienne 0 Paris Saint-Germain 1: Ibrahimovic scores in repeat performance|
|Shenaishil optimistic despite Kasim absence|
|Walcott: Goal has been a long time coming|
|DR Congo v Tunisia: Leekens warns against complacency|
|Congo 2 Burkina Faso 1: Thievy helps send 2013 runners-up crashing out|
|Gabon 0 Equatorial Guinea 2: Balboa and Iban put hosts through|
|McCarthy and Distin on road to recovery|
|Gil has hit the ground running - Lambert|
|Eredivisie Review: Ajax and Feyenoord lose ground after dour draw, Eagles secure big win|
|Wenger confirms Gabriel move is imminent|
|Eto´o presented to Sampdoria fans|
|Cape Verde v Zambia: Victory a must for 2012 winners to avoid elimination|
|Brighton and Hove Albion 2 Arsenal 3: Walcott and Ozil among the goals for holders|
|Mancini upbeat despite ´cruel´ late defeat|
|Pogba revelling in rich vein of form|
|Aston Villa 2 Bournemouth 1: Gil helps under-fire Lambert breathe easy|
|Defour dismissed after Standard Liege banner taunt|
|Allardyce relieved with scrappy West Ham win|
|Sturridge ´happy man´ after return to Liverpool training|
|Inter 0 Torino 1: Moretti ends unbeaten run for top-four hopefuls|
|Juventus 2 Chievo 0: Pogba inspires victory as leaders march on|
|Bristol City 0 West Ham 1: Super sub Sakho sinks City|
|Hughes in talks over new Stoke deal|
|Delph signs new contract|
|Chelsea v Liverpool: Mourinho demands League Cup response|
|Football League Preview: Derby eye top two, Cambridge back to reality|
|Nani not giving up on Old Trafford career|
|Perth Glory 3 Melbourne Victory 3: Leaders stage two-goal late comeback|
|Neymar: Barca have no interest in Real results|
|Milan defender Mexes apologises for red card|
|South Korea v Iraq: Strange lead-up for Shenaishil´s men|
|Lazio´s Djordjevic thanks well-wishers ahead of ankle surgery|
|Iran´s Asian Cup appeal dismissed by AFC|
|Cech urges Chelsea to clean up FA Cup exit ´mess´|
|Henderson: Liverpool are up for the cup|
|Edimar wants ´normal´ ban for Real star Ronaldo|
|Pellegrini defends misfiring City strikers|
|Australia ready for UAE - Sainsbury|
|Blanc takes positives from past|
|Inzaghi promises ´something different´ at Milan|
|Mexes sorry for seeing red|
|La Liga Review: Wins for top three|
|Vitoria Guimaraes 2 Gil Vicente 2: Last-gasp penalty salvages point for hosts|
|Simeone marvels at Griezmann impact|
|Djordjevic to have x-ray on ankle problem|
|Eredivisie Review: PSV go seven points clear, Heerenveen cruise|
|Luis Enrique backs himself on Suarez omission|
|Lazio 3 Milan 1: Parolo and Klose seal victory|
|Cameroon 1 Guinea 1: Draw ensures Group D stays finely poised|
|Rodgers reveals Sturridge fitness boost after Bolton stalemate|
|Atletico Madrid 3 Rayo Vallecano 1: Griezmann inspires routine win|
|Gabriel move agreed, Campbell to join Villarreal on loan|
|Gabon v Equatorial Guinea: Neighbours face off for quarter-final berth|
|FA Cup Review: Chelsea stunned by Bradford as Middlesbrough beat Manchester City|
|Ronaldo apologises for red card|
|Pulis eyes room for improvement|
|Liverpool 0 Bolton Wanderers 0: Championship side frustrate Anfield to earn replay|
|Karanka hails players after stunning City|
|Elche 0 Barcelona 6: Neymar and Messi inspire resounding win|
|League Two Review: Wycombe and Burton held, Shrewsbury up to second|
|Pardew lauds Palace performance|
|Pochettino laments late collapse|
|Scottish Premiership Review: Celtic stretch lead, Inverness and Dundee United keep up chase|
|Parkinson revels in huge upset after humbling Chelsea|
|Bayern targeting unbeaten Bundesliga season - Robben|
|Pearson: FA Cup win can breed confidence|
|League One Review: Dons close gap, Peterborough end run|
|Ivory Coast 1 Mali 1: Gradel rescues Renard´s men|
|Fulham seal Richards loan|
|Pellegrini: UAE trip had no impact|
|Koeman blames defeats on defensive lapses|
|Gundogan injury mars Dortmund preparations|
|Championship Review: Ighalo stars as Blackpool capitulate|
|Chelsea defeat a ´disgrace´ - Mourinho|
|Monk rues missed opportunity|
|Manchester City 0 Middlesbrough 2: Boro stun City with FA Cup shock|
|Chelsea 2 Bradford City 4: League One outfit dump out Premier League leaders|
|Tottenham 1 Leicester City 2: Late turnaround stuns Spurs|
|Cordoba 1 Real Madrid 2: Bale steals late win as Ronaldo sees red|
|Birmingham City 1 West Brom 2: Anichebe seals derby triumph|
|Southampton 2 Crystal Palace 3: Pardew´s men reach fifth round|
|Sunderland 0 Fulham 0: Defoe fails to fire on home debut|
|Bowyer hails ´terrific´ Blackburn|
|Rochdale v Stoke City: Shawcross in race to be fit for cup clash|
|Blackburn Rovers 3 Swansea City 1: Late goals snatch victory for Championship side|
|Congo v Burkina Faso: Le Roy vows to attack|
|Roma still in race for Scudetto - Garcia|
|Mancini coy on Toure links|
|Mertens rules out Napoli exit|
|Barzagli back in Juve squad|
|A-League Review: Adelaide and Sydney rack up the goals|
|Real have signed a ´diamond´ in Silva, says Oliveira|
|Queiroz: How can Williams sleep at night?|
|Asian Cup history ´the focus´ for Australia - Kruse|
|Pogba could be the world´s ´most expensive´ player|
|Australia international joins Dundee United|
|Real Madrid is a ´dream come true´ - Silva|
|Van Gaal angered by first-half showing in cup stalemate|