2012Final results
2012 election for President in Pennsylvania
President · Pennsylvania
Barack H. Obama (D) won with 52.1% of the vote, defeating Mitt Romney (R) by 5.4 points.
Barack H. ObamaDemocrat · winner
52.1%2,990,274
Mitt RomneyRepublican
46.7%2,680,434
Gary JohnsonLibertarian
0.9%49,991
Jill SteinGreen
0.4%21,341
5,742,040 votes
Source: MIT Election Data and Science LabUpdated Sep 30, 2026, 7:25 AM ET
The seat over time
D − R margin in this seat's races around 2012
Races before and after
Source: MIT Election Data and Science LabUpdated Sep 30, 2026, 7:25 AM ET
The candidates
Barack H. Obama (D)Mitt Romney (R)
Also on the ballot: Gary Johnson (Libertarian), 0.9%; Jill Stein (Green), 0.4%