Born on 12 March 1958 in Christchurch, Harper was trained as a secondary school teacher, earning a diploma of teaching from Christchurch Teacher's College in 1980. He went onto the University of Canterbury, graduating with a Bachelor of Arts degree in 1981. After completing a Master of Arts degree the following year with a thesis on the Fall of Singapore, he moved to Australia, teaching at Catholic schools in New South Wales.