Match ends, Cádiz 2, Barcelona 1.
Cadiz beat Barcelona for the first time in La Liga since 1991 as former Manchester City striker Alvaro Negredo scored a famous winner.
It was a first home win in the top flight against any opposition for promoted Cadiz since 2006 and takes them four points above Barcelona.
Alvaro Gimenez put Cadiz in front before an own goal from Pedro Alcala brought Barca, who are seventh, level.
Negredo took advantage of shambolic defending to score the winner.
The 35-year-old, who had only been on the pitch for 44 seconds, closed down Marc-Andre ter Stegen before rounding the sliding Frenkie de Jong to tap into an empty net.
Setback for Koeman and Barca
Barcelona boss Ronald Koeman - who played in 1991 when Cadiz last beat Barca - appeared to have turned a corner after a poor start.
They had won six of their past seven games in all competitions but now sit 12 points behind leaders Atletico Madrid after 10 games. They are already six points off the Champions League places.
Barca have conceded several sloppy goals already this season and trailed when Ter Stegen stopped Oscar Mingueza from scoring an own goal but Gimenez finished from on the line.
They benefitted from an own goal by Alcala to level before Clement Lenglet failed to control Jordi Alba's throw-in to give former Real Madrid striker Negredo the chance to score the winner.
Messi had 10 of Barca's 21 shots, with five saved by Jeremias Ledesma, but in truth Cadiz deserved their victory with a counter-attacking masterclass that proved a success despite having only 18% possession.
- 3Jiménez Jarque
- 4López GutiérrezSubstituted forAlcaláat 31'minutes
- 2JonssonSubstituted forFernándezat 80'minutes
- 25IzquierdoSubstituted forAlejoat 81'minutes
- 8Fernández Iglesias
- 10PereaSubstituted forAdekanyeat 80'minutes
- 21GiménezSubstituted forNegredoat 62'minutes
- 23Mesa Travieso
- 1ter Stegen
- 2DestSubstituted forMachado Trincãoat 77'minutes
- 28MinguezaSubstituted forGonzálezat 45'minutes
- 15LengletBooked at 61mins
- 18AlbaBooked at 86mins
- 5BusquetsSubstituted forPjanicat 77'minutes
- 21de Jong
- 14CoutinhoSubstituted forDembéléat 45'minutes
- 13Murara Neto
- 17Machado Trincão
- César Soto Grado
- Shots on Target
Second Half ends, Cádiz 2, Barcelona 1.
Corner, Barcelona. Conceded by Fali.
Attempt blocked. Lionel Messi (Barcelona) left footed shot from outside the box is blocked.
Lionel Messi (Barcelona) wins a free kick in the attacking half.
Foul by Augusto Fernández (Cádiz).
Attempt missed. Álvaro Negredo (Cádiz) left footed shot from outside the box is too high.
Attempt blocked. Miralem Pjanic (Barcelona) right footed shot from outside the box is blocked. Assisted by Jordi Alba.
Corner, Barcelona. Conceded by Iza.
Attempt saved. Antoine Griezmann (Barcelona) left footed shot from a difficult angle on the left is saved in the centre of the goal. Assisted by Ousmane Dembélé.
Attempt blocked. Antoine Griezmann (Barcelona) right footed shot from the right side of the box is blocked. Assisted by Trincão.
Jordi Alba (Barcelona) is shown the yellow card for a bad foul.
Attempt missed. Bobby Adekanye (Cádiz) left footed shot from the centre of the box is close, but misses to the right. Assisted by Iván Alejo following a fast break.
Attempt saved. Miralem Pjanic (Barcelona) right footed shot from the centre of the box is saved in the centre of the goal.
Attempt blocked. Lionel Messi (Barcelona) left footed shot from outside the box is blocked. Assisted by Miralem Pjanic.
Attempt blocked. Pedri (Barcelona) left footed shot from the left side of the box is blocked. Assisted by Jordi Alba.
Corner, Barcelona. Conceded by Iza.
Attempt saved. Lionel Messi (Barcelona) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Antoine Griezmann.
Miralem Pjanic (Barcelona) wins a free kick in the defensive half.
Foul by Fali (Cádiz).