Holders Livingston have been given a home tie with Jim Duffy’s Dundee in the third round of the CIS Insurance Cup.
Last season’s beaten finalists Hibernian, meanwhile, will have to travel to Third Division outfit Albion Rovers.
Rangers, who have won the Scottish League Cup a record 22 times, have been paired in an-all Scottish Premier League clash with Aberdeen while 12-time winners Celtic will welcome Falkirk to Parkhead.
Full draw: Hearts v Kilmarnock, Inverness Caledonian Thistle v Motherwell, Dunfermline v Partick Thistle, Livingston v Dundee, Dundee United v Clyde, Aberdeen v Rangers, Celtic v Falkirk, Albion Rovers v Hibernian.
Ties to be played on September 21 and 22.