Barcelona was in first place for much of the season while arch-rivals Real Madrid were six points behind and in fourth. However, Barcelona began playing inconsistently after January, while Madrid's form improved in that same period. On 12 May 2007, Real Madrid took the league lead for the first time all season by defeating Espanyol 4–3, coming back from 3–1 first half deficit. The Sunday after Madrid won their epic battle with Espanyol, Barcelona dropped points with a 1–1 draw to struggling Real Betis. By virtue of their superior head to head record, Madrid sat at the top of La Liga with both teams having four league games left. On the penultimate day of the season, Barcelona failed to overcome city-rivals Espanyol in the Barcelona derby, drawing 2–2. In the final La Liga match, Barcelona thrashed Gimnàstic 5–1, but Madrid came back from a 1–0 deficit to beat Mallorca 3–1 and clinch the title on head-to-head superiority.
Rules for classification: 1st points; 2nd head-to-head points; 3rd head-to-head goal difference; 4th head-to-head goals scored; 5th goal difference; 6th number of goals scored; 7th Fair-play points 1Since Sevilla, winners of 2006–07 Copa del Rey, was qualified for the 2007–08 UEFA Champions League, losing cup finalists Getafe earned a spot in the first round of the 2007–08 UEFA Cup. (C) = Champion; (R) = Relegated; (P) = Promoted; (E) = Eliminated; (O) = Play-off winner; (A) = Advances to a further round.
Only applicable when the season is not finished: (Q) = Qualified to the phase of tournament indicated; (TQ) = Qualified to tournament, but not yet to the particular phase indicated; (RQ) = Qualified to the relegation tournament indicated; (DQ) = Disqualified from tournament.
Head-to-Head: used when head-to-head record is used to rank tied teams.
Updated to games played on 17 June 2007.
1 ^ The home team is listed in the left-hand column. Colours: Purple = home team win; Yellow = draw; Red = away team win.
For coming matches, an a indicates there is an article about the match.