Thornhill is a town in the Mid Nithsdale area of Dumfries and Galloway, south of Sanquhar and north of Dumfries. Its recently rebuilt school gained its name Wallace Hall Academy on amalgamation with the nearby Closeburn school of that name.
Thornhill sits in the Nith valley in close proximity to ranges of hills on either side - the Carsphairn and Scaur Hills to the west and the Lowther Hills to the east. These offer excellent opportunities for outdoor enthusiasts.