He was born in Edinburgh on 16 October 1780 the son of James Forrest WS (1744-1820) a lawyer (son of John Forrest (1704-1778) of Grange House in Edinburgh).
He was elected Lord Provost of Edinburgh in 1837, succeeding Sir James Spittal.