Holders St Johnstone have been drawn away to Kelty Hearts or Montrose within the Scottish Cup fourth spherical.
Rangers, who final gained the trophy in 2009, can be fancied to undergo once they tackle Stirling Albion at Ibrox.
Celtic, who’ve gained the competitors a document 40 instances, are away to Alloa Athletic.
North Superleague aspect Banks O’Dee, who beat League One East Fife to succeed in the fourth spherical, had been rewarded with a house tie towards Championship aspect Raith Rovers.
West of Scotland Premier Division outfit Auchinleck Talbot, conquerors of Championship Hamilton within the final spherical, will welcome Hearts to Ayrshire within the final 32.
There’s an all-Premiership tie between Livingston and Ross County.
St Johnstone will proceed their defence of the cup taking part in in the course of the weekend of January 22.
Scottish Cup fourth-round draw:
Peterhead v East Kilbride
Clydebank v Annan Athletic
Banks O’Dee v Raith Rovers
Motherwell v Inverness or Morton
Kelty Hearts or Montrose v St Johnstone
Livingston v Ross County
Dumbarton v Dundee
Aberdeen v Edinburgh Metropolis
Rangers v Stirling Albion
Ayr United v St Mirren
Kilmarnock v Dundee United
Hibernian v Cove Rangers or Queen of the South
Partick Thistle v Airdrieonians
Auchinleck Talbot v Hearts
Alloa Athletic v Celtic
Arbroath v Brechin Metropolis or Darvel