 He was the eldest child of the Royalist Bishop of Ely Matthew Wren and Elizabeth, daughter of Thomas Cutler of Ipswich, and therefore cousin of Sir Christopher Wren.He was educated at both Peterhouse, Cambridge and the University of Oxford, graduating M.A.at Oxford on 9 September 1661.