Match ends, Espanyol 2, Real Madrid 1.
Leaders Real Madrid lost their first game in La Liga this season as they were beaten at Espanyol.
Raul de Tomas gave the hosts a 17th-minute lead when he met Adrian Embarba's low cross into the box.
Aleix Vidal added an excellent second, beating Nacho before firing past Thibaut Courtois on the hour mark.
Karim Benzema responded for Real with a fine finish into the bottom corner with 19 minutes left, but Carlo Ancelotti's side could not find a late equaliser.
It is a second loss in a week for Real, who suffered a shock Champions League defeat by competition debutants Sheriff Tiraspol on Tuesday.
Ancelotti's side are now winless in three games after being held to a goalless draw against Villarreal in their previous league outing.
Champions Atletico Madrid beat Barcelona 2-0 on Saturday to join Real at the top of La Liga on 17 points.
Benzema had three shots on target but all were comfortable for Espanyol goalkeeper Diego Lopez as Real trailed at half time, while Eder Militao glanced a header wide from a corner as Real initially dominated following the interval.
Benzema duly got his ninth goal in eight league games this season but Vidal's strike proved decisive for an inspired Espanyol side.
- 12GilBooked at 79minsSubstituted forViláat 81'minutes
- 22VidalSubstituted forMelamedat 65'minutes
- 14MelendoSubstituted forMorlanes Ariñoat 58'minutes
- 10DarderSubstituted forLópezat 82'minutes
- 23EmbarbaBooked at 11minsSubstituted forWuat 65'minutes
- 11de Tomás
- 6Morlanes Ariño
- 32Gracia Sánchez
- 8KroosSubstituted forCasemiroat 62'minutes
- 10ModricSubstituted forJovicat 62'minutes
- 25CamavingaBooked at 29minsSubstituted forRodrygoat 45'minutes
- 20Vinícius JúniorSubstituted forE Hazardat 72'minutes
- 7E Hazard
- 26López Andúgar
- Guillermo Cuadra Fernández
- Shots on Target
Second Half ends, Espanyol 2, Real Madrid 1.
Attempt missed. Eder Militão (Real Madrid) header from the right side of the box is high and wide to the right. Assisted by Karim Benzema with a cross following a corner.
Corner, Real Madrid. Conceded by Dídac Vilá.
Foul by Lucas Vázquez (Real Madrid).
Nicolás Melamed (Espanyol) wins a free kick on the left wing.
Hand ball by Lucas Vázquez (Real Madrid).
Attempt blocked. David Alaba (Real Madrid) left footed shot from outside the box is blocked.
Rodrygo (Real Madrid) wins a free kick in the attacking half.
Foul by David López (Espanyol).
Attempt missed. Karim Benzema (Real Madrid) header from very close range misses to the left. Assisted by Lucas Vázquez with a cross following a set piece situation.
Eden Hazard (Real Madrid) wins a free kick on the left wing.
Foul by Dídac Vilá (Espanyol).
Offside, Real Madrid. Rodrygo tries a through ball, but Karim Benzema is caught offside.
Substitution, Espanyol. David López replaces Sergi Darder.
Substitution, Espanyol. Dídac Vilá replaces Óscar Gil because of an injury.
Attempt missed. Karim Benzema (Real Madrid) header from the centre of the box is close, but misses to the right. Assisted by Lucas Vázquez with a cross following a corner.
Óscar Gil (Espanyol) is shown the yellow card.
Corner, Real Madrid. Conceded by Adrià Pedrosa.
Luka Jovic (Real Madrid) wins a free kick in the defensive half.
- What's the worst that could happen? Possibly everything! The Goes Wrong Show is streaming now
- The Office at 20: Ricky Gervais reveals behind-the-scenes facts and secrets of the comedy classic