Barcelona are currently ninth in La Liga after their first league defeat of the season
Getafe striker Jaime Mata's second-half penalty condemned Barcelona to their first La Liga defeat of the season.
Mata slotted his 56th-minute spot-kick into the bottom corner following Frenkie de Jong's foul on Djene Dakonam.
Lionel Messi struck the post for Barcelona in the first half while Antoine Griezmann fired over at close range.
Juan Hernandez also hit the crossbar for Getafe with five minutes remaining.
- Saturday's European football action as it happened
Defending champions Real Madrid also suffered a shock 1-0 defeat by promoted Cadiz earlier on Saturday.
Barcelona and Real go head-to-head at the Nou Camp in the first El Clasico of the season next Saturday (15:00 BST).
It is the first time since April 2003 that both Barcelona and Real have lost their respective league games prior to El Clasico.
Real sit top of La Liga despite their defeat, level on 10 points with Getafe, Cadiz and Granada.
Ronald Koeman's Barcelona - who face Hungarian side Ferencvaros in their Champions League opener on Tuesday (20:00) - are ninth, with seven points from their four games.
- Line-upsMatch StatsLive Text
- 13Soria22Suárez2Dakonam3CabacoBooked at 28mins17OliveraBooked at 90mins12NyomBooked at 73mins20MaksimovicSubstituted forMollejoat 90+5'minutes18Arambarri15Cucurella7MataBooked at 27minsSubstituted forÜnalat 71'minutes23Hernández SuárezSubstituted forTimorat 89'minutes
- 13Murara Neto20RobertoBooked at 41minsSubstituted forPuigat 87'minutes3PiquéBooked at 24mins15Lenglet2DestBooked at 90mins5Busquets21de JongSubstituted forBraithwaiteat 80'minutes10Messi16GonzálezSubstituted forCoutinhoat 62'minutes11DembéléSubstituted forFatiat 62'minutes7GriezmannSubstituted forMachado Trincãoat 80'minutes
- 4Araújo6Aleñá8Pjanic9Braithwaite12Puig14Coutinho17Machado Trincão22Fati24Firpo26Peña28Mingueza36Tenas
Referee:César Soto GradoMatch StatsHome TeamGetafeAway TeamBarcelonaPossessionHome27%Away73%ShotsHome9Away7Shots on TargetHome4Away1CornersHome7Away2FoulsHome20Away10Live TextPost update
Match ends, Getafe 1, Barcelona 0.
Second Half ends, Getafe 1, Barcelona 0.
Attempt missed. David Timor (Getafe) left footed shot from outside the box is close, but misses to the right from a direct free kick.
Sergiño Dest (Barcelona) is shown the yellow card for a bad foul.
Foul by Sergiño Dest (Barcelona).
Victor Mollejo (Getafe) wins a free kick in the attacking half.
Attempt blocked. Philippe Coutinho (Barcelona) right footed shot from the centre of the box is blocked. Assisted by Trincão.
Substitution, Getafe. Victor Mollejo replaces Nemanja Maksimovic.
Attempt missed. Lionel Messi (Barcelona) left footed shot from the centre of the box is close, but misses to the right. Assisted by Gerard Piqué.
Sergiño Dest (Barcelona) wins a free kick on the right wing.
Foul by Enes Ünal (Getafe).
Mathías Olivera (Getafe) is shown the yellow card.
Corner, Barcelona. Conceded by Djené Dakonam.
Substitution, Getafe. David Timor replaces Cucho Hernández.
Attempt missed. Cucho Hernández (Getafe) right footed shot from the centre of the box is too high. Assisted by Marc Cucurella following a fast break.
Philippe Coutinho (Barcelona) wins a free kick in the attacking half.
Foul by Damián Suárez (Getafe).
Riqui Puig (Barcelona) wins a free kick in the defensive half.
Foul by Damián Suárez (Getafe).
Substitution, Barcelona. Riqui Puig replaces Sergi Roberto.
Page 1 of 6rewindpreviousNavigate to the next pagenextNavigate to the last pageforward
- The Trump Show: Behind the scenes of his presidencyThe Young Offenders: All episodes are streaming now