Thomas W. Riley (1804? – December 27, 1872) was the twelfth Mayor of Louisville, Kentucky from 1858 to 1859. Riley was a prominent lawyer and member of the Whig Party, elected to the Kentucky General Assembly, serving as Speaker of the House from 1849 to 1850.