The draw has been made for the Copa del Rey last 32, which sees La Liga clubs enter the competition for the first time this season.
Barcelona kick off their trophy defence against Segunda B side Villanovense, while Real Madrid face fellow third-tier outfit Cadiz, Los Blancos’ League rivals in 2005-06.
Elsewhere, there are four all-Primera ties, namely Real Betis-Sporting Gijon, Levante-Espanyol, Las Palmas-Real Sociedad and Rayo Vallecano-Getafe.
The first legs will be played on December 2, with the return fixtures a fortnight later.
However, Barca’s Club World Cup commitments mean they will play their tie over October 28 and December 2.
Copa del Rey last-32 draw in full:
Cadiz v Real Madrid
Villanovense v Barcelona
Barakaldo v Valencia
Reus v Atletico Madrid
UD Logrones v Sevilla
Balompedica Linense v Athletic Bilbao
Huesca v Villarreal
Almeria v Celta
Leganes v Granada
Llagostera v Deportivo La Coruna
Mirandes v Malaga
Ponferradina v Eibar
Real Betis v Sporting Gijon
Levante v Espanyol
Las Palmas v Real Sociedad
Rayo Vallecano v Getafe
See the latest La Liga predictions and betting tips with Eurotips.co.uk