Hearts will face Hibs at Tynecastle in the Fourth Round of the William Hill Scottish Cup.
It marks the third season in a row that the two sides have been drawn to face each other in Gorgie.
The games ending 2-2 in 2015 and 0-0 in 2016 – with Hibs winning both replays at Easter Road.
The tie is due to be played on the weekend of the 20/21 January 2018. Ticketing details will be announced in due course.
The draw took place in Glasgow earlier tonight at the Sky Sports studios.
William Hill Scottish Cup Fourth Round draw
Aberdeen v St. Mirren
Albion Rovers v St. Johnstone
Alloa Athletic v Dundee United
Ayr United v Arbroath
Celtic v Brechin City
Dundee v Inverness Caledonian Thistle
Dunfermline Athletic v Greenock Morton
East Fife v Brora Rangers
Formartine United v Cove Rangers
Fraserburgh v Rangers
Heart of Midlothian v Hibernian
Kilmarnock v Ross County
Livingston v Falkirk
Montrose or Queen of the South v Partick Thistle
Motherwell v Hamilton Accies
Peterhead v Dumbarton