# 2012 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 :
2012 U.S. presidential election :
Timeline
General election debates
Electors
Polling
nationwide
statewide
Parties :
Democratic Party :
Candidates
Primaries
Results
Nominee
Convention :
Republican Party :
Prelude
Candidates
Debates and forums
Primaries
National polling
Statewide polling
Straw polls
Results
Nominee
VP candidate selection
Convention
Endorsements :
Minor parties :
Libertarian Party
candidates
primaries
nominee
convention
Green Party
primaries
nominee
convention
Constitution Party
nominee
convention
Justice Party
nominee
Americans Elect
All candidates :
Related races :
House
Senate
Governors
Vice President
Democratic
Republican :
| ← 2008 | 2012 | 2016 → |
vte :
The 2012 United States presidential election in Pennsylvania took place on November 6, 2012, as part of the 2012 United States presidential election in which all 50 states plus the District of Columbia participated. The primary election to select the Democratic and Republican candidates had been held on April 24, 2012. Pennsylvania voters chose 20 electors to represent them in the Electoral College via a popular vote pitting incumbent Democratic President Barack Obama and his running mate, Vice President Joe Biden, against Republican challenger and former Massachusetts Governor Mitt Romney and his running mate, Congressman Paul Ryan. Pennsylvania's electoral vote number was a reduction from the 2008 delegation, which had 21 electors. This change was due to reapportionment following the 2010 United States census. Pennsylvania's 20 electoral votes are allotted on a winner-take-all basis.
Democratic incumbent President Barack Obama received 51.97% of the vote, beating Republican challenger Mitt Romney's 46.59%. Also on the ballot were physician Jill Stein of the Green Party and former New Mexico Governor Gary Johnson of the Libertarian Party, who received 0.37% and 0.87%, respectively. Other candidates could run as write-in candidates, which received a total 0.2% of the vote. The state had been considered likely, but not certain, to go to Obama. While the state had voted for a Democrat since 1992, it remained competitive, especially after Bush's loss of only 2.5% in 2004. Its competitiveness was attributable to the stark contrast between the state's diverse, urban voters in areas such as Philadelphia and Pittsburgh; and rural, blue-collar voters in the rest of the state. However, massive margins in the urban regions of the state and victories in the Philadelphia suburbs, Lehigh Valley, Scranton, and Erie delivered a considerable victory for the president. Regardless, Romney improved on John McCain's 10.32% loss in the state in 2008, and flipped five counties that voted for Obama four years prior.
Five counties that voted for Obama in 2008 voted for Romney in 2012. This included Cambria County, which made Obama the first Democrat to win the presidency without carrying the county since Woodrow Wilson in 1916. Chester County, a Philadelphia suburb, also voted for Romney, though it would flip back into the Democratic column in 2016 and remain there in 2020. Obama became the first Democrat to win the White House without carrying Elk County since Franklin D. Roosevelt in 1940, and the first to do so without carrying Carbon County since John F. Kennedy in 1960. As of the 2024 presidential election, this is the last time that Chester County voted for the Republican candidate, that Luzerne County voted for the Democratic candidate, and that Pennsylvania voted more Democratic than the nation as a whole.

## Primary elections
### Democratic primary

Incumbent Barack Obama ran unopposed on the Democratic primary ballot. He received 616,102 votes. There were 19,082 write-in votes. In the floor vote taken at the Democratic National Convention, 242 Pennsylvania delegates voted for Obama, while the other 8 of the state's 250 allocated votes were not announced.

### Republican primary

Four candidates were on the Republican primary ballot: Mitt Romney, former Senator from Pennsylvania Rick Santorum, U.S. Representative from Texas Ron Paul, and former Speaker of the House Newt Gingrich. His home state was set to be the make-or-break primary for Santorum. He had just lost 3 primaries to Romney, and Romney appeared poised to become the presumptive nominee by achieving a prohibitive lead.
As momentum in the Republican race built for Romney, Santorum suspended his campaign for four days to meet with 'movement conservatives' to strategize. Rather than returning to campaigning the next Monday, Rick and Karen Santorum canceled campaign events scheduled right after Easter weekend to be in the hospital with their youngest daughter.
In deference to the sick child, Romney ceased airing attack ads, replacing them with positive introductory ones.
On April 10, Santorum formally suspended his campaign. On May 7, he endorsed Romney. Santorum and Gingrich both released their delegates to Romney in August, shortly before the Republican National Convention.
| Candidate | Votes | Percentage | Projected delegates | Actual delegate vote |
| Mitt Romney | 468,374 | 57.8% | 31 | 67 |
| Rick Santorum | 149,056 | 18.4% | 4 | 0 |
| Ron Paul | 106,148 | 13.1% | 5 | 5 |
| Newt Gingrich | 84,537 | 10.4% | 3 | 0 |
| Write-in votes | 2,819 | 0.3% | | |
| Unprojected delegates | Unprojected delegates | Unprojected delegates | 29 | |
| Total: | 810,934 | 100% | 72 | 72 |

## General election
### Polling

In statewide opinion polling, incumbent Barack Obama consistently led challenger Mitt Romney by a margin of between 2 and 12 percentage points. Analysts rated Pennsylvania as a "likely Democratic" or "Democratic-leaning" state in the presidential race. On the morning of the election, polling aggregator FiveThirtyEight estimated that there was a 99% likelihood that Obama would win Pennsylvania's electoral votes. At the time, Pennsylvania's electoral votes had gone to the Democratic candidate in every presidential election since Bill Clinton won it in 1992. The average of the last three polls had Obama leading Romney 51% to 46%, which was very close to the actual result.
During the summer, there was significant spending on political advertisements in Pennsylvania, by both the Obama campaign and pro-Romney groups such as Crossroads GPS and Americans for Prosperity. However, because Obama maintained a consistent lead in polling, Pennsylvania came to be considered a "safe state" for Obama, and campaign advertising subsided substantially in August. This changed in October, when pro-Romney groups Restore Our Future and Americans for Job Security spent $3 million on advertising in Pennsylvania. Later that month, the Obama campaign and the Romney campaign both launched their own advertising campaigns in Pennsylvania. On November 1, the Republican National Committee announced that it would spend $3 million on television ads in Pennsylvania in the final days of the campaign. In total, pro-Romney spending in Pennsylvania was estimated to amount to as much as $12 million, much more than Obama campaign spending. The Obama campaign characterized the pro-Romney spending surge as "an act of sheer desperation", while the Romney campaign argued that they had a realistic chance of winning the state. In the end, Obama carried the state by a modest margin, albeit narrower than his 2008 landslide over Senator John McCain.

### Predictions

| Source | Ranking | As of |
| Huffington Post | Lean D | November 6, 2012 |
| CNN | Lean D | November 6, 2012 |
| New York Times | Tossup | November 6, 2012 |
| Washington Post | Lean D | November 6, 2012 |
| RealClearPolitics | Tossup | November 6, 2012 |
| Sabato's Crystal Ball | Lean D | November 5, 2012 |
| FiveThirtyEight | Solid D | November 6, 2012 |

### Results

2012 U.S. presidential election in Pennsylvania :
| Party | Party | Candidate | Votes | % |
| | Democratic | Barack Obama (incumbent) | 2,990,274 | 51.97 |
| | Republican | Mitt Romney | 2,680,434 | 46.59 |
| | Libertarian | Gary Johnson | 49,991 | 0.87 |
| | Green | Jill Stein | 21,341 | 0.37 |
| | Other | Other | 11,630 | 0.20 |
| Total votes | Total votes | Total votes | 5,753,670 | 100.0 |

#### By county

| County | Barack Obama Democratic | Barack Obama Democratic | Mitt Romney Republican | Mitt Romney Republican | Gary Johnson Libertarian | Gary Johnson Libertarian | Jill Stein Green | Jill Stein Green | Various candidates Other parties | Various candidates Other parties | Margin | Margin | Total votes cast |
| County | # | % | # | % | # | % | # | % | # | % | # | % | Total votes cast |
| Adams | 15,091 | 35.40% | 26,767 | 62.80% | 437 | 1.03% | 162 | 0.38% | 168 | 0.39% | -11,676 | -27.40% | 42,625 |
| Allegheny | 352,687 | 56.54% | 262,039 | 42.01% | 5,196 | 0.83% | 2,159 | 0.35% | 1,746 | 0.28% | 90,648 | 14.53% | 623,827 |
| Armstrong | 9,045 | 30.43% | 20,142 | 67.77% | 297 | 1.00% | 118 | 0.40% | 119 | 0.40% | -11,097 | -37.34% | 29,721 |
| Beaver | 37,055 | 45.86% | 42,344 | 52.41% | 794 | 0.98% | 281 | 0.35% | 319 | 0.39% | -5,289 | -6.55% | 80,793 |
| Bedford | 4,788 | 22.01% | 16,702 | 76.79% | 143 | 0.66% | 64 | 0.29% | 53 | 0.24% | -11,914 | -54.78% | 21,750 |
| Berks | 83,011 | 48.64% | 84,702 | 49.63% | 1,832 | 1.07% | 775 | 0.45% | 356 | 0.21% | -1,691 | -0.99% | 170,676 |
| Blair | 16,276 | 32.32% | 33,319 | 66.16% | 464 | 0.92% | 182 | 0.36% | 124 | 0.25% | -17,043 | -33.84% | 50,365 |
| Bradford | 8,624 | 36.64% | 14,410 | 61.21% | 243 | 1.03% | 149 | 0.63% | 114 | 0.48% | -5,786 | -24.57% | 23,540 |
| Bucks | 160,521 | 49.97% | 156,579 | 48.74% | 2,863 | 0.89% | 1,053 | 0.33% | 250 | 0.08% | 3,942 | 1.23% | 321,266 |
| Butler | 28,550 | 31.83% | 59,761 | 66.62% | 819 | 0.91% | 315 | 0.35% | 254 | 0.28% | -31,211 | -34.79% | 89,699 |
| Cambria | 24,249 | 40.06% | 35,163 | 58.10% | 712 | 1.18% | 402 | 0.66% | 0 | 0.00% | -10,914 | -18.04% | 60,526 |
| Cameron | 724 | 34.07% | 1,359 | 63.95% | 19 | 0.89% | 9 | 0.42% | 14 | 0.66% | -635 | -29.88% | 2,125 |
| Carbon | 11,580 | 45.07% | 13,504 | 52.56% | 356 | 1.39% | 141 | 0.55% | 113 | 0.44% | -1,924 | -7.49% | 25,694 |
| Centre | 34,176 | 48.90% | 34,001 | 48.65% | 1,049 | 1.50% | 400 | 0.57% | 260 | 0.37% | 175 | 0.25% | 69,886 |
| Chester | 124,311 | 49.22% | 124,840 | 49.43% | 2,082 | 0.82% | 740 | 0.29% | 603 | 0.24% | -529 | -0.21% | 252,576 |
| Clarion | 5,056 | 31.08% | 10,828 | 66.55% | 208 | 1.28% | 94 | 0.58% | 84 | 0.52% | -5,772 | -35.47% | 16,270 |
| Clearfield | 11,121 | 34.62% | 20,347 | 63.34% | 339 | 1.06% | 160 | 0.50% | 155 | 0.48% | -9,226 | -28.72% | 32,122 |
| Clinton | 5,734 | 43.08% | 7,303 | 54.86% | 171 | 1.28% | 57 | 0.43% | 46 | 0.35% | -1,569 | -11.78% | 13,311 |
| Columbia | 10,937 | 42.48% | 14,236 | 55.30% | 324 | 1.26% | 126 | 0.49% | 121 | 0.47% | -3,299 | -12.82% | 25,744 |
| Crawford | 13,883 | 39.02% | 20,901 | 58.75% | 436 | 1.23% | 168 | 0.47% | 187 | 0.52% | -7,018 | -19.73% | 35,575 |
| Cumberland | 44,367 | 39.90% | 64,809 | 58.29% | 1,191 | 1.07% | 447 | 0.40% | 377 | 0.34% | -20,442 | -18.39% | 111,191 |
| Dauphin | 64,965 | 52.26% | 57,450 | 46.22% | 1,128 | 0.91% | 465 | 0.37% | 293 | 0.24% | 7,515 | 6.04% | 124,301 |
| Delaware | 171,792 | 60.16% | 110,853 | 38.82% | 2,002 | 0.70% | 917 | 0.32% | 0 | 0.00% | 60,939 | 21.34% | 285,564 |
| Elk | 5,463 | 41.14% | 7,579 | 57.08% | 117 | 0.88% | 79 | 0.59% | 41 | 0.31% | -2,116 | -15.94% | 13,279 |
| Erie | 68,036 | 57.12% | 49,025 | 41.16% | 1,087 | 0.91% | 471 | 0.40% | 495 | 0.42% | 19,011 | 15.96% | 119,114 |
| Fayette | 21,971 | 45.16% | 26,018 | 53.48% | 365 | 0.75% | 151 | 0.31% | 144 | 0.30% | -4,047 | -8.32% | 48,649 |
| Forest | 896 | 38.55% | 1,383 | 59.51% | 23 | 0.99% | 10 | 0.43% | 12 | 0.52% | -487 | -20.96% | 2,324 |
| Franklin | 18,995 | 30.00% | 43,260 | 68.32% | 571 | 0.90% | 252 | 0.40% | 242 | 0.38% | -24,265 | -38.32% | 63,320 |
| Fulton | 1,310 | 21.06% | 4,814 | 77.38% | 50 | 0.80% | 21 | 0.34% | 26 | 0.42% | -3,504 | -56.32% | 6,221 |
| Greene | 5,852 | 40.23% | 8,428 | 57.94% | 116 | 0.80% | 68 | 0.47% | 82 | 0.56% | -2,576 | -17.71% | 14,546 |
| Huntingdon | 5,409 | 30.57% | 11,979 | 67.71% | 135 | 0.76% | 116 | 0.66% | 53 | 0.30% | -6,570 | -37.14% | 17,692 |
| Indiana | 14,473 | 39.71% | 21,257 | 58.33% | 385 | 1.06% | 206 | 0.57% | 123 | 0.34% | -6,784 | -18.62% | 36,444 |
| Jefferson | 4,787 | 26.33% | 13,048 | 71.78% | 173 | 0.95% | 89 | 0.49% | 81 | 0.44% | -8,261 | -45.45% | 18,178 |
| Juniata | 2,547 | 26.55% | 6,862 | 71.52% | 83 | 0.87% | 43 | 0.45% | 60 | 0.63% | -4,315 | -44.97% | 9,595 |
| Lackawanna | 61,838 | 62.87% | 35,085 | 35.67% | 743 | 0.76% | 349 | 0.35% | 336 | 0.34% | 26,753 | 27.20% | 98,351 |
| Lancaster | 88,481 | 39.62% | 130,669 | 58.50% | 2,527 | 1.13% | 759 | 0.34% | 915 | 0.41% | -42,188 | -18.88% | 223,351 |
| Lawrence | 17,513 | 44.69% | 21,047 | 53.71% | 334 | 0.85% | 142 | 0.36% | 153 | 0.39% | -3,534 | -9.02% | 39,189 |
| Lebanon | 19,900 | 35.05% | 35,872 | 63.18% | 589 | 1.04% | 219 | 0.39% | 197 | 0.35% | -15,972 | -28.13% | 56,777 |
| Lehigh | 78,283 | 53.17% | 66,874 | 45.42% | 1,331 | 0.90% | 514 | 0.35% | 222 | 0.15% | 11,409 | 7.75% | 147,224 |
| Luzerne | 64,307 | 51.51% | 58,325 | 46.72% | 1,261 | 1.01% | 546 | 0.44% | 406 | 0.33% | 5,982 | 4.79% | 124,845 |
| Lycoming | 15,203 | 32.58% | 30,658 | 65.69% | 409 | 0.88% | 223 | 0.48% | 176 | 0.38% | -15,455 | -33.11% | 46,669 |
| McKean | 5,297 | 34.95% | 9,545 | 62.99% | 178 | 1.17% | 88 | 0.58% | 46 | 0.30% | -4,248 | -28.04% | 15,154 |
| Mercer | 24,232 | 47.48% | 25,925 | 50.79% | 487 | 0.95% | 219 | 0.43% | 176 | 0.34% | -1,693 | -3.31% | 51,039 |
| Mifflin | 4,273 | 26.03% | 11,939 | 72.73% | 107 | 0.65% | 52 | 0.32% | 45 | 0.27% | -7,666 | -46.70% | 16,416 |
| Monroe | 35,221 | 55.89% | 26,867 | 42.63% | 596 | 0.95% | 233 | 0.37% | 106 | 0.17% | 8,354 | 13.26% | 63,023 |
| Montgomery | 233,356 | 56.52% | 174,381 | 42.24% | 3,253 | 0.79% | 1,210 | 0.29% | 669 | 0.16% | 58,975 | 14.28% | 412,869 |
| Montour | 3,053 | 38.85% | 4,652 | 59.19% | 96 | 1.22% | 30 | 0.38% | 28 | 0.36% | -1,599 | -20.34% | 7,859 |
| Northampton | 67,606 | 51.59% | 61,446 | 46.89% | 1,188 | 0.91% | 495 | 0.38% | 309 | 0.24% | 6,160 | 4.70% | 131,044 |
| Northumberland | 13,072 | 39.19% | 19,518 | 58.51% | 422 | 1.27% | 200 | 0.60% | 144 | 0.43% | -6,446 | -19.32% | 33,356 |
| Perry | 5,685 | 29.59% | 13,120 | 68.28% | 238 | 1.24% | 85 | 0.44% | 87 | 0.45% | -7,435 | -38.69% | 19,215 |
| Philadelphia | 588,806 | 85.24% | 96,467 | 13.97% | 2,892 | 0.42% | 2,162 | 0.31% | 449 | 0.06% | 492,339 | 71.27% | 690,776 |
| Pike | 10,210 | 43.86% | 12,786 | 54.93% | 194 | 0.83% | 89 | 0.38% | 0 | 0.00% | -2,576 | -11.07% | 23,279 |
| Potter | 1,897 | 26.06% | 5,231 | 71.86% | 78 | 1.07% | 36 | 0.49% | 37 | 0.51% | -3,334 | -45.80% | 7,279 |
| Schuylkill | 24,546 | 42.29% | 32,278 | 55.61% | 617 | 1.06% | 286 | 0.49% | 321 | 0.55% | -7,732 | -13.32% | 58,048 |
| Snyder | 4,687 | 31.11% | 10,073 | 66.85% | 180 | 1.19% | 62 | 0.41% | 66 | 0.44% | -5,386 | -35.74% | 15,068 |
| Somerset | 9,436 | 27.69% | 23,984 | 70.38% | 334 | 0.98% | 188 | 0.55% | 136 | 0.40% | -14,548 | -42.69% | 34,078 |
| Sullivan | 1,034 | 35.06% | 1,868 | 63.34% | 30 | 1.02% | 17 | 0.58% | 0 | 0.00% | -834 | -28.28% | 2,949 |
| Susquehanna | 6,935 | 38.28% | 10,800 | 59.62% | 202 | 1.12% | 107 | 0.59% | 72 | 0.40% | -3,865 | -21.34% | 18,116 |
| Tioga | 5,357 | 31.34% | 11,342 | 66.35% | 195 | 1.14% | 110 | 0.64% | 90 | 0.53% | -5,985 | -35.01% | 17,094 |
| Union | 6,109 | 37.39% | 9,896 | 60.57% | 184 | 1.13% | 79 | 0.48% | 69 | 0.42% | -3,787 | -23.18% | 16,337 |
| Venango | 7,945 | 35.70% | 13,815 | 62.07% | 299 | 1.34% | 108 | 0.49% | 90 | 0.40% | -5,870 | -26.37% | 22,257 |
| Warren | 6,995 | 40.44% | 10,010 | 57.86% | 205 | 1.19% | 89 | 0.51% | 0 | 0.00% | -3,015 | -17.42% | 17,299 |
| Washington | 40,345 | 42.48% | 53,230 | 56.04% | 854 | 0.90% | 321 | 0.34% | 228 | 0.24% | -12,885 | -13.56% | 94,978 |
| Wayne | 8,396 | 38.74% | 12,896 | 59.50% | 195 | 0.90% | 120 | 0.55% | 67 | 0.31% | -4,500 | -20.76% | 21,674 |
| Westmoreland | 63,722 | 37.58% | 103,932 | 61.29% | 1,426 | 0.84% | 492 | 0.29% | 0 | 0.00% | -40,210 | -23.71% | 169,572 |
| Wyoming | 5,061 | 42.45% | 6,587 | 55.26% | 152 | 1.28% | 72 | 0.60% | 49 | 0.42% | -1,526 | -12.81% | 11,921 |
| York | 73,191 | 38.52% | 113,304 | 59.63% | 1,985 | 1.04% | 749 | 0.39% | 776 | 0.41% | -40,113 | -21.11% | 190,005 |
| Totals | 2,990,274 | 51.95% | 2,680,434 | 46.57% | 49,991 | 0.87% | 21,341 | 0.37% | 13,580 | 0.24% | 309,840 | 5.38% | 5,755,620 |

##### Counties that flipped from Democratic to Republican

* Berks (largest city: Reading)
* Cambria (largest city: Johnstown)
* Carbon (largest borough: Lehighton)
* Chester (largest city: West Chester)
* Elk (largest city: St. Marys)

#### By congressional district

Despite losing the state overall, Romney won 13 of the 18 congressional districts.
| District | Romney | Obama | Representative |
| 1st | 16.89% | 82.26% | Bob Brady |
| 2nd | 8.95% | 90.41% | Chaka Fattah |
| 3rd | 55.60% | 43.05% | Mike Kelly |
| 4th | 57.07% | 41.51% | Jason Altmire |
| 4th | 57.07% | 41.51% | Scott Perry |
| 5th | 56.95% | 41.35% | Glenn Thompson |
| 6th | 50.57% | 48.12% | Jim Gerlach |
| 7th | 50.36% | 48.53% | Pat Meehan |
| 8th | 49.42% | 49.35% | Mike Fitzpatrick |
| 9th | 62.82% | 35.87% | Bill Shuster |
| 10th | 60.11% | 38.46% | Tom Marino |
| 11th | 53.90% | 44.57% | Lou Barletta |
| 12th | 57.81% | 40.94% | Mark Critz |
| 12th | 57.81% | 40.94% | Keith Rothfus |
| 13th | 32.91% | 66.17% | Allyson Schwartz |
| 14th | 30.64% | 67.99% | Mike Doyle |
| 15th | 50.78% | 47.87% | Charlie Dent |
| 16th | 52.35% | 46.25% | Joe Pitts |
| 17th | 43.26% | 55.38% | Tim Holden |
| 17th | 43.26% | 55.38% | Matt Cartwright |
| 18th | 57.95% | 40.99% | Tim Murphy |