This is the 2008 race. The latest: 2024 →

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

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

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%