Deportivo de La Coruna scored twice in the last 14 minutes to claim a dramatic draw as Barcelona's perfect home record in La Liga this season was ended.
Lionel Messi put Barcelona ahead when he curled in a first-half free-kick before Ivan Rakitic fired in the league leaders' second goal on 62 minutes.
But Deportivo hit back when the impressive Lucas Perez ran onto Miguel Cardoso's pass to slot home.
Alex Bergantinos then powered in a superb equaliser in the 86th-minute.
Re-live the action here.
Barcelona next play in La Liga on 30 December as they fly off to Japan to compete in the Fifa Club World Cup.
This was not the send-off they would have hoped for, having also dropped points in a 1-1 draw at Valencia last weekend before drawing 1-1 at Bayer Leverkusen in the Champions League last Wednesday night.
Neymar, La Liga's top scorer with 14 goals, was missing with a groin injury but his absence did not look like it was going to be costly when Messi opened the scoring for the champions.
The Argentina international superbly steered in his 11th goal of an injury-hit season with a 30-yard free-kick, which he dipped over the defensive wall into the top corner.
And Rakitic thumped in his first league goal of the season from 25 yards.
But Luis Enrigue's Barca side then switched off and were punished in an exciting finish, as sixth-placed Deportivo repeated the result they produced at the Nou Camp on the final day of last season.
Perez reduced the arrears with his 11th goal of the season and a mistake from Sergio Busquets enabled Deportivo to break late on, as midfielder Alex sprinted forward to finish superbly with a long-range strike.
The result means Atletico Madrid will go joint top of the table with Barcelona with a home win over Athletico Bilbao on Sunday.
Full Time Match ends, Barcelona 2, Deportivo de La Coruña 2.
90:00 +4:03 Full timeFull Time Second Half ends, Barcelona 2, Deportivo de La Coruña 2.
90:00 +3:39Offside, Deportivo de La Coruña. Faycal Fajr tries a through ball, but Lucas Pérez is caught offside.
90:00 +1:52Delay over. They are ready to continue.
90:00 +1:20Delay in match Andrés Iniesta (Barcelona) because of an injury.
90:00 +0:24Attempt missed. Cardoso (Deportivo de La Coruña) right footed shot from the right side of the box is close, but misses to the right. Assisted by Lucas Pérez following a fast break.
85:05 Goal scoredGoal! Goal! Barcelona 2, Deportivo de La Coruña 2. Álex Bergantiños (Deportivo de La Coruña) right footed shot from the right side of the box to the bottom left corner. Assisted by Lucas Pérez following a fast break.
84:44Luis Suárez (Barcelona) wins a free kick in the attacking half.
84:44Foul by Alejandro Arribas (Deportivo de La Coruña).
84:29Andrés Iniesta (Barcelona) wins a free kick in the defensive half.
84:29Foul by Juan Domínguez (Deportivo de La Coruña).
83:34Attempt missed. Faycal Fajr (Deportivo de La Coruña) right footed shot from outside the box is close, but misses the top right corner. Assisted by Lucas Pérez.
83:14Delay over. They are ready to continue.
82:15Delay in match Andrés Iniesta (Barcelona) because of an injury.
81:59Andrés Iniesta (Barcelona) wins a free kick in the defensive half.
81:59Foul by Cardoso (Deportivo de La Coruña).
81:15Offside, Deportivo de La Coruña. Álex Bergantiños tries a through ball, but Cardoso is caught offside.
80:11Attempt missed. Cardoso (Deportivo de La Coruña) right footed shot from the right side of the box is close, but misses to the right. Assisted by Luis Alberto.
79:41Attempt saved. Dani Alves (Barcelona) right footed shot from outside the box is saved in the centre of the goal.
76:26 Goal scoredGoal! Goal! Barcelona 2, Deportivo de La Coruña 1. Lucas Pérez (Deportivo de La Coruña) left footed shot from the centre of the box to the bottom left corner. Assisted by Cardoso.
Substitution Substitution, Barcelona. Jeremy Mathieu replaces Jordi Alba.
75:38Foul by Munir El Haddadi (Barcelona).
75:38Alejandro Arribas (Deportivo de La Coruña) wins a free kick in the defensive half.
74:22Offside, Deportivo de La Coruña. Cardoso tries a through ball, but Lucas Pérez is caught offside.
74:13Attempt blocked. Cardoso (Deportivo de La Coruña) right footed shot from outside the box is blocked. Assisted by Juan Domínguez.
73:07Offside, Barcelona. Andrés Iniesta tries a through ball, but Luis Suárez is caught offside.
71:53 SubstitutionSubstitution Substitution, Barcelona. Sergi Roberto replaces Ivan Rakitic.
71:19 BookingBooking Laure (Deportivo de La Coruña) is shown the yellow card for a bad foul.
71:08Luis Suárez (Barcelona) wins a free kick in the attacking half.
71:08Foul by Laure (Deportivo de La Coruña).
70:07Attempt saved. Luis Suárez (Barcelona) right footed shot from the right side of the box is saved in the centre of the goal. Assisted by Lionel Messi.
69:25Attempt missed. Cardoso (Deportivo de La Coruña) left footed shot from outside the box misses to the right. Assisted by Lucas Pérez.
69:09 SubstitutionSubstitution Substitution, Deportivo de La Coruña. Cardoso replaces Juanfran.
68:03Attempt missed. Luis Alberto (Deportivo de La Coruña) right footed shot from outside the box is high and wide to the right. Assisted by Faycal Fajr.
67:34 SubstitutionSubstitution Substitution, Barcelona. Munir El Haddadi replaces Sandro Ramírez.
66:32Attempt blocked. Lionel Messi (Barcelona) left footed shot from outside the box is blocked. Assisted by Ivan Rakitic.
61:03 Goal scoredGoal! Goal! Barcelona 2, Deportivo de La Coruña 0. Ivan Rakitic (Barcelona) right footed shot from outside the box to the bottom left corner. Assisted by Lionel Messi.
60:26Dani Alves (Barcelona) wins a free kick in the defensive half.
60:26Foul by Fernando Navarro (Deportivo de La Coruña).
59:30Attempt missed. Lionel Messi (Barcelona) left footed shot from the right side of the box is just a bit too high. Assisted by Ivan Rakitic following a corner.
59:04Corner, Barcelona. Conceded by Álex Bergantiños.
57:25 SubstitutionSubstitution Substitution, Deportivo de La Coruña. Luis Alberto replaces Jonathan Rodríguez.
54:32Offside, Barcelona. Jordi Alba tries a through ball, but Luis Suárez is caught offside.
53:02Corner, Barcelona. Conceded by Sidnei.
51:51Corner, Barcelona. Conceded by Sidnei.
51:49Attempt blocked. Ivan Rakitic (Barcelona) right footed shot from outside the box is blocked. Assisted by Lionel Messi.
49:47Andrés Iniesta (Barcelona) wins a free kick in the defensive half.
49:47Foul by Laure (Deportivo de La Coruña).
49:10Attempt missed. Andrés Iniesta (Barcelona) right footed shot from outside the box is just a bit too high.
47:47Attempt missed. Jonathan Rodríguez (Deportivo de La Coruña) right footed shot from the right side of the box is close, but misses to the right. Assisted by Faycal Fajr with a cross.
46:26Corner, Deportivo de La Coruña. Conceded by Javier Mascherano.
46:24Attempt blocked. Lucas Pérez (Deportivo de La Coruña) left footed shot from outside the box is blocked. Assisted by Sidnei.
45:44Attempt saved. Jonathan Rodríguez (Deportivo de La Coruña) right footed shot from the left side of the box is saved in the top centre of the goal. Assisted by Lucas Pérez.
45:00Second Half begins Barcelona 1, Deportivo de La Coruña 0.
45:00 SubstitutionSubstitution Substitution, Deportivo de La Coruña. Juan Domínguez replaces Luisinho.
45:00 +1:00 Half timeHalf Time First Half ends, Barcelona 1, Deportivo de La Coruña 0.
45:00 +0:01Attempt missed. Andrés Iniesta (Barcelona) right footed shot from outside the box is close, but misses to the right. Assisted by Lionel Messi.
43:00Attempt missed. Luis Suárez (Barcelona) right footed shot from outside the box is close, but misses to the right. Assisted by Andrés Iniesta.
40:26 BookingBooking Luisinho (Deportivo de La Coruña) is shown the yellow card.
40:09Offside, Barcelona. Lionel Messi tries a through ball, but Luis Suárez is caught offside.
38:02 Goal scoredGoal! Goal! Barcelona 1, Deportivo de La Coruña 0. Lionel Messi (Barcelona) from a free kick with a left footed shot to the top right corner.
37:08Luis Suárez (Barcelona) wins a free kick in the attacking half.
37:08Foul by Luisinho (Deportivo de La Coruña).
34:40Attempt missed. Dani Alves (Barcelona) right footed shot from outside the box is too high. Assisted by Andrés Iniesta.
31:40Foul by Luis Suárez (Barcelona).
31:40Sidnei (Deportivo de La Coruña) wins a free kick in the defensive half.
31:12Attempt missed. Luis Suárez (Barcelona) header from the centre of the box is too high. Assisted by Dani Alves with a cross.
30:30Corner, Barcelona. Conceded by Germán Lux.
30:27Attempt saved. Lionel Messi (Barcelona) left footed shot from outside the box is saved in the bottom left corner. Assisted by Andrés Iniesta.
28:16Attempt saved. Luis Suárez (Barcelona) left footed shot from outside the box is saved in the top left corner. Assisted by Lionel Messi.
28:07Ivan Rakitic (Barcelona) wins a free kick in the attacking half.
28:07Foul by Faycal Fajr (Deportivo de La Coruña).
26:47Attempt missed. Lionel Messi (Barcelona) left footed shot from the centre of the box is too high. Assisted by Jordi Alba.
25:24Foul by Ivan Rakitic (Barcelona).
25:24Fernando Navarro (Deportivo de La Coruña) wins a free kick on the left wing.
24:11Corner, Barcelona. Conceded by Fernando Navarro.
20:09Offside, Deportivo de La Coruña. Laure tries a through ball, but Jonathan Rodríguez is caught offside.
18:44Offside, Deportivo de La Coruña. Germán Lux tries a through ball, but Jonathan Rodríguez is caught offside.
14:59Corner, Deportivo de La Coruña. Conceded by Gerard Piqué.
14:25Attempt saved. Jonathan Rodríguez (Deportivo de La Coruña) left footed shot from the left side of the six yard box is saved in the bottom left corner. Assisted by Juanfran.
14:01Offside, Barcelona. Lionel Messi tries a through ball, but Luis Suárez is caught offside.
13:13Attempt saved. Lionel Messi (Barcelona) left footed shot from outside the box is saved in the top right corner.
12:15Lionel Messi (Barcelona) wins a free kick in the attacking half.
12:15Foul by Sidnei (Deportivo de La Coruña).
7:35Corner, Barcelona. Conceded by Fernando Navarro.
7:08Sergio Busquets (Barcelona) wins a free kick in the defensive half.
7:08Foul by Jonathan Rodríguez (Deportivo de La Coruña).
5:45Jordi Alba (Barcelona) wins a free kick on the left wing.
5:45Foul by Lucas Pérez (Deportivo de La Coruña).
4:19Attempt missed. Luis Suárez (Barcelona) right footed shot from the centre of the box is close, but misses to the left. Assisted by Sandro Ramírez with a headed pass.
3:31Offside, Deportivo de La Coruña. Alejandro Arribas tries a through ball, but Jonathan Rodríguez is caught offside.
2:44Foul by Ivan Rakitic (Barcelona).
2:44Luisinho (Deportivo de La Coruña) wins a free kick in the defensive half.
2:14Attempt missed. Lucas Pérez (Deportivo de La Coruña) left footed shot from a difficult angle and long range on the left is too high. Assisted by Álex Bergantiños.
0:00First Half begins.
0:00Lineups are announced and players are warming up.
Live data and text provided by our data suppliers