Celtic to visit Dundee in League Cup, Rangers away to Partick Thistle
Holders Celtic will meet Dundee at Dens Park in the quarter-finals of the Scottish League Cup.
Last season's beaten finalists Aberdeen will be away to Motherwell when the ties are played next month.
Partick Thistle will host Glasgow neighbours Rangers in the third all-Premiership tie.
And Livingston, who are the only Championship side in the last eight, will visit Hibernian with the matches played on 19, 20 and 21 September.
Celtic and Hibs both recorded 5-0 home wins in Tuesday's second-round ties, beating Kilmarnock and Ayr United respectively, while Partick Thistle won 3-0 away to St Johnstone and Livingston beat Falkirk 2-1 after extra-time.
Then, on Wednesday, Rangers recorded the biggest win of the round with a 6-0 rout of Dunfermline Athletic at Ibrox.
The final tie to be decided was Ross County's home meeting with Motherwell, the visitors edging it 3-2 after extra-time.
Scottish League Cup quarter-final draw:
Hibernian v Livingston
Motherwell v Aberdeen
Dundee v Celtic
Partick Thistle v Rangers
Ties to be played on 19/20/21 September