2008Final results
2008 election for President in Pennsylvania
President · Pennsylvania
Barack H. Obama (D) won with 54.5% of the vote, defeating John McCain (R) by 10.3 points.
Barack H. ObamaDemocrat · winner
54.5%3,276,363
John McCainRepublican
44.2%2,655,885
Ralph NaderIndependent
0.7%42,977
Bob BarrLibertarian
0.3%19,912
6,013,272 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 2008
Races before and after
Source: MIT Election Data and Science LabUpdated Sep 30, 2026, 7:25 AM ET
The candidates
Barack H. Obama (D)John McCain (R)
Also on the ballot: Ralph Nader (Independent), 0.7%; Bob Barr (Libertarian), 0.3%