Flamsteed was born in Denby, Derbyshire, England, the only son of Stephen Flamsteed and his first wife, Mary Spadman. He was educated at the free school of Derby and at Derby School, in St Peter's Churchyard, Derby, near where his father carried on a malting business. At that time, most masters of the school were Puritans. Flamsteed had a solid knowledge of Latin, essential for reading the scientific literature of the day, and a love of history, leaving the school in May 1662.