William Beatty (1787 – April 12, 1851) was a member of the U.S. House of Representatives from Pennsylvania.
William Beatty was born in Stewartstown, County Tyrone in the Kingdom of Ireland in 1787.
He immigrated to the United States in 1807 and settled in Butler, Pennsylvania.
He was a sergeant in Captain Thompson's company in the War of 1812.
Beatty was elected as a Democrat to the Twenty-fifth and Twenty-sixth Congresses.