The A57 Snake Pass in Derbyshire will be closed for two weeks so major repairs can be made to the retaining wall.
There will be no access from Sheffield to Glossop for any vehicle between Monday, June 1 and Sunday, June 14.
The road will be closed from the junction of the A57 with the A6013 Ashopton Road to its junction with Hurst Road in Glossop.
A signed diversion route will be in place, which is A6013 – A6187 – B6049 – A623 – A6 – A615 – A624 – A57.
Coun Dean Collins, Derbyshire County Council’s cabinet member for highways, transport and infrastructure, said: “We’d like to apologise for any inconvenience while the Snake Pass is closed, but we cannot carry out this essential work without closing the road.”
People wanting to visit the Snake Pass Inn will be able to drive to the pub from the Bamford side.
The A57 in Dinting Vale, near Glossop will also be affected at the end of June by the demolition of an old mill.
To allow the work to take place safely there will be traffic lights at the junction of the A57 with Shaw Lane from 7pm on Friday, June 26 over the weekend, and possibly the following weekend. Traffic along the A57 could be delayed.