This is the 2012 race. The latest: 2024 →

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
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

EvenD+4.22000D+2.52004D+10.32008D+5.42012R+0.72016D+1.12020

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%