Much of this information has been gathered from various websites for collation here, but I feel confident it is from reliable sources.
It was in the Scottish/English Borderlands that the Strathclyde-Briton people first used the ancient name Barr. It was a name for someone who lived in Ayrshire, where the family was found since the early Middle Ages. It is generally thought to have been a habitational name, taken on from any of various place names in southwestern Scotland, in particular in Ayrshire and Renfrewshire.
These place names derive from the Gaelic word barr, meaning "height," or "hill."
Barr is a village in the South West of Ayrshire, Scotland, approximately 8 miles (13 km) from the town of Girvan. There are various opinions as to the origins of the name. The most likely is the Gaelic bàrr meaning 'a hill-top, a height'.
It is believed to have been established in the 17th century by smugglers who needed a safe place close to the secluded bays of the Ayrshire coast while having access to the Raiders Road which runs close by. Barr has not changed much since that time.
Currently Barr Village has a population of approximately 110, while the total for the Parish of Barr is in the region of 260.
The United Kingdom ranks Barr as 517th with 12,679 people.