Maxwell was born on 20 February 1812, at 19 Queen Street in GlasgowGlasgow Post Office Directory 1819 the eldest son of William Maxwell of Dargavel, Renfrewshire (d.1847), and his wife, Mary Campbell, eldest daughter of John Campbell of Possil, near Glasgow. He was apprenticed as a lawyer but does not appear to have had any university education.
