David Ritchie (August 19, 1812 – January 24, 1867) was a Whig, Opposition Party and Republican member of the U.S. House of Representatives from Pennsylvania. David Ritchie born in Canonsburg, Pennsylvania. He graduated from Jefferson College in Canonsburg in 1829, and subsequently at Heidelberg, Germany. He studied law, was admitted to the bar in 1835 and commenced practice in Pittsburgh, Pennsylvania.