Moffat (Scottish Gaelic: Am Magh Fada, "The Long Plain") is a former burgh and spa town in Dumfries and Galloway, Scotland, lying on the River Annan, with a population of around 2,500. The Moffat House Hotel, located at the northern end of the High Street, was designed by John Adam. The nearby Star Hotel, a mere 20 ft (6 m) wide, boasted a record in the Guinness Book of Records as the narrowest hotel in the world. Moffat won the famous "Britain In Bloom" contest in 1996. Moffat is also the home to Moffat toffee.
The Devil's Beef Tub near Moffat was used by the members of Clan Moffat and later the members of Clan Johnstone to hoard cattle stolen in predatory raids. The town is held to be the ancestral seat of Clan Moffat.