Alexander Boswell, Lord Auchinleck, was a Scottish judge and the 8th Laird of Auchinleck. Born in 1706, he was the eldest son of James Boswell, the 7th Laird. He studied at the University of Edinburgh and read civil law at the University of Leyden before joining the Faculty of Advocates in 1727.
Boswell became Sheriff of Wigtown in 1748, but left the post in 1750 after inheriting the Auchinleck estate in Ayrshire. He built the present Auchinleck House in the Adam style and, in 1754, added a new aisle to Auchinleck church for the family tutor, Reverend John Dun. That same year, he was appointed to the Court of Session; the following year he also joined the High Court of Justiciary.
In 1740, Boswell rescued the Auchinleck manuscript from destruction and donated it to the Advocates' Library in Edinburgh. He was also known for disputes with his son, the writer James Boswell, over his career, lifestyle, writing, travels, friends and choice of wife.
He married Euphemia Erskine in 1738, and their children included James, John and Thomas David. After Euphemia's death in 1766, he married his cousin Elizabeth Boswell in 1769, on the day of James's wedding. Alexander Boswell died in 1782.