William Kerr, 6th Marquess of Lothian KT (4 October 1763 – 27 April 1824) was the son of William Kerr, 5th Marquess of Lothian. He was a soldier, landowner and representative peer 1817-1824.
When he was five he was the subject of several pictures with his sister, executed by Valentine Green as mezzotints for publication.
He was educated at Edinburgh University. In 1786 he was elected a Fellow of the Royal Society of Edinburgh. His proposers were Dugald Stewart, James Hutton and John Robison.
He was Lord Lieutenant of Roxburghshire from 1812 and of Midlothian from 1819. He served as a Colonel in the Edinburgh Militia.
He was created a Knight of the Thistle in 1820 and Baron of Kersheugh in 1821.
He lived in the family home of Monteviot House near Jedburgh.
He died in Richmond, Surrey on 27 April 1824.
He married, firstly, Lady Harriet Hobart-Hampden, a younger daughter of John Hobart, 2nd Earl of Buckinghamshire (and the divorced wife of Armar Lowry-Corry, 1st Earl Belmore), on 14 April 1793. They had four children:
His first wife died in 1805 and on 1 December 1806, at Dalkeith House, he married Lady Harriet Scott, a younger daughter of Henry Scott, 3rd Duke of Buccleuch. They had eight children: