Selwyn was born at Church Row, Hampstead, the second son of William Selwyn (1775-1855) and of Laetitia Frances Kynaston.
After graduating, Selwyn worked at Eton, becoming assistant master and tutoring the sons of Edward Herbert, 2nd Earl of Powis.