The site was previously occupied by
Dreghorn Castle, a 17th-century mansion built by Sir William Murray,
Master of Work to the Crown of Scotland. The castle was extended around 1805 by
Archibald and James Elliot. In the 19th century it was the home of
Robert Andrew Macfie. The castle was acquired by the
War Office in 1893, and was eventually demolished in 1955. The present barracks complex was largely built between 1937 and 1939 to designs by William Alexander Ross. The barracks were upgraded between 1989 and 1992, with the addition of several new buildings. The four original buildings are protected as a category C(s)
listed building. and Dreghorn Barracks was earmarked for disposal. Dreghorn Barracks had 670 UK Armed Forces Service personnel based there at 1 January 2024. ==Current units==