Benjamin Markley Boyer was an American politician who served as a Democratic member of the U.S. House of Representatives for Pennsylvania's 6th congressional district from 1865 to 1869. He served as president judge of the Montgomery County Court from 1882 to 1887.