# 2012 United States presidential election in Maryland

Elections in Maryland :
Federal government
Presidential elections
1788–89
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
2012
2016
2020
2024
U.S. Senate elections
1788
1790
1791
1793
1793 sp
1795
1796
1796 sp
1797 sp
1800 sp
1801 sp
1802
1806
1806 sp
1808
1809
1813 sp
1816 sp
1819
1819 sp
1821
1822 sp
1825
1826 sp
1827
1831
1833
1835 sp
1836 sp
1837
1838 sp
1839
1839 sp
1841 sp
1843
1849
1850 sp
1851
1855
1861
1864 sp
1865 sp
1868 sp
1874
1878
1880
1884
1886
1890
1892
1892 sp
1896
1898
1902
1904
1908
1908 sp
1910
1913 sp
1916
1914
1920
1922
1928
1926
1932
1934
1938
1940
1944
1946
1950
1952
1956
1958
1962
1964
1968
1970
1974
1976
1980
1982
1986
1988
1992
1994
1998
2000
2004
2006
2010
2012
2016
2018
2022
2024
U.S. House of Representatives elections
1789
1790
1791
3rd sp
1792
1793
2nd sp
1794
2nd sp
3rd sp
1796
2nd sp
3rd sp
1798
7th sp
1801
1802
2nd sp
1803
1804
4th sp
1806
7th sp
1808
1810
4th sp
7th sp
1811
6th sp
1812
1814
1816
3rd sp
5th sp
1818
1820
1822
1823
5th sp
1824
1826
2nd sp
1829
1831
1832
6th sp
1833
1834
1st sp
1835
1837
1839
1841
1843
1844
1845
1847
1849
1851
1853
1855
1857
1859
1861
1863
1864
1866
1868
1870
1872
1874
1876
1878
1880
1882
1884
1886
1888
1890
1892
1st sp
1894
1st sp
5th sp
1896
1898
1900
1st sp
1902
1904
1906
1908
1910
1912
1913
3rd sp
1914
1st sp
1916
1918
2nd sp
1920
1922
1924
5th sp
1926
1928
1930
1932
4th sp
1934
1936
1938
1939
1st sp
5th sp
1940
1941
6th sp
1942
1944
1946
1947
3rd sp
1948
1950
1952
1954
1956
1958
1960
1962
1964
1966
1968
1970
1971
1st sp
1972
1973
1st sp
1974
1976
1978
1980
1981
5th sp
1982
1984
1986
1988
1990
1992
1994
1996
7th sp
1998
2000
2002
2004
2006
2008
4th sp
2010
2012
2014
2016
2018
2020
7th sp
2022
2024
6th :
State government
General elections
2006
2010
2020
2022
2024
Gubernatorial elections
1838
1841
1844
1847
1850
1853
1857
1861
1864
1867
1871
1875
1879
1883
1887
1891
1895
1899
1903
1907
1911
1915
1919
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1969 sp
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
Attorney General elections
1895
1899
1903
1907
1911
1915
1919
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1996
2002
2006
2010
2014
2018
2022
Comptroller elections
1895
1897
1899
1901
1903
1905
1907
1909
1911
1913
1915
1917
1919
1921
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1996
2002
2006
2010
2014
2018
2022
Senate elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
House of Delegates elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022 :
County government
County executive elections
2002
2006
2010
2014
2018
2022
2025 sp
County offices
2006
2010
2018
2022 :
Ballot measures
1992
Question 6
2012
Question 4
Question 6
2022
Question 4
2024
Question 1 :
Annapolis
Mayoral elections
2017
2021
2025 :
Baltimore
Mayoral elections
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–04
2007
2011
2016
2020
2024
Ballot measures
Question P :
Government :
vte :
The 2012 United States presidential election in Maryland 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. Maryland voters chose 10 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.
Maryland is one of six states where Obama performed better in 2012 than in 2008, with his percentage of the vote increasing from 61.92% to 61.97%. He managed to flip Somerset County but lost Kent County which he won in 2008. In this election, Maryland voted 22.21% to the left of the nation at-large.
As of the 2024 presidential election, this is the last time a Republican won Anne Arundel County and a Democrat won Somerset County.

## Primary elections
### Republican primary

The Republican primary took place on April 3, 2012, the same day as the District of Columbia Republican primary and the Wisconsin Republican primary. After the primary, 37 delegates were selected to attend the Republican National Convention.
2012 Maryland Republican presidential primary :
| Candidate | Votes | Percentage | Delegates |
| Mitt Romney | 117,527 | 49.2% | 37 |
| Rick Santorum | 69,020 | 28.9% | 0 |
| Newt Gingrich | 26,088 | 10.9% | 0 |
| Ron Paul | 22,698 | 9.5% | 0 |
| Jon Huntsman, Jr. | 1,406 | 0.6% | 0 |
| Rick Perry | 1,041 | 0.4% | 0 |
| Buddy Roemer | 858 | 0.4% | 0 |
| Fred Karger | 342 | 0.1% | 0 |
| Unprojected delegates: | Unprojected delegates: | Unprojected delegates: | 3 |
| Total: | 238,987 | 100% | 37 |
Elections in Maryland :
Federal government
Presidential elections
1788–89
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
2012
2016
2020
2024
U.S. Senate elections
1788
1790
1791
1793
1793 sp
1795
1796
1796 sp
1797 sp
1800 sp
1801 sp
1802
1806
1806 sp
1808
1809
1813 sp
1816 sp
1819
1819 sp
1821
1822 sp
1825
1826 sp
1827
1831
1833
1835 sp
1836 sp
1837
1838 sp
1839
1839 sp
1841 sp
1843
1849
1850 sp
1851
1855
1861
1864 sp
1865 sp
1868 sp
1874
1878
1880
1884
1886
1890
1892
1892 sp
1896
1898
1902
1904
1908
1908 sp
1910
1913 sp
1916
1914
1920
1922
1928
1926
1932
1934
1938
1940
1944
1946
1950
1952
1956
1958
1962
1964
1968
1970
1974
1976
1980
1982
1986
1988
1992
1994
1998
2000
2004
2006
2010
2012
2016
2018
2022
2024
U.S. House of Representatives elections
1789
1790
1791
3rd sp
1792
1793
2nd sp
1794
2nd sp
3rd sp
1796
2nd sp
3rd sp
1798
7th sp
1801
1802
2nd sp
1803
1804
4th sp
1806
7th sp
1808
1810
4th sp
7th sp
1811
6th sp
1812
1814
1816
3rd sp
5th sp
1818
1820
1822
1823
5th sp
1824
1826
2nd sp
1829
1831
1832
6th sp
1833
1834
1st sp
1835
1837
1839
1841
1843
1844
1845
1847
1849
1851
1853
1855
1857
1859
1861
1863
1864
1866
1868
1870
1872
1874
1876
1878
1880
1882
1884
1886
1888
1890
1892
1st sp
1894
1st sp
5th sp
1896
1898
1900
1st sp
1902
1904
1906
1908
1910
1912
1913
3rd sp
1914
1st sp
1916
1918
2nd sp
1920
1922
1924
5th sp
1926
1928
1930
1932
4th sp
1934
1936
1938
1939
1st sp
5th sp
1940
1941
6th sp
1942
1944
1946
1947
3rd sp
1948
1950
1952
1954
1956
1958
1960
1962
1964
1966
1968
1970
1971
1st sp
1972
1973
1st sp
1974
1976
1978
1980
1981
5th sp
1982
1984
1986
1988
1990
1992
1994
1996
7th sp
1998
2000
2002
2004
2006
2008
4th sp
2010
2012
2014
2016
2018
2020
7th sp
2022
2024
6th :
State government
General elections
2006
2010
2020
2022
2024
Gubernatorial elections
1838
1841
1844
1847
1850
1853
1857
1861
1864
1867
1871
1875
1879
1883
1887
1891
1895
1899
1903
1907
1911
1915
1919
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1969 sp
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
Attorney General elections
1895
1899
1903
1907
1911
1915
1919
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1996
2002
2006
2010
2014
2018
2022
Comptroller elections
1895
1897
1899
1901
1903
1905
1907
1909
1911
1913
1915
1917
1919
1921
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1996
2002
2006
2010
2014
2018
2022
Senate elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
House of Delegates elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022 :
County government
County executive elections
2002
2006
2010
2014
2018
2022
2025 sp
County offices
2006
2010
2018
2022 :
Ballot measures
1992
Question 6
2012
Question 4
Question 6
2022
Question 4
2024
Question 1 :
Annapolis
Mayoral elections
2017
2021
2025 :
Baltimore
Mayoral elections
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–04
2007
2011
2016
2020
2024
Ballot measures
Question P :
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 :

### Green primary

Green National Convention, Maryland Delegate Vote :
| Candidate | Delegates | Percentage |
| Jill Stein | 5 | 83% |
| Roseanne Barr | 1 | 17% |
| Others | - | - |
| Total | 6 | 100% |

### Libertarian primary

Libertarian National Convention, Maryland Delegate Vote :
| Candidate | Delegates | Percentage |
| Gary Johnson | 9 | 64% |
| R. Lee Wrights | 4 | 29% |
| Carl Person | 1 | 7% |
| Others | - | - |
| Total | 14 | 100% |

## General election
### Predictions

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

### Results

2012 United States presidential election in Maryland :
| Party | Party | Candidate | Running mate | Votes | Percentage | Electoral votes |
| | Democratic | Barack Obama (incumbent) | Joe Biden (incumbent) | 1,677,844 | 61.97% | 10 |
| | Republican | Mitt Romney | Paul Ryan | 971,869 | 35.90% | 0 |
| | Libertarian | Gary Johnson | Jim Gray | 30,195 | 1.12% | 0 |
| | Green | Jill Stein | Cheri Honkala | 17,110 | 0.63% | 0 |
| | Others | | | 10,309 | 0.38% | 0 |
| Totals | Totals | Totals | Totals | 2,707,327 | 100.00% | 10 |
| Voter turnout (registered voters) | Voter turnout (registered voters) | Voter turnout (registered voters) | Voter turnout (registered voters) | Voter turnout (registered voters) | Voter turnout (registered voters) | 69.4% |

#### By county

| County | Barack Obama Democratic | Barack Obama Democratic | Mitt Romney Republican | Mitt Romney Republican | Various candidates Other parties | Various candidates Other parties | Margin | Margin | Total votes cast |
| County | # | % | # | % | # | % | # | % | Total votes cast |
| Allegany | 9,805 | 32.85% | 19,230 | 64.42% | 815 | 2.73% | -9,425 | -31.57% | 29,850 |
| Anne Arundel | 126,635 | 48.68% | 126,832 | 48.75% | 6,688 | 2.57% | -197 | -0.07% | 260,155 |
| Baltimore | 220,322 | 57.26% | 154,908 | 40.26% | 9,552 | 2.48% | 65,414 | 17.00% | 384,782 |
| Baltimore City | 221,478 | 87.19% | 28,171 | 11.09% | 4,356 | 1.71% | 193,307 | 76.10% | 254,005 |
| Calvert | 20,529 | 45.10% | 23,952 | 52.62% | 1,037 | 2.28% | -3,423 | -7.52% | 45,518 |
| Caroline | 4,970 | 37.21% | 8,098 | 60.63% | 289 | 2.16% | -3,128 | -23.42% | 13,357 |
| Carroll | 27,939 | 31.92% | 56,761 | 64.84% | 2,836 | 3.24% | -28,822 | -32.92% | 87,536 |
| Cecil | 16,557 | 38.98% | 24,806 | 58.39% | 1,117 | 2.63% | -8,249 | -19.41% | 42,480 |
| Charles | 48,774 | 64.84% | 25,178 | 33.47% | 1,270 | 1.69% | 23,596 | 31.37% | 75,222 |
| Dorchester | 7,257 | 46.99% | 7,976 | 51.64% | 211 | 1.37% | -719 | -4.65% | 15,444 |
| Frederick | 55,146 | 47.09% | 58,798 | 50.21% | 3,171 | 2.71% | -3,652 | -3.12% | 117,115 |
| Garrett | 3,124 | 23.74% | 9,743 | 74.05% | 290 | 2.20% | -6,619 | -50.31% | 13,157 |
| Harford | 49,729 | 39.48% | 72,911 | 57.89% | 3,314 | 2.63% | -23,182 | -18.41% | 125,954 |
| Howard | 91,393 | 59.69% | 57,758 | 37.72% | 3,957 | 2.58% | 33,635 | 21.97% | 153,108 |
| Kent | 4,842 | 48.89% | 4,870 | 49.17% | 192 | 1.94% | -28 | -0.28% | 9,904 |
| Montgomery | 323,400 | 70.92% | 123,353 | 27.05% | 9,239 | 2.03% | 200,047 | 43.87% | 455,992 |
| Prince George's | 347,938 | 89.73% | 35,734 | 9.22% | 4,072 | 1.05% | 312,204 | 80.51% | 387,744 |
| Queen Anne's | 8,556 | 34.38% | 15,823 | 63.58% | 509 | 2.05% | -7,267 | -29.20% | 24,888 |
| St. Mary's | 19,711 | 41.22% | 26,797 | 56.03% | 1,316 | 2.75% | -7,086 | -14.81% | 47,824 |
| Somerset | 5,240 | 50.39% | 5,042 | 48.49% | 117 | 1.13% | 198 | 1.90% | 10,399 |
| Talbot | 8,808 | 43.05% | 11,339 | 55.42% | 312 | 1.53% | -2,531 | -12.37% | 20,459 |
| Washington | 25,042 | 39.90% | 36,074 | 57.48% | 1,639 | 2.61% | -11,032 | -17.58% | 62,755 |
| Wicomico | 19,635 | 46.46% | 21,764 | 51.50% | 860 | 2.04% | -2,129 | -5.04% | 42,259 |
| Worcester | 11,014 | 40.17% | 15,951 | 58.17% | 455 | 1.66% | -4,937 | -18.00% | 27,420 |
| Totals | 1,677,844 | 61.97% | 971,869 | 35.90% | 57,614 | 2.13% | 705,975 | 26.07% | 2,707,327 |

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

* Kent (largest town: Chestertown)

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

* Somerset (largest town: Princess Anne)

#### By congressional district

Obama won 7 of the state's 8 congressional districts.
| District | Obama | Romney | Representative |
| 1st | 38% | 60% | Andy Harris |
| 2nd | 63% | 35% | Dutch Ruppersberger |
| 3rd | 61% | 37% | John Sarbanes |
| 4th | 78% | 21% | Donna Edwards |
| 5th | 66% | 32% | Steny Hoyer |
| 6th | 55% | 43% | John Delaney |
| 7th | 76% | 22% | Elijah Cummings |
| 8th | 62% | 36% | Chris Van Hollen |