Alexander Macfarlane (June 17, 1818 – December 14, 1898) was a Canadian lawyer and politician who served as a member of the Senate of Canada from 1870 to 1898. His surname also appears as McFarlane in some sources.