 He attended the High School, then studied Law, receiving a doctorate from Edinburgh University.He went to Bombay (now Mumbai) in 1804 where he was master in equity in the recorder's court.In 1809 in Madras (now Chennai), Erskine married Maitland Mackintosh (1792-1861), daughter of Sir James Mackintosh and his first wife Katherine Stuart.