Both Celtic and Rangers will travel to Tayside in the next round of the Scottish Cup.
The quarter-final draw was made following Dundee’s 3-0 win over Peterhead on Monday.
James McPake’s men will now host Rangers at Dens Park in the next round with Celtic taking on Dundee United at Tannadice.
In the other games Hearts will host St Mirren and Motherwell will play Hibernian at Fir Park.
Rangers reached the last eight with a 3-0 win over Annan Athletic on Saturday after Hearts defeated Livingston on penalties, Motherwell beat Aberdeen 2-1, Dundee United won away at Partick Thistle and St Mirren thrashed Kelty Hearts 4-0.
On Sunday Celtic beat Raith Rovers 4-0 at Celtic Park and Hibs knocked out Championship leaders Arbroath at Gayfield.
The quarter-final ties will take place over the weekend of Saturday March 12 and Sunday March 13.
The final of Scottish football’s showpiece event will be held on Saturday, May 21.
Scottish Cup draw in full:
Dundee United vs Celtic
Dundee vs Rangers
Hearts vs St Mirren
Motherwell vs Hibernian