Copa Del Rey holders Barcelona will start their defence of the competition against Real Murcia, while Real Madrid will take on Fuenlabrada.
Atletico Madrid will take on Segunda B side Elche – relegated from the top flight due to financial irregularities in 2015 – while Sevilla take on Murcia-based side Cartagena.
Formentera will take on 2015 beaten finalists Athletic Bilbao while Ponferradina take on Villarreal and the remaining third-tier side, Lleida, were paired with Real Sociedad.
There’s an enticing Andalucian derby between La Liga 123 high-flying Cadiz and Real Betis while Malaga were draw against Numancia.
Last year’s beaten playoff finalists Tenerife take on Espanyol and Real Valladolid take on Leganes, while Valencia meet Zaragoza.
Alaves, who lost last season’s decider to Barca, take on Getafe, Girona play Levante and Las Palmas were paired with Depotivo La Coruna.
First leg matches to take place the week of October 29 with the return fixtures scheduled for the November 25.
Copa Del Rey 4th Round draw:
Cadiz v Real Betis
Cartagena v Sevilla
Deportivo La Coruna v Las Palmas
Elche v Atletico Madrid
Formentera v Athletic Bilbao
Fuenlabrada v Real Madrid
Getafe v Alaves
Girona v Levante
Lleida v Real Sociedad
Numancia v Malaga
Ponferradina v Villarreal
Real Murcia v Barcelona
Real Valladolid v Leganes
Tenerife v Espanyol
Zaragoza v Valencia