# | Tier | Division | G | W | D | L | GF | GA | Pts | +- | ||
1970-71 | Spanish Segunda División | 38 | 11 | 10 | 17 | 37 | 55 | 32 | -18 | |||
1971-72 | Spanish Segunda División | 38 | 10 | 12 | 16 | 30 | 48 | 32 | -18 | Relegated | ||
- | ||||||||||||
1987-88 | Spanish Segunda División B Grupo IV | 38 | 18 | 12 | 8 | 60 | 38 | 48 | 22 | |||
1988-89 | Spanish Segunda División B Grupo IV | 38 | 15 | 15 | 8 | 53 | 34 | 45 | 19 | |||
1989-90 | Spanish Segunda División B Group IV | 38 | 9 | 12 | 17 | 33 | 52 | 30 | -19 | Relegated | ||
- | ||||||||||||
1991-92 | Spanish Segunda División B Group III | 38 | 19 | 13 | 6 | 61 | 39 | 51 | 22 | Promoted | ||
1992-93 | Spanish Segunda División | 38 | 13 | 8 | 17 | 38 | 51 | 34 | -13 | |||
1993-94 | Spanish Segunda División | 38 | 14 | 6 | 18 | 29 | 48 | 34 | -19 | |||
1994-95 | Spanish Segunda División | 38 | 11 | 16 | 11 | 41 | 36 | 38 | 5 | |||
1995-96 | Spanish Segunda División | 38 | 11 | 11 | 16 | 32 | 39 | 44 | -7 | |||
1996-97 | Spanish Segunda División | 38 | 13 | 9 | 16 | 38 | 52 | 48 | -14 | |||
1997-98 | Spanish Segunda División | 42 | 19 | 16 | 7 | 51 | 38 | 73 | 13 | Promoted | ||
1998-99 | Spanish La Liga | 38 | 8 | 12 | 18 | 47 | 63 | 36 | -16 | Relegated | ||
1999-00 | Spanish Segunda División | 42 | 18 | 12 | 12 | 61 | 46 | 66 | 15 | Promoted | ||
2000-01 | Spanish La Liga | 38 | 16 | 9 | 13 | 58 | 52 | 57 | 6 | |||
2001-02 | Spanish La Liga | 38 | 11 | 10 | 17 | 46 | 55 | 43 | -9 | |||
2002-03 | Spanish La Liga | 38 | 11 | 12 | 15 | 44 | 53 | 45 | -9 | |||
2003-04 | Spanish La Liga | 38 | 15 | 9 | 14 | 47 | 49 | 54 | -2 | |||
2004-05 | Spanish La Liga | 38 | 18 | 11 | 9 | 69 | 37 | 65 | 32 | |||
2005-06 | Spanish La Liga | 38 | 14 | 15 | 9 | 50 | 39 | 57 | 11 | |||
2006-07 | Spanish La Liga | 38 | 18 | 8 | 12 | 48 | 44 | 62 | 4 | |||
2007-08 | Spanish La Liga | 38 | 24 | 5 | 9 | 63 | 40 | 77 | 23 | |||
2008-09 | Spanish La Liga | 38 | 18 | 11 | 9 | 61 | 54 | 65 | 7 | |||
2009-10 | Spanish La Liga | 38 | 16 | 8 | 14 | 58 | 57 | 56 | 1 | |||
2010-11 | Spanish La Liga | 38 | 18 | 8 | 12 | 54 | 44 | 62 | 10 | |||
2011-12 | Spanish La Liga | 38 | 9 | 14 | 15 | 39 | 53 | 41 | -14 | Relegated | ||
2012-13 | Spanish Segunda División | 42 | 21 | 14 | 7 | 68 | 38 | 77 | 30 | Promoted | ||
2013-14 | Spanish La Liga | 38 | 17 | 8 | 13 | 60 | 44 | 59 | 16 | |||
2014-15 | Spanish La Liga | 38 | 16 | 12 | 10 | 48 | 37 | 60 | 11 | |||
2015-16 | Spanish La Liga | 38 | 18 | 10 | 10 | 44 | 35 | 64 | 9 | |||
2016-17 | Spanish La Liga | 38 | 19 | 10 | 9 | 56 | 33 | 67 | 23 | |||
2017-18 | Spanish La Liga | 38 | 18 | 7 | 13 | 57 | 50 | 61 | 7 | |||
2018-19 | Spanish La Liga | 38 | 10 | 14 | 14 | 49 | 52 | 44 | -3 | |||
2019-20 | Spanish La Liga | 38 | 18 | 6 | 14 | 63 | 49 | 60 | 14 | |||
2020-21 | Spanish La Liga | 38 | 15 | 13 | 10 | 60 | 44 | 58 | 16 | |||
2021-22 | Spanish La Liga | 38 | 16 | 11 | 11 | 63 | 37 | 59 | 26 | |||
- | ||||||||||||
2011-12 | UEFA Champions League A | 6 | 0 | 0 | 6 | 2 | 14 | 0 | -12 |