Dundee derby in Betfred Cup draw while home ties for Old Firm
The draw took place following the 1-1 draw between the sides, which United earned the bonus point by winning on penalties.
Celtic and Rangers have been handed home ties against Kilmarnock and Dunfermline Athletic respectively, while Ayr United were drawn away to Hibernian despite winning their group with four wins from four.
Advertisement
Hide AdAdvertisement
Hide AdAberdeen will travel to Hamilton, Ross County welcome Motherwell and St Johnstone face Partick Thistle at McDiarmid Park in other all Premiership ties.
Second Round draw in full:
Rangers v Dunfermline Athletic
St Johnstone v Partick Thistle
Hibernian v Ayr United
Hamilton Academical v Aberdeen
Celtic v Kilmarnock
Falkirk v Livingston
Ross County v Motherwell
Dundee v Dundee United
Ties to be played 8 and 9 August.