Born on 27 January 1879, Foster grew up and was educated at Stubbington House School, a boys' preparatory school near Fareham in Hampshire, where his grandfather and father, and later his brother, served as headmaster.