Career
He served as Commissioner for Haddington Constabulary in the parliaments of 1681-1682 and 1689, and in the conventions of 1678 and 1689. He was appointed Lord Justice Clerk on 28 November 1692. Sasine of the estates followed on 12 June 1672 on a Precept from Chancery.
He was Commissioner for Haddingtonshire at the Conventions of Estates in the years 1678, 1681, and 1689, and in Parliament of Scotland for the year 1690.
He was nominated one of the Commissioners to treat on the Union of Parliaments, on 19 April 1689. Adam Cockburn was appointed Lord Justice Clerk in place of Sir George Campbell of Cessnock on 28 November 1692 and at about the same time was sworn a Privy Councillor.
He was one of the Commissioners named to inquire into the Massacre of Glencoe on 28 May 1695, and became somewhat unpopular in some quarters because of the powers awarded to his position in order for him to reach conclusions in the matter. On 6 February 1699 he succeeded Lord Raith as Treasurer-depute of Scotland, which he retained until the accession of Queen Anne, when he was dismissed from all his offices.
He obtained a commission appointing him a second time Lord Justice Clerk dated 8 January 1705 and was at the same time appointed to succeed Lord Whitelaw as a Lord Ordinary in the Court of Session.
He left the office of Lord Justice Clerk again in 1710 but retained his place as a Lord Ordinary until his death, on 16 April 1735, in his 79th year. They had several children, of whom notably the Member of Parliament John Cockburn of Ormiston. They had a daughter, Jean (1709 - 1792 Kelso, Scotland) who married William Walker.