William Alexander Hunter (8 May 1844 – 21 July 1898) was a Scottish jurist and Liberal politician. Hunter was born in Aberdeen, the son of James Hunter, a granite merchant, of Aberdeen. He was educated at Aberdeen grammar school and university. He entered the Middle Temple, and was called to the English bar in 1867, but then was occupied mainly with teaching. In 1869 he was appointed professor of Roman law at University College, London, and in 1878 professor of jurisprudence, resigning that chair in 1882.