He was the elder brother of William Dalrymple Maclagan, who would become Archbishop of York; and of the engineer and soldier Sir Robert Maclagan.
He was elected a Fellow of the Royal Society of Edinburgh in 1843, his proposer being Robert Christison.