Holders Barcelona were drawn on Friday to play Real Sociedad in the quarter-finals of the King's Cup while Celta Vigo will take on Real Madrid.
La Liga leaders Real booked their spot in the last eight on Thursday when they set a Spanish record of 40 matches unbeaten in all competitions after they came back from two goals behind to snatch a 3-3 draw at Sevilla.
Atletico Madrid will take on Eibar, who are in the quarter-finals for the first time, while second tier side Alcorcon, the only team from outside the top flight left in the competition, face Alaves.
The ties will be played over two legs with the opening matches on Jan. 18 and the return encounters a week later.
The final will take place on May 27.