 Barran died in July 1952, aged 79, and was succeeded in the baronetcy by his eldest son John.Barran was elected to the House of Commons at a by-election in March 1909 as the Member of Parliament (MP) for Hawick Burghs.He was re-elected with a large majority in January 1910

He was returned unopposed in December 1910.