The restriction, which was lifted in all other parts of Scotland last week, was extended in the DG1, DG2, DG11, DG12, DG13, DG14 and DG16 postcodes in response to a cluster of 12 Covid-19 cases in the Annan and Gretna areas.
But earlier today First Minister Nicola Sturgeon confirmed that the Scottish Government now believes the cluster has been contained, and the five-mile travel restriction has been lifted.
Visits to care homes in these postcodes are also now permitted, as long as social distancing and hygiene guidance is followed.
Scottish clinical director Prof Jason Leitch said: “I would like to thank everyone in Dumfries and Galloway who stuck with the restrictions a bit longer than the rest of the country to stop the spread of the virus, particularly those directly involved.
“We cannot control outbreaks without cooperation and all of those involved have been very helpful. They have stopped this cluster becoming much more widespread and I am grateful to them.
“Our Test and Protect system has proved invaluable to help us contain this outbreak and is vital as we move through the phases of our exit strategy. We will also be able to learn from this incident and plan for any future clusters.
“It is important to remember that it is not an individual’s fault if they contract this illness and if you do develop any symptoms you should stay at home and request a test as soon as possible.”