He  grew up in Edenshead and Arlary, and attended Milnathort Parish School then the High School of Edinburgh from 1807.
He was educated in Edenshead and Arlary, then attended Milnathort Parish School before continuing his education at the High School of Edinburgh from 1807.