The four boys and one girl were reported missing on Monday afternoon.
The last confirmed sighting had been at Clonfeckle Tower. The scouts, all aged 13, had been due to walk to Craigshields, north of Ae Forest.
They were reported to be equipped with adequate outdoor clothing and torches. They were found and brought to safety by police officers.
Five scouts have been found safe and well after an overnight search in a forest in south-west Scotland.