Hearn was born in Belturbet, County Cavan, Ireland, the son of Reverend William Edward Hearn (a curate and later a vicar) and Henrietta Hearn (née Reynolds).
In January 1859, Hearn stood as a candidate for the Parliament of Victoria, in a by-election for a seat in the Victorian Legislative Assembly, he was embarrassingly unsuccessful.