 He served in the Second Boer War, where he was Deputy Assistant Adjutant-General.He was also a lieutenant colonel of the 2/7 Black Watch from 1914 to 1917.Cochrane sat as Unionist Member of Parliament for North Ayrshire from 1892 to 1910.