The lands of Craigcrook were, in the 14th century, in the possession of the Graham family. In 1362 the lands were given to the chaplains of St. Giles' Cathedral. They passed through several more owners before 1542, when William Adamson, a merchant and burgess of Edinburgh, took possession. Adamson owned large estates in what is now north-western Edinburgh, including Craigleith, Groathill and Clermiston. Adamson was killed at the Battle of Pinkie on 10 September 1547. The Adamson family constructed, or reconstructed, Craigcrook Castle, and owned it until 1659, when it was sold to John Mein, a merchant in Edinburgh. Ten years later it became the home of Sir John Hall of Dunglass, who later was the Lord Provost of Edinburgh in 1689. Hall sold the property in 1682 to Walter Pringle, advocate, who in turn sold it, in 1689, to John Strachan, Writer to the Signet. On Strachan's death in 1719, his property, including Craigcrook Castle, was left for charitable purposes. The charitable Craigcrook Mortification, which was set up on the death of John Strachan, retains ownership of the castle and grounds.