Sir James Cockburn, 9th Baronet, of Langton, Berwickshire (21 March 1771 – 26 February 1852) was British Governor of Bermuda from 1811 to 1812, from 1814 to 1816 and from 1817 to 1819.
He was the eldest son of Sir James Cockburn, 8th Baronet (1729–1804) and his second wife Augusta Anne Ayscough. His maternal grandfather was Francis Ayscough, Dean of Bristol.
His younger brothers were:
On 14 October 1801, Cockburn married Marianna Devereux. She was a daughter of George Devereux, 13th Viscount Hereford by his wife and possible distant relative Marianna Devereux. They had a daughter:
He also served as Paymaster and Inspector General of the Royal Marines from 1819 to 1831 and was granted the rank of major-general in 1831.[1] He was appointed the High Sheriff of Carmarthenshire for 1847.[2]