[1] Barcelona were the defending champions but were eliminated by Real Madrid in the semi-finals.
Teams that qualified are the champions of each of the 18 groups (or at least the ones with the highest number of points within their group since reserve teams are excluded): The draw for First and Second round was held on 3 August 2012 at 13:00 CEST in La Ciudad del Fútbol, RFEF headquarters, in Las Rozas, Madrid.
Balompédica Linense, Real Jaén, Melilla, Huracán Valencia, Lucena, Tenerife and Lleida Esportiu received a bye.
The draw was held on 14 September 2012 at 13:00 CEST in La Ciudad del Fútbol.
[7] At the time of the draw, the result of the match between Las Palmas and Racing de Santander (which was played later that day) was not known.
[10] The order of legs were changed in knockouts between teams from different levels, the lower league team playing at home in the first leg,[7] as was the case in the knockout FC Barcelona v Córdoba CF.
[10] The Copa del Rey final was played at Santiago Bernabéu[126] on Friday 17 May 2013.