Fife Council will be carrying out carriageway resurfacing on A91 Cupar to Dairsie from Sunday 15 May, for up to six weeks.
The work will mean the road will be closed between 7pm and 6am, excluding Friday and Saturday nights. A diversion will be in place.
Access will be maintained for emergency services at all times.
Bus services will be affected by the traffic restriction. For more information contact Stagecoach on (01592) 645680 or visit www.stagecoachbus.com
Mark Dewar, service manager for roads and lighting contracts said: "The council maintains over 2,400 km of roads in Fife and we're spending millions each year repairing and improving them.
"Our road network is vital to support economic development, inward investment, tourism, leisure and travel to work. Almost everyone in Fife uses our roads on a daily basis, which is why this type of maintenance work is so essential.
"We apologise for any inconvenience and delay caused by these essential works, and we will try to keep any disturbance to a minimum. Your patience and co-operation during this time is greatly appreciated."