Real Madrid must again overcome lower-league opposition in the Copa del Rey last 16, while Barcelona have been handed a tricky tie at home to Leganes.
Zinedine Zidane's Madrid survived a scare against Unionistas de Salamanca in the previous round, securing a 3-1 win away from home, with Gareth Bale and Brahim Diaz getting on the scoresheet.
The Blancos have been rewarded with a visit to Real Zaragoza, who are currently fourth in the Spanish Segunda as they bid to return to the top flight.
Editors' Picks
Barcelona were also tested by minnows in the round of 32, scraping past Ibiza, thanks to a brace from Antoine Greizmann.