# 2008 United States presidential election in Pennsylvania

"none" is preferred when the title is already sufficiently detailed; see [[WP:SDNONE]]
Elections in Pennsylvania :
Federal government
U.S. President
1789
1792
1796
1800
1804
1808
1812
1816
1820
1824
1828
1832
1836
1840
1844
1848
1852
1856
1860
1864
1868
1872
1876
1880
1884
1888
1892
1896
1900
1904
1908
1912
1916
1920
1924
1928
1932
1936
1940
1944
1948
1952
1956
1960
1964
1968
1972
1976
1980
1984
1988
1992
1996
2000
2004
2008
2012
2016
2020
2024
Presidential primaries
Democratic
2000
2004
2008
2016
2020
2024
Republican
2008
2016
2020
2024
U.S. Senate
1788
1791
1793 sp
1794 sp
1795
1796
1797
1801
1801 sp
1802
1806
1808
1808 sp
1809 sp
1812
1814
1814 sp
1818
1820
1824
1826
1830
1831 sp
1832
1834 sp
1836
1840 sp
1843
1845
1845 sp
1849
1851
1856
1857
1861
1861 sp
1863
1867
1869
1873
1875
1877 sp
1879
1881
1885
1887
1891
1893
1897
1899
1901 sp
1903
1905
1905 sp
1908
1909
1909 sp
1911
1914
1916
1920
1922
1922 sp
1926
1928
1930 sp
1932
1934
1938
1940
1944
1946
1950
1952
1956
1958
1962
1964
1968
1970
1974
1976
1980
1982
1986
1988
1991 sp
1992
1994
1998
2000
2004
2006
2010
2012
2016
2018
2022
2024
2028
U.S. House of Representatives
1788
1791
1792
1794
1796
5th sp
1797
5th sp
1798
1st sp
4th sp
1800
8th sp
1801
4th sp
8th sp
12th sp
1802
1804
10th sp
1805
4th sp
11th sp
1806
1st sp
1808
1st sp
1809
1st sp
1810
1812
1813
3rd sp
5th sp
7th sp
13th sp
15th sp
1814
2nd sp
3rd sp
1815
1st sp
3rd sp
9th sp
1816
9th sp
1817
10th sp
1818
4th sp
6th sp
1820
5th sp
7th sp
1821
5th sp
10th sp
1822
1st sp
6th sp
7th sp
14th sp
1824
8th sp
13th sp
1825
16th sp
1826
2nd sp
7th sp
13th sp
18th sp
1827
2nd sp
1828
1829
8th sp
16th sp
1830
1831
11th sp
1832
1833
1st sp
1834
1836
13th sp
24th sp
1837
3rd sp
1838
9th sp
1839
14th sp
1840
13th sp
22nd sp
1841
2nd sp
13th sp
20th sp
18th sp
Jun
Dec
1842
17th sp
21st sp
1843
1844
12th sp
13th sp
21st sp
1846
1848
6th sp
1850
11th sp
15th sp
1852
1854
8th sp
1856
1857
12th sp
1858
8th sp
1860
8th sp
1861
2nd sp
12th sp
1862
7th sp
1864
1866
1867
12th sp
1868
9th sp
20th sp
1870
1872
13th sp
1874
23rd sp
1876
12th sp
1878
1880
1882
1884
19th sp
1885
19th sp
1886
1888
1890
3rd sp
4th sp
1892
1893
2nd sp
8th sp
1894
at-large sp
1895
15th sp
1896
1897
25th sp
1898
23rd sp
1899
9th sp
1900
5th sp
1901
10th sp
1902
17th sp
1903
4th sp
1904
3rd sp
1906
2nd sp
3rd sp
12th sp
1907
2nd sp
1908
1910
1911
2nd sp
14th sp
1912
1st sp
1914
1916
1917
28th sp
1918
1919
22nd sp
1920
3rd sp
1921
at-large sp
1922
1924
1926
1927
1st sp
1928
8th sp
1929
12th sp
1930
1931
2nd sp
1932
6th sp
18th sp
20th sp
1933
9th sp
1934
1936
1937
18th sp
1938
1939
4th sp
1940
1941
15th sp
1942
11th sp
12th sp
33rd sp
1943
2nd sp
23rd sp
1944
2nd sp
17th sp
1946
10th sp
23rd sp
33rd sp
1947
8th sp
1948
1949
22nd sp
26th sp
1950
1951
8th sp
14th sp
33rd sp
1952
1954
1956
2nd sp
30th sp
1957
13th sp
1958
4th sp
21st sp
1960
17th sp
18th sp
1961
16th sp
1962
1963
15th sp
23rd sp
1964
5th sp
1966
1968
1970
9th sp
1971
18th sp
1972
27th sp
1974
12th sp
1976
1st sp
1978
1980
11th sp
12th sp
1981
3rd sp
1982
1984
1986
1988
1990
1991
2nd sp
1992
1994
1996
1998
1st sp
2000
2001
9th sp
2002
2004
2006
2008
2010
12th sp
2012
2014
2016
2nd sp
2018
7th sp
15th sp
18th sp
2019
12th sp
2020
2022
2024 :
State government
Governor
1790
1793
1796
1799
1802
1805
1808
1811
1814
1817
1820
1823
1826
1829
1832
1835
1838
1841
1844
1847
1848
1851
1854
1857
1860
1863
1866
1869
1872
1875
1878
1882
1886
1890
1894
1898
1902
1906
1910
1914
1918
1922
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
2026
Lieutenant Governor
1874
1878
1882
1886
1890
1894
1898
1902
1906
1910
1914
1918
1922
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
Attorney General
1980
1984
1988
1992
1996
2000
2004
2008
2012
2016
2020
2024
Auditor General
2000
2004
2008
2012
2016
2020
2024
State Treasurer
2000
2004
2008
2012
2016
2020
2024
State Senate
2000
2002
2004
2006
2008
2010
2012
2014
2016
2018
2020
2022
2024
State House of Representatives
2000
2002
2004
2006
2008
2010
2012
2014
2016
2018
2020
2022
2024 :
Elections by year
State elections
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025 :
Philadelphia
Mayoral elections
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1856
1858
1860
1862
1865
1868
1871
1874
1877
1881
1884
1887
1891
1895
1899
1903
1907
1911
1915
1919
1923
1927
1931
1935
1939
1943
1947
1951
1955
1959
1963
1967
1971
1975
1979
1983
1987
1991
1995
1999
2003
2007
2011
2015
2019
2023
City Council elections
1951
1954 sp.
1955
1959
1963
2015
2019
2022–23 sp.
2023
Other municipal elections
1951
1953
1955
1957
1959
1961
1963
2023 :
Pittsburgh
Mayors
1909
1913
1917
1921
1925
1929
1933
1937
1941
1945
1949
1953
1957
1959
1961
1965
1969
1973
1977
1981
1985
1989
1993
1997
2001
2005
2007
2009
2013
2017
2021
2025 :
Allentown
Mayors
1977
1981
1985
1989
1993
1997
2001
2005
2009
2013
2017
2019 sp
2021
2025 :
Lancaster
Mayors
2009
2017
2021
2025 :
Harrisburg
Mayors
1969
1973
1977
1981
1985
1989
1993
1997
2001
2005
2009
2013
2017
2021
2025 :
Government :
vte :
The 2008 United States presidential election in Pennsylvania was part of the 2008 United States presidential election, which took place on November 4, 2008, throughout all 50 states and the District of Columbia. Voters chose 21 representatives, or electors to the Electoral College, who voted for president and vice president.
Pennsylvania was won by Democratic nominee Barack Obama by a 10.32% margin of victory. Prior to the election, all 17 news organizations considered this a state Obama would win, or otherwise considered as a safe blue state. Although the Commonwealth of Pennsylvania had voted for the Democratic presidential nominee in every election since 1992, the margins of victory had become smaller over the past elections, as was highlighted in 2004 when John Kerry won Pennsylvania by a slim margin of 2.50%. Since George W. Bush came relatively close to winning the state in 2004 and because Barack Obama lost the Democratic primary to Hillary Rodham Clinton by nearly 10% in April 2008, many analysts believed that Republican John McCain had a decent shot at winning Pennsylvania in the general election.
Nevertheless, Pennsylvania remained blue and gave Obama 54.49% of the vote to McCain's 44.17%, a margin of 10.32%.

## Democratic primary

The Democratic primary was held on April 22. Voters also chose the Pennsylvania Democratic Party's candidates for various state and local offices.
The Democratic primary was open to registered Democrats only. Polls opened at 7am and closed at 8pm. Senators Barack Obama and Hillary Clinton were the only candidates on the ballot for President of the United States. The primary was considered to be a "must win" for Clinton, who defeated Obama, but by a smaller margin than hoped for.
Hillary Clinton won the primary by 9.28%, a wider margin than expected than recent polls suggested, but smaller than most January and February polls. Despite her victory, she gained only nine delegates on Obama. In particular superdelegates were not swinging in her direction after her win; the Clintons had been trying to secure the support of Congressman Jason Altmire but he remained uncommitted after she won his district by 31% during the primary.

### Delegates

The Pennsylvania Democratic Party sent 187 delegates to the 2008 Democratic National Convention. Of those delegates, 158 were pledged, and 29 were unpledged. All of the 158 pledged delegates were allocated (pledged) to vote for a particular candidate at the National Convention according to the results of the Pennsylvania Presidential Primary. The 29 unpledged delegates were popularly called "superdelegates" because their vote represented their personal decisions, whereas the regular delegates' votes represented the collective decision of many voters. The superdelegates were free to vote for any candidate at the National Convention and were selected by the Pennsylvania Democratic Party's officials.
The 158 pledged delegates were further divided into 103 district delegates and 55 statewide delegates. The 103 district delegates were divided among Pennsylvania's 19 Congressional Districts and were allocated to the presidential candidates based on the primary results in each district. The 55 statewide delegates were divided into 35 at-large delegates and 20 party leaders and elected officials (abbreviated PLEOs). They were allocated to the presidential candidates based on the preference of the delegates at the State Committee meeting on June 7.
Of the 29 unpledged delegates, 26 were selected in advance and 3 were selected at the State Committee meeting. The delegates selected in advance were 13 Democratic National Committee members, the 11 Democratic U.S. Representatives from Pennsylvania, Democratic U.S. Senator Bob Casey Jr., and Democratic Governor Ed Rendell.

### Importance of Pennsylvania

The primary was the first time since 1976 that Pennsylvania played a major role in a presidential nomination.

#### Importance of Pennsylvania for Clinton

As the race continued to Pennsylvania, Indiana, and North Carolina, many observers had concluded that Clinton had little chance to overcome Obama's lead in pledged delegates.
Former President Bill Clinton highlighted the importance of the state for the Clinton campaign saying on March 11 at an event in Western Pennsylvania that "If she wins a big, big victory in Pennsylvania, I think it'll give her a real big boost going into the next primaries ... I think she's got to win a big victory in Pennsylvania. I think if she does, she can be nominated, but it's up to you." This was a repetition of his tactic before March 4, warning supporters that his wife might not be able to continue if she did not win Ohio and Texas. Hillary Clinton emphasized that Pennsylvania was something of a home state for her, as her father came from Scranton, Pennsylvania, she and her brothers were christened there and had vacationed near there each summer, and her brothers still maintained the family cottage near there.

#### Importance of Pennsylvania to Obama

On March 18, 2008 Barack Obama chose Philadelphia as the site to deliver his much-anticipated "A More Perfect Union" speech dealing with the race and the controversy surrounding his pastor, Rev. Jeremiah Wright.

### Campaign
#### Obama's "Road to Change" bus tour

Obama started a 6-day "Road to Change" bus tour across Pennsylvania, with stops in Pittsburgh, Johnstown, Altoona, State College, Harrisburg
On March 28, Obama started the bus tour with a rally in Pittsburgh's Soldiers and Sailors Memorial Hall. Obama was introduced and endorsed by Senator Bob Casey Jr., who had indicated earlier that he would remain neutral in the democratic primary.
Casey traveled to Florida over the Easter holiday, where he said rain forced him to stay inside and think about the election. Obama's ability to "transcend" the racial divide and his ability to engage younger voters proved decisive to his decision. According to sources, Casey's four daughters lobbied their dad to endorse Obama.
On March 29, the Obama bus tour stopped at the Pleasant Valley Recreation Center in Altoona, where he famously bowled a 37. Both Obama and Senator Casey (who rolled a score of 71) lost to local homemaker Roxanne Hart, who rolled a score of 82. On April Fool's Day, Senator Clinton jokingly challenged Obama to a "bowl-off," with the winner taking all the delegates.

### Controversy

On April 11, 2008, Huffington Post blogger Mayhill Fowler, a self-admitted Barack Obama supporter, reported that during an April 6 "closed press" fundraising event in San Francisco, California, Obama recounted the obstacles facing his campaign in the Pennsylvania primary as it pertained to rural, white voters. Fowler wrote that during the speech, Obama said the following:
   You go into these small towns in Pennsylvania and, like a lot of small towns in the Midwest, the jobs have been gone now for 25 years and nothing's replaced them ... And they fell through the Clinton Administration, and the Bush Administration, and each successive administration has said that somehow these communities are gonna regenerate and they have not. And it's not surprising then they get bitter, they cling to guns or religion or antipathy to people who aren't like them or anti-immigrant sentiment or anti-trade sentiment as a way to explain their frustrations.
Fowler later posted a three-minute 30 second audio snippet confirming the accuracy of the remark. Senators Clinton and John McCain both issued statements condemning the remarks. Obama later defended his comments, but conceded: "I didn't say it as well as I should have." However, he also added: "I said something that everybody knows is true." Obama had addressed similar themes of guns, religion, and economics in 2004 during an interview with Charlie Rose.

### Final week

On the last Friday before the primary, Senator Obama spoke on Independence Mall in Philadelphia, Pennsylvania, to a crowd of more than 35,000, the largest audience yet drawn by either candidate during the campaign. The crowd was nearly twice what had been projected and spilled over into nearby streets. The next day, Obama conducted a whistle stop train tour from Philadelphia to Harrisburg, drawing a crowd of 6,000 at a stop in Wynnewood and 3,000 at a stop in Paoli. On Monday, Sen. Obama held the final events of his Pennsylvania campaign in Scranton, McKeesport and at the University of Pittsburgh's Petersen Events Center.
The Saturday before the primary, Senator Clinton spoke in 5 Pennsylvania cities, including West Chester and York, Pennsylvania. More than 300 people showed up at the West Chester firehouse to hear the New York Senator speak. At the Wilson high gymnasium in West Lawn, Pennsylvania, Clinton told several hundred more supporters: "The job of a leader is to bring people together to solve problems . . . to understand that sometimes we have to fight to get the political will and the votes to make that happen". On Monday, April 21, Senator Clinton along with husband Bill Clinton spoke to a crowd of 6,000 in Downtown Pittsburgh. Other events were held Monday in Scranton, Harrisburg, and Philadelphia. Both candidates refused to participate in the political custom of street money.

### Polls

Public opinion polling from early January 2007 through mid-February 2008 consistently gave Hillary Clinton a double digit lead over Barack Obama. By the beginning of April, polls of Pennsylvanians showed Obama trailing Clinton by an average of 5 points. According to 2 polls taken one day before the primary, Hillary Clinton was leading Barack Obama by 49%–42% and 51%–41%. Other polls showed Clinton leading by an average of about 6%.
Some superdelegates also announced their preferred candidates before the primary. As of April 30, 16 superdelegates had announced support for Senator Clinton and 5 had announced support for Senator Obama.

### Results

Primary date: April 22, 2008
National pledged delegates determined: 158
Pennsylvania Democratic presidential primary, 2008 Official Results :
| Candidate | Votes | Percentage | Estimated national delegates |
| Hillary Clinton | 1,275,039 | 54.57% | 85 |
| Barack Obama | 1,061,441 | 45.43% | 73 |
| Totals | 2,336,480 | 100.0% | 158 |

## Republican primary

The Republican primary was also held on April 22 and voters also chose the Pennsylvania Republican Party's candidates for various state and local offices.
Polls opened at 7:00 am and closed at 8:00 pm. John McCain was the winner. He had already been declared the presumptive Republican presidential nominee, having secured enough delegate votes in earlier primary contests to win the nomination at the 2008 Republican National Convention.
Unlike on the Democratic side, little campaigning took place as John McCain had already clinched the nomination. Outsider candidate Ron Paul made several stops in the state, including his birthplace of Pittsburgh.
Official results :
| Candidate | Votes | Percentage | Delegates |
| John McCain | 594,061 | 72.86% | 74* |
| Ron Paul | 129,246 | 15.85% | 0 |
| Mike Huckabee* | 92,057 | 11.29% | 0 |
| Total | 815,364 | 100% | 74 |
*Delegates are essentially unpledged in the Pennsylvania Republican primary.
Some media sources noted that Ron Paul and Mike Huckabee combined took in around 220,000 votes (about 27% of the vote), despite McCain's status as presumptive nominee and the statistical irrelevance of Pennsylvania, as a possible sign of continuing social conservative or libertarian unease with McCain's nomination and have speculated about whether these results could potentially affect McCain in the November general election. Although some strategists disputed this theory, pointing to low turnout among McCain supporters and arguing that primary results would not necessarily influence the November election.

## Campaign
### Predictions

There were 16 news organizations who made state-by-state predictions of the election. Here are their last predictions before election day:
| Source | Ranking |
| D.C. Political Report | Likely D |
| Cook Political Report | Lean D |
| The Takeaway | Lean D |
| Electoral-vote.com | Lean D |
| Washington Post | Lean D |
| Politico | Lean D |
| RealClearPolitics | Lean D |
| FiveThirtyEight | Lean D |
| CQ Politics | Lean D |
| The New York Times | Lean D |
| CNN | Lean D |
| NPR | Lean D |
| MSNBC | Lean D |
| Fox News | Likely D |
| Associated Press | Likely D |
| Rasmussen Reports | Safe D |

### Polling

Both McCain and Obama led in various state polls taken from February until the end of April, when Obama took a steady, moderate lead in the state polling. Obama's lead was temporarily reduced to within margins of error and ties when Governor Sarah Palin of Alaska was announced as McCain's running mate in late August, but when the financial crisis of 2008 became a more potent election issue near the end of September, Obama then took a double-digit lead in the state polls, causing many analysts to no longer consider Pennsylvania a swing state in 2008. Nevertheless, John McCain campaigned heavily in the state near Election Day and some polls showed Obama's lead narrowing down to single digits. McCain hoped that Pennsylvania might be the swing state that ensured him a narrow victory. However, the economic crisis weighed heavily on the minds of voters across the country and in Pennsylvania it was no different where many voters blamed the Republicans for the collapse, ultimately helping Obama who ended up carrying Pennsylvania by a strong margin of 10.32%.

### Fundraising

Obama raised $14,043,740. McCain raised $5,188,757.

### Advertising and visits

Obama spent almost $42 million, while McCain spent almost $30 million. The Obama campaign visited the state 16 times. The McCain campaign visited here 31 times.

## Analysis

McCain did win more counties than Obama, but the counties carried by Obama were by far the most populated of the state, including Philadelphia, Allegheny and Lehigh counties, home to the state's three largest cities: Philadelphia, Pittsburgh and Allentown respectively.
Obama did extremely well throughout eastern Pennsylvania. He won more than 80% of voters in the city of Philadelphia, and two of its suburban counties gave him 3-to-2 margins (the other suburban counties also voted for Obama). Democratic margins from Philadelphia and its suburbs were more than Obama's statewide margin of victory. North of Philadelphia, the heavily industrialized, pro-union counties characterized by cities such as Scranton (birthplace of Obama's running mate, Joe Biden), Wilkes-Barre and Allentown strongly backed Obama as well. African-American and Latino voters, as well as younger college-age voters, in Monroe County and even in very Republican Pike and Wayne counties gave Obama a much greater share of the vote than Kerry received in 2004. He also managed to win four traditionally Republican counties in the eastern part of the state, Dauphin (home to the state capital, Harrisburg), Monroe, Chester, and Berks; the last Democrat to carry these counties was Lyndon Johnson in 1964. In addition, Obama remained competitive in the two most Republican counties in the eastern region: Lancaster (which gave George W. Bush his largest margin of victory in the entire state) and York. While John Kerry lost Lancaster by 32%, Obama lost the county by only 12%, a substantial improvement.
John McCain, however, did best in Southwestern Pennsylvania around Pittsburgh, a part of Appalachia and the central, rural "T". Central Pennsylvania is a Republican stronghold; John McCain won the vast majority of its counties, often by substantial margins. However, Southwestern Pennsylvania, until recently, was the most Democratic region of the state outside of Philadelphia. Historically, when a Democrat carried Pennsylvania, the entire lower-left corner of the state from Pittsburgh to Johnstown was coated blue. The heavily unionized, Appalachian counties in and around Pittsburgh strongly voted against Ronald Reagan in 1984; in that election the only other county in the state to vote Democratic was Philadelphia. In 2008, however, the Republicans won every single county in Southwestern Pennsylvania except for Allegheny County, home to Pittsburgh. It was one of the few regions of the country in which Obama did worse than John Kerry. This largely mirrored Obama's struggles throughout Appalachia throughout the Democratic primary, when voters in this region strongly backed Hillary Clinton.
As of the 2024 presidential election, this is the last election in which Carbon County, Elk County, Cambria County, and Berks County voted for the Democratic candidate. During the same election at the state level, Democrats picked up two seats in the Pennsylvania House of Representatives, but Republicans picked up one seat in the Pennsylvania Senate. Democrats also picked up a seat in the U.S. House of Representatives in Pennsylvania's 3rd Congressional District as Democrat Kathy Dahlkemper defeated 7-term incumbent Republican Phil English by a 2.48% margin of victory. Dahlkemper received 51.24% of the vote while English took in 48.76%.

## Results

2008 United States presidential election in Pennsylvania :
| Party | Party | Candidate | Running mate | Votes | Percentage | Electoral votes |
| | Democratic | Barack Obama | Joe Biden | 3,276,363 | 54.47% | 21 |
| | Republican | John McCain | Sarah Palin | 2,655,885 | 44.15% | 0 |
| | Independent | Ralph Nader | Matt Gonzalez | 42,977 | 0.71% | 0 |
| | Libertarian | Bob Barr | Wayne Allyn Root | 19,912 | 0.33% | 0 |
| | Constitution | Chuck Baldwin | Darrell Castle | 1,348 | 0.02% | 0 |
| | Write-ins | Write-ins | Write-ins | 17,043 | 0.28% | 0 |
| Totals | Totals | Totals | Totals | 6,015,477 | 100.00% | 21 |
| Voter turnout (Voting age population) | Voter turnout (Voting age population) | Voter turnout (Voting age population) | Voter turnout (Voting age population) | Voter turnout (Voting age population) | Voter turnout (Voting age population) | 63.7% |

### By county

| County | Barack Obama Democratic | Barack Obama Democratic | John McCain Republican | John McCain Republican | Ralph Nader Independent | Ralph Nader Independent | Bob Barr Libertarian | Bob Barr Libertarian | Various candidates Other parties | Various candidates Other parties | Margin | Margin | Total votes cast |
| County | # | % | # | % | # | % | # | % | # | % | # | % | Total votes cast |
| Adams | 17,633 | 39.41% | 26,349 | 58.89% | 355 | 0.79% | 154 | 0.34% | 250 | 0.55% | -8,716 | -19.48% | 44,741 |
| Allegheny | 373,153 | 57.05% | 272,347 | 41.64% | 3,927 | 0.60% | 2,009 | 0.31% | 2,603 | 0.39% | 100,806 | 15.41% | 654,039 |
| Armstrong | 11,138 | 36.80% | 18,542 | 61.27% | 263 | 0.87% | 138 | 0.46% | 182 | 0.60% | -7,404 | -24.47% | 30,263 |
| Beaver | 40,499 | 47.63% | 42,895 | 50.45% | 826 | 0.97% | 268 | 0.32% | 544 | 0.64% | -2,396 | -2.82% | 85,032 |
| Bedford | 6,059 | 26.87% | 16,124 | 71.51% | 164 | 0.73% | 96 | 0.43% | 105 | 0.46% | -10,065 | -44.64% | 22,548 |
| Berks | 97,047 | 53.76% | 80,513 | 44.60% | 1,614 | 0.89% | 826 | 0.46% | 511 | 0.28% | 16,534 | 9.16% | 180,511 |
| Blair | 19,813 | 37.17% | 32,708 | 61.37% | 335 | 0.63% | 246 | 0.46% | 196 | 0.37% | -12,895 | -24.20% | 53,298 |
| Bradford | 10,306 | 39.81% | 15,057 | 58.16% | 302 | 1.17% | 122 | 0.47% | 102 | 0.39% | -4,751 | -18.35% | 25,889 |
| Bucks | 179,031 | 53.71% | 150,248 | 45.08% | 2,405 | 0.72% | 1,240 | 0.37% | 400 | 0.12% | 28,783 | 8.63% | 333,324 |
| Butler | 32,260 | 35.54% | 57,074 | 62.88% | 722 | 0.80% | 369 | 0.41% | 336 | 0.37% | -24,814 | -27.34% | 90,761 |
| Cambria | 32,451 | 49.16% | 31,995 | 48.47% | 905 | 1.37% | 319 | 0.48% | 336 | 0.51% | 456 | 0.69% | 66,006 |
| Cameron | 879 | 38.95% | 1,323 | 58.62% | 34 | 1.51% | 9 | 0.40% | 12 | 0.53% | -444 | -19.67% | 2,257 |
| Carbon | 13,464 | 49.77% | 12,957 | 47.90% | 379 | 1.40% | 123 | 0.45% | 127 | 0.47% | 507 | 1.87% | 27,050 |
| Centre | 41,950 | 55.12% | 32,992 | 43.35% | 488 | 0.64% | 333 | 0.44% | 348 | 0.46% | 8,958 | 11.77% | 76,111 |
| Chester | 137,833 | 54.00% | 114,421 | 44.83% | 1,230 | 0.48% | 870 | 0.34% | 898 | 0.35% | 23,412 | 9.17% | 255,252 |
| Clarion | 6,756 | 37.79% | 10,737 | 60.06% | 169 | 0.95% | 104 | 0.58% | 111 | 0.62% | -3,981 | -22.27% | 17,877 |
| Clearfield | 14,555 | 42.78% | 18,662 | 54.85% | 443 | 1.30% | 153 | 0.45% | 209 | 0.61% | -4,107 | -12.07% | 34,022 |
| Clinton | 7,097 | 47.98% | 7,504 | 50.73% | 136 | 0.92% | 54 | 0.37% | 0 | 0.00% | -407 | -2.75% | 14,791 |
| Columbia | 13,230 | 46.79% | 14,477 | 51.20% | 264 | 0.93% | 92 | 0.33% | 215 | 0.76% | -1,247 | -4.41% | 28,278 |
| Crawford | 16,780 | 43.80% | 20,750 | 54.17% | 437 | 1.14% | 167 | 0.44% | 173 | 0.45% | -3,970 | -10.37% | 38,307 |
| Cumberland | 48,306 | 42.44% | 63,739 | 56.00% | 789 | 0.69% | 470 | 0.41% | 521 | 0.46% | -15,433 | -13.56% | 113,825 |
| Dauphin | 69,975 | 53.89% | 58,238 | 44.85% | 816 | 0.63% | 500 | 0.39% | 316 | 0.24% | 11,737 | 9.04% | 129,845 |
| Delaware | 178,870 | 60.12% | 115,273 | 38.75% | 1,955 | 0.66% | 906 | 0.30% | 506 | 0.17% | 63,597 | 21.37% | 297,510 |
| Elk | 7,290 | 50.76% | 6,676 | 46.48% | 220 | 1.53% | 85 | 0.59% | 91 | 0.63% | 614 | 4.28% | 14,362 |
| Erie | 75,775 | 59.07% | 50,351 | 39.25% | 1,167 | 0.91% | 398 | 0.31% | 580 | 0.45% | 25,424 | 19.82% | 128,271 |
| Fayette | 25,866 | 48.95% | 26,081 | 49.35% | 456 | 0.86% | 157 | 0.30% | 284 | 0.53% | -215 | -0.40% | 52,844 |
| Forest | 1,038 | 42.06% | 1,366 | 55.35% | 30 | 1.22% | 10 | 0.41% | 24 | 0.97% | -328 | -13.29% | 2,468 |
| Franklin | 21,169 | 33.12% | 41,906 | 65.56% | 370 | 0.58% | 196 | 0.31% | 276 | 0.43% | -20,737 | -32.44% | 63,917 |
| Fulton | 1,576 | 24.99% | 4,642 | 73.61% | 57 | 0.90% | 31 | 0.49% | 0 | 0.00% | -3,066 | -48.62% | 6,306 |
| Greene | 7,829 | 48.59% | 7,889 | 48.96% | 219 | 1.36% | 39 | 0.24% | 138 | 0.85% | -60 | -0.37% | 16,114 |
| Huntingdon | 6,621 | 35.35% | 11,745 | 62.70% | 196 | 1.05% | 70 | 0.37% | 99 | 0.53% | -5,124 | -27.35% | 18,731 |
| Indiana | 17,065 | 45.75% | 19,727 | 52.88% | 357 | 0.96% | 153 | 0.41% | 0 | 0.00% | -2,662 | -7.13% | 37,302 |
| Jefferson | 6,447 | 34.09% | 12,057 | 63.75% | 192 | 1.02% | 106 | 0.56% | 110 | 0.58% | -5,610 | -29.66% | 18,912 |
| Juniata | 3,068 | 31.25% | 6,484 | 66.04% | 107 | 1.09% | 52 | 0.53% | 108 | 1.10% | -3,416 | -34.79% | 9,819 |
| Lackawanna | 67,520 | 62.21% | 39,488 | 36.38% | 702 | 0.65% | 166 | 0.15% | 663 | 0.61% | 28,032 | 25.83% | 108,539 |
| Lancaster | 99,586 | 43.44% | 126,568 | 55.21% | 1,218 | 0.53% | 765 | 0.33% | 1,112 | 0.49% | -26,982 | -11.77% | 229,249 |
| Lawrence | 19,711 | 46.54% | 21,851 | 51.60% | 395 | 0.93% | 146 | 0.34% | 246 | 0.58% | -2,140 | -5.06% | 42,349 |
| Lebanon | 23,310 | 39.80% | 34,314 | 58.59% | 449 | 0.77% | 224 | 0.38% | 266 | 0.46% | -11,004 | -18.79% | 58,563 |
| Lehigh | 87,089 | 57.12% | 63,382 | 41.57% | 1,477 | 0.97% | 525 | 0.34% | 0 | 0.00% | 23,707 | 15.55% | 152,473 |
| Luzerne | 72,492 | 53.32% | 61,127 | 44.96% | 1,139 | 0.84% | 417 | 0.31% | 793 | 0.58% | 11,365 | 8.36% | 135,968 |
| Lycoming | 18,381 | 37.17% | 30,280 | 61.24% | 383 | 0.77% | 193 | 0.39% | 210 | 0.42% | -11,899 | -24.07% | 49,447 |
| McKean | 6,465 | 40.38% | 9,224 | 57.61% | 200 | 1.25% | 58 | 0.36% | 63 | 0.39% | -2,759 | -17.23% | 16,010 |
| Mercer | 26,411 | 48.76% | 26,565 | 49.04% | 611 | 1.13% | 234 | 0.43% | 347 | 0.64% | -154 | -0.28% | 54,168 |
| Mifflin | 5,375 | 32.40% | 10,929 | 65.89% | 157 | 0.95% | 41 | 0.25% | 85 | 0.51% | -5,554 | -33.49% | 16,587 |
| Monroe | 39,453 | 57.50% | 28,293 | 41.23% | 498 | 0.73% | 199 | 0.29% | 175 | 0.26% | 11,160 | 16.27% | 68,618 |
| Montgomery | 253,393 | 59.94% | 165,552 | 39.16% | 2,091 | 0.49% | 1,383 | 0.33% | 322 | 0.08% | 87,841 | 20.78% | 422,741 |
| Montour | 3,364 | 41.65% | 4,574 | 56.64% | 67 | 0.83% | 18 | 0.22% | 53 | 0.66% | -1,210 | -14.99% | 8,076 |
| Northampton | 75,255 | 55.35% | 58,551 | 43.07% | 1,253 | 0.92% | 528 | 0.39% | 367 | 0.27% | 16,704 | 12.28% | 135,954 |
| Northumberland | 14,329 | 42.00% | 19,018 | 55.75% | 415 | 1.22% | 177 | 0.52% | 175 | 0.52% | -4,689 | -13.75% | 34,114 |
| Perry | 6,396 | 32.22% | 13,058 | 65.79% | 198 | 1.00% | 93 | 0.47% | 103 | 0.52% | -6,662 | -33.57% | 19,848 |
| Philadelphia | 595,980 | 83.00% | 117,221 | 16.33% | 3,071 | 0.43% | 1,057 | 0.15% | 696 | 0.10% | 478,759 | 66.67% | 718,025 |
| Pike | 11,493 | 47.33% | 12,518 | 51.55% | 186 | 0.77% | 87 | 0.36% | 0 | 0.00% | -1,025 | -4.22% | 24,284 |
| Potter | 2,300 | 30.46% | 5,109 | 67.66% | 63 | 0.83% | 35 | 0.46% | 44 | 0.58% | -2,809 | -37.20% | 7,551 |
| Schuylkill | 28,300 | 44.49% | 33,767 | 53.09% | 702 | 1.10% | 288 | 0.45% | 548 | 0.86% | -5,467 | -8.60% | 63,605 |
| Snyder | 5,382 | 34.58% | 9,900 | 63.60% | 139 | 0.89% | 58 | 0.37% | 87 | 0.56% | -4,518 | -29.02% | 15,566 |
| Somerset | 12,878 | 36.41% | 21,686 | 61.32% | 401 | 1.13% | 203 | 0.57% | 200 | 0.08% | -8,808 | -24.91% | 35,368 |
| Sullivan | 1,233 | 39.44% | 1,841 | 58.89% | 32 | 1.02% | 14 | 0.45% | 6 | 0.19% | -608 | -19.45% | 3,126 |
| Susquehanna | 8,381 | 43.17% | 10,633 | 54.77% | 191 | 0.98% | 81 | 0.42% | 129 | 0.66% | -2,252 | -11.60% | 19,415 |
| Tioga | 6,390 | 35.25% | 11,326 | 62.48% | 177 | 0.98% | 91 | 0.50% | 142 | 0.77% | -4,936 | -27.23% | 18,126 |
| Union | 7,333 | 41.96% | 9,859 | 56.42% | 136 | 0.78% | 72 | 0.41% | 75 | 0.43% | -2,526 | -14.46% | 17,475 |
| Venango | 9,238 | 39.34% | 13,718 | 58.42% | 250 | 1.06% | 101 | 0.43% | 174 | 0.74% | -4,480 | -19.08% | 23,481 |
| Warren | 8,537 | 45.74% | 9,685 | 51.89% | 222 | 1.20% | 73 | 0.39% | 146 | 0.78% | -1,148 | -6.15% | 18,663 |
| Washington | 46,122 | 46.82% | 50,752 | 51.52% | 841 | 0.85% | 332 | 0.34% | 469 | 0.48% | -4,630 | -4.70% | 98,516 |
| Wayne | 9,892 | 43.14% | 12,702 | 55.39% | 191 | 0.83% | 50 | 0.22% | 97 | 0.41% | -2,810 | -12.25% | 22,932 |
| Westmoreland | 72,721 | 40.96% | 102,294 | 57.62% | 1,301 | 0.73% | 557 | 0.31% | 674 | 0.38% | -29,573 | -16.66% | 177,547 |
| Wyoming | 5,985 | 45.26% | 6,983 | 52.81% | 120 | 0.91% | 50 | 0.38% | 85 | 0.64% | -998 | -7.55% | 13,223 |
| York | 82,839 | 42.42% | 109,268 | 55.95% | 1,372 | 0.70% | 731 | 0.37% | 1,076 | 0.55% | -26,429 | -13.53% | 195,286 |
| Totals | 3,276,363 | 54.47% | 2,655,885 | 44.15% | 42,977 | 0.71% | 19,912 | 0.33% | 20,339 | 0.34% | 620,478 | 10.32% | 6,015,476 |

#### Counties that flipped from Democratic to Republican

* Beaver (largest city: Beaver)
* Fayette (largest borough: Uniontown)
* Washington (largest borough: Washington)

#### Counties that flipped from Republican to Democratic

* Berks (largest borough: Reading)
* Cambria (largest city: Johnstown)
* Carbon (largest borough: Jim Thorpe)
* Centre (largest borough: Bellefonte)
* Chester (largest borough: West Chester)
* Dauphin (largest borough: Harrisburg)
* Elk (largest borough: Ridgway)
* Monroe (largest borough: Stroudsburg)

### By congressional district

Although Barack Obama won Pennsylvania, John McCain carried 10 of the commonwealth's 19 congressional districts, including four districts held by Democrats. One district, PA-03, was extremely close, however, with McCain only winning by 17 votes. Obama won 9 districts, including two districts held by Republicans.
| District | McCain | Obama | Representative |
| 1st | 11.71% | 87.74% | Bob Brady |
| 2nd | 9.51% | 89.97% | Chaka Fattah |
| 3rd | 49.072% | 49.067% | Phil English (110th Congress) |
| 3rd | 49.072% | 49.067% | Kathy Dahlkemper (111th Congress) |
| 4th | 54.51% | 44.04% | Jason Altmire |
| 5th | 54.23% | 43.86% | John E. Peterson (110th Congress) |
| 5th | 54.23% | 43.86% | Glenn Thompson (111th Congress) |
| 6th | 41.15% | 57.64% | Jim Gerlach |
| 7th | 43.13% | 55.75% | Joe Sestak |
| 8th | 44.97% | 53.82% | Patrick Murphy |
| 9th | 63.20% | 35.23% | Bill Shuster |
| 10th | 53.28% | 45.02% | Chris Carney |
| 11th | 41.80% | 56.55% | Paul Kanjorski |
| 12th | 49.24% | 48.92% | John Murtha |
| 13th | 40.53% | 58.48% | Allyson Schwartz |
| 14th | 28.84% | 69.78% | Mike Doyle |
| 15th | 43.16% | 55.44% | Charlie Dent |
| 16th | 51.03% | 47.67% | Joe Pitts |
| 17th | 50.94% | 47.41% | Tim Holden |
| 18th | 54.67% | 44.02% | Tim Murphy |
| 19th | 55.92% | 42.45% | Todd Platts |

## Electors

Technically the voters of Pennsylvania cast their ballots for electors: representatives to the Electoral College. Pennsylvania is allocated 21 electors because it has 19 congressional districts and 2 senators. All candidates who appear on the ballot or qualify to receive write-in votes must submit a list of 21 electors, who pledge to vote for their candidate and his or her running mate. Whoever wins the majority of votes in the state is awarded all 21 electoral votes. Their chosen electors then vote for president and vice president. Although electors are pledged to their candidate and running mate, they are not obligated to vote for them. An elector who votes for someone other than his or her candidate is known as a faithless elector.
The electors of each state and the District of Columbia met on December 15, 2008, to cast their votes for president and vice president. The Electoral College itself never meets as one body. Instead the electors from each state and the District of Columbia met in their respective capitols.
The following were the members of the Electoral College from the state. All 20 were pledged to Barack Obama and Joe Biden:
* Lynne Abraham
* Christopher Lewis
* John Brenne
* Valerie McDonald-Roberts
* Eileen Connell
* Thomas McMahon
* Kathi Cozzone
* Robert Mello
* John Fetterman
* Michael A. Nutter
* William George
* Corey O'Brien
* Patrick B. Gillespie
* Josh Shapiro
* Richard Gray
* Jack Wagner
* Franco Harris
* Michael Washo
* George Hartwick
* Daylin Leach