Dundee United and Dundee avoided each other, and the Old Firm, in an intriguing William Hill Scottish Cup fifth round draw.
The Tangerines will host fellow Premiership side Partick Thistle in their last 16 encounter, while the Dark Blues will travel to Championship strugglers Dumbarton should they overcome Falkirk in their rearranged fourth round tie on January 26.
The victors of the replay between Dunfermline and Ross County will host either Forfar or Linlithgow Rose.
A still to be played fourth round match between East Kilbride and Lothian Thistle has taken on extra significance after Celtic were drawn as their next round opponents.
The Scottish champions will head to the home of whichever of the minnows prevails in their postponed clash, or possibly a bigger stadium, with the tie sure to be a big payday for the victor.
East Kilbride currently have no fixed home ground and play in the Lowland League, while Lothian play in the East of Scotland Premier League.
The draw – made by darts world champion Gary Anderson – also paired Edinburgh rivals Hearts and Hibernian together.
St Johnstone’s conquerors Kilmarnock will go to Ibrox, while Motherwell meet the winner of Stirling Albion and Inverness.
Annan face Greenock Morton, guaranteeing there will be at least one lower league club in the quarter-finals.
Full draw, ties to be played weekend of February 6/7 –
Motherwell v Stirling Albion/Inverness
East Kilbride/Lothian Thistle v Celtic
Dundee United v Partick
Dunfermline/Ross County v Linlithgow/Forfar
Rangers v Kilmarnock
Annan v Greenock Morton
Dumbarton v Dundee/Falkirk
Hearts v Hibernian