Cakemuir Castle is an historic house situated southeast of Pathhead, in the Lammermuir Hills, Midlothian, Scotland. The name may be connected with the provision of shelter and hospitality to pilgrims on their way to Melrose Abbey. The castle remains a private house, and is protected as a category B listed building.