Contractors for Highways England will be resurfacing just over 2 miles of the A19 from Knayton to Nether Silton starting on Monday 27 June.
The work will be carried out overnight between 8pm and 6am during the week until the work is completed on Friday 8 July.
Highways England project manager Phil Leng said:
When complete, this project will provide drivers with safer and smoother journeys along this stretch of the A19 in North Yorkshire.
Every effort is being made to ensure disruption to traffic and local residents is kept to a minimum, and a speed restriction of 50mph will be set during the day for safety reasons for traffic running on temporary surfaces.
Clearly signed diversions will in place.
Members of the public should contact the Highways England customer contact centre on 0300 123 5000.
Journalists should contact the Highways England press office on 0844 693 1448 and use the menu to speak to the most appropriate press officer.