Rangers have been drawn to face Celtic in the fifth round of the Scottish Cup at Ibrox.
Hamilton Accies will face either cup holders Dundee United or Ross County in the next round.
First Division outfit Dunfermline or Montrose will be rewarded with a glamour tie against Aberdeen.
Threave or Stenhousemuir will take on Motherwell or Stranraer. The ties will be played on 5 and 6 February.
Elsewhere in the draw, Inverness CT take on Morton or Airdrie, while Hibernian or Ayr have been drawn to face St Mirren or Peterhead.
Hearts or St Johnstone will progress to face Falkirk or Partick Thistle, and East Stirlingshire or Buckie will take on Queen of the South or Brechin.
Scottish Cup fifth-round draw:
Aberdeen v Montrose or Dunfermline
Inverness CT v Morton or Airdrie
Hamilton v Dundee United or Ross County
Stenhousemuir or Threave Rovers v Stranraer or Motherwell
East Stirlingshire or Buckie v Queen of the South or Brechin
Rangers v Celtic
Hibernian or Ayr v St Mirren or Peterhead
Hearts or St Johnstone v Falkirk or Partick Thistle
Hamilton Accies will face either cup holders Dundee United or Ross County in the next round.
First Division outfit Dunfermline or Montrose will be rewarded with a glamour tie against Aberdeen.
Threave or Stenhousemuir will take on Motherwell or Stranraer. The ties will be played on 5 and 6 February.
Elsewhere in the draw, Inverness CT take on Morton or Airdrie, while Hibernian or Ayr have been drawn to face St Mirren or Peterhead.
Hearts or St Johnstone will progress to face Falkirk or Partick Thistle, and East Stirlingshire or Buckie will take on Queen of the South or Brechin.
Scottish Cup fifth-round draw:
Aberdeen v Montrose or Dunfermline
Inverness CT v Morton or Airdrie
Hamilton v Dundee United or Ross County
Stenhousemuir or Threave Rovers v Stranraer or Motherwell
East Stirlingshire or Buckie v Queen of the South or Brechin
Rangers v Celtic
Hibernian or Ayr v St Mirren or Peterhead
Hearts or St Johnstone v Falkirk or Partick Thistle