The A96 at Huntly was closed for more than 30 hours due to flooding in the aftermath of Storm Gerrit.
The Aberdeen to Inverness road was closed in both directions from about 4pm on Wednesday.
The road remained impassable at Huntly overnight and throughout Thursday following a day of persistent heavy rain.
It was finally cleared at about 10.30pm.
While some cars were able to cut through the town, those with large vehicles faced a lengthy diversion during the closure.
Traffic Scotland was advising northbound traffic to exit the A96 at the A97 junction and travel to Banff.
From there, motorists joined the A95 and travelled until they could rejoin the A96 at Keith.
Those travelling south were told to exit the A96 at Keith and head to Banff via the A95.
Traffic could then rejoin the A96 at Huntly.
Storm Gerrit flooding at Huntly closes A96
Many people took to social media to share updates on the conditions of the roads during the storm.
Photos of long queues at Huntly were shared as traffic stood at a standstill in both directions.
The A97 Bogie Street in Huntly was also affected by flooding on Wednesday near the railway bridge.
A number of cars got stuck in the deep water under the bridge.
The water had to be pumped out of the area and the road was able to reopen on Wednesday evening
The A920 through Huntly was also passable.
Conversation