Barcelona missed the chance to go top of La Liga after slipping to a surprise 1-0 defeat at Getafe.
Jaime Mata scored the only goal from the penalty spot early in the second half and that was enough to lift Getafe up to second, level on points with leaders Real Madrid, who were beaten at home by Cadiz earlier on Saturday.
Lionel Messi hit a post for Barca in the first half, but it was a frustrating evening for the Catalans and Getafe also hit the woodwork in the closing stages.
Barça’s first defeat of the season under head coach, Ronald Koeman, leaves them ninth in the table, three points adrift of Madrid with a game in hand, with the first clásico on the season next Saturday.
Getafe midfielder Nemanja Maksimovic forced Barcelona goalkeeper Neto into a save and Messi struck a post with a low curling effort. But first-half chances were few and far between.
Antoine Griezmann blazed over the crossbar having been set free by teenager Pedri and Clément Lenglet failed to make contact with Messi’s excellent cross.
Barça dominated possession, but were under constant pressure as Getafe hustled and harried them out of their stride.
The pattern continued in the second half as Messi looked to orchestrate by falling deeper, but it was the hosts who broke the deadlock via Mata’s penalty in the 56th minute.
Djené Dakonam was adjudged to have been fouled by Frenkie de Jong and Mata coolly converted into the bottom corner.
Ansu Fati fired off target from outside the area as Barca chased an equaliser, but Getafe threatened again on the break when Marc Cucurella’s shot was well saved by Neto.
The host went even closer soon after as Cucho Hernández burst clear and fired against the crossbar and despite six minutes of added time, Barça could not find a way back.
Real Madrid also suffered their first defeat of the season, going down 1-0 at home to Cadiz. The winning goal came in the first half from Anthony Lozano, whose chip over Thibaut Courtois had enough on it to get over the Real Madrid keeper and into the net.
Madrid piled on the pressure in the second half but Cadiz held on gamely.The home side had a goal disallowed for offside with 10 minutes left when the substitute Luka Jovic got the ball in the net from close range after a knockdown from Karim Benzema.
Elsewhere in La Liga, Luis Suárez and Yannick Carrasco scored early and late in the game to help Atlético Madrid to a 2-0 victory at Celta Vigo. Suárez’s goal – his third in four games since switching from Barcelona – came in the sixth minute with a first-time finish inside the area after a sweeping move down the left.