 Lee died in his lodgings at New College at the University of Edinburgh on 2 May 1859.He is buried in the south-west section of St Cuthberts Churchyard in Edinburgh, next to the Balfour Paul monument.Lee was married to Rose Masson (1792-1898).