Codd was born in Bury St Edmunds, Suffolk, England, the son of Edwin Codd, a carpenter, who died in 1846 when Codd was 8 years old.
On 5 February 1856, at the age of 18, he married Jane Colebrooke at Holy Trinity Church, Kingston & Chelsea, London.