Bavelaw Castle is a historic house in the City of Edinburgh council area, Scotland. It is north of Hare Hill in the Pentland Hills, four miles west of Penicuik, and two miles south of Balerno, above Threipmuir Reservoir. It was designated as a Category A listed building in 1971.