The A49 through Dorrington, from the Stapleton junction to the railway bridge south of the village, will be worked on from April 19 to May 15.
It will be closed between 8pm and 6am throughout the period, including from April 19 to April 30, when it will be shut between Stapleton and Longnor.
From May 3 to May 14, temporary traffic lights will be in place between Grange Lane junction and Stapleton junction.
During the closure, a 34.5-mile diversion will take motorists travelling north from Craven Arms to Aston Eyre via the B4368, and then to Bayston Hill via the A458 and the A5.
Access will be given to homeowners within the closure via a vehicle escort.
Shropshire Council's highways contractors, Kier, will be undertaking the work to resurface the road and several areas of footpath, reset the kerbs, and renew the pedestrian crossing, technology and road markings.
Drain covers will also be replaced and reset between the Grange Lane junction and Stapleton Junction.
Ngozi Abakassanga, Highways England assistant project manager, said: "This work will provide a smoother surface and safer journeys through clearer road markings.
"I would like to apologise in advance for any inconvenience or disruption you may experience during this work.
"Every effort will be made to manage noise levels and additional lighting carefully, to minimise local impact."
Additional work is set to take place in the future to improve junctions and bends.
Ngozi added: "We're also awaiting confirmation of a package of work to increase the safety of the A49 in Shropshire through clearer road markings and signage around junctions and bends."