 Rae was appointed surgeon-in-ordinary to the Edinburgh Royal Infirmary on 7 July 1766.There he gave practical discourses on cases of importance.In October 1776 his fellow surgeons made a determined attempt to found a professorship of surgery in the University of Edinburgh, and to appoint Rae the first professor.