A £30,000 scheme to improve road safety will be carried out on the A702 at Ninemileburn.
Works at the junction with the A766 Penicuik road will improve visibility, particularly at night.
The works, being funded by Transport Scotland, will include resurfacing of the A702 over the A766 junction, a new hatched centre line with red surfacing, and new road studs.
The resurfacing works will start on Monday, March 12, for two days and will be carried out between 8am and 5pm each day using three-way traffic lights.
Minor delays are expected, however, BEAR Scotland has said any delays will be kept to a minimum.
Ian Stewart, operating company representative for the South East Unit, said: “To ensure that these road safety improvements are implemented in a safe manner for both road users and road workers alike it is essential that traffic management is installed throughout the site.
“We regret that there may be some disruption, and would advise motorists to allow additional time for their journeys and plan ahead.”
Real-time journey planning information can be obtained by visiting www.trafficscotland.org
Materials removed from the existing carriageway will be recycled using SEPA approved methods.
The works are being carried out by Aggregate Industries on behalf of BEAR Scotland. Works have been planned in consultation with Lothian and Borders Police and Midlothian Council.