Diversions were in place while Scottish Water employees repaired a burst water main on Friday.
The B7026 between Leadburn and Auchendinny was closed on Friday morning. The burst main was at the Wester Auchendinny bridge, south of the village.
Although diversions were in operation, the road was open for access. The road reopened on Saturday. A Scottish Water spokesman said: “Scottish Water engineers repaired this burst water main, which affected a handful of customers, on Friday. The road was reinstated over the weekend with traffic management removed. Scottish Water would like to apologise for any inconvenience this may have caused.”