Alexander Bain's services to education and social reform in Scotland were recognised by the conferment of the honorary degree of Doctor of law by the University of Edinburgh in 1871.