William Law (1799–1878) was a 19th-century Scottish merchant who served as Lord Provost of Edinburgh from 1869 to 1872.