Boyle served with the Royal Navy during the Crimean and Second Opium Wars. He was commander of when the ship wrecked in 1874. He retired with the rank of captain.