 After education at Aberdeen grammar school, he entered Marischal College, Aberdeen, studying Medicine and graduated M.A.in April 1843.He continued study at Edinburgh University in 1845, and, returning to Aberdeen, graduated M.D.