# 1840 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
2006
2010
2014
2018
2022
Comptroller elections
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
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 1840 United States presidential election in Maryland took place between October 30 and December 2, 1840, as part of the 1840 United States presidential election. Voters chose 10 representatives, or electors to the Electoral College, who voted for President and Vice President.
Maryland voted for the Whig candidate, William Henry Harrison, over Democratic candidate Martin Van Buren, by a margin of 7.66%. As of 2020, this remains the only time in history that an incumbent Democratic president who served a full term has failed to carry any of Maryland's electoral votes in a reelection bid.
This was the first presidential election that Carroll County was able to vote in.

## Results

1840 United States presidential election in Maryland :
| Party | Party | Candidate | Running mate | Popular vote | Popular vote | Electoral vote | Electoral vote |
| Party | Party | Candidate | Running mate | Count | % | Count | % |
| | Whig | William Henry Harrison of Ohio | John Tyler of Virginia | 33,528 | 53.83% | 10 | 100.00% |
| | Democratic | Martin Van Buren of New York | Richard M. Johnson of Kentucky | 28,752 | 46.17% | 0 | 0.00% |
| Total | Total | Total | Total | 62,280 | 100.00% | 10 | 100.00% |

### Results by county

| County | William Henry Harrison Whig | William Henry Harrison Whig | Martin Van Buren Democratic | Martin Van Buren Democratic | Margin | Margin | Total Votes Cast |
| County | # | % | # | % | # | % | Total Votes Cast |
| Allegany | 1271 | 53.76% | 1093 | 46.24% | 178 | 7.53% | 2364 |
| Anne Arundel | 1604 | 53.68% | 1384 | 46.32% | 220 | 7.36% | 2988 |
| Baltimore (City and County) | 9237 | 48.15% | 9946 | 51.85% | -709 | -3.70% | 19183 |
| Calvert | 494 | 60.32% | 325 | 39.68% | 169 | 20.64% | 819 |
| Caroline | 687 | 56.22% | 535 | 43.78% | 152 | 12.44% | 1222 |
| Carroll | 1554 | 49.12% | 1610 | 50.88% | -56 | -1.77% | 3164 |
| Cecil | 1448 | 52.43% | 1314 | 47.57% | 134 | 4.85% | 3164 |
| Charles | 841 | 62.62% | 502 | 37.38% | 339 | 25.24% | 1343 |
| Dorchester | 1381 | 62.21% | 839 | 37.79% | 542 | 24.41% | 2220 |
| Frederick | 2958 | 53.00% | 2623 | 47.00% | 335 | 6.00% | 5581 |
| Harford | 1342 | 51.81% | 1248 | 48.19% | 94 | 3.62% | 2590 |
| Kent | 679 | 58.79% | 476 | 41.21% | 203 | 17.58% | 1155 |
| Montgomery | 1099 | 62.30% | 665 | 37.70% | 434 | 24.60% | 1764 |
| Prince George's | 1017 | 62.55% | 609 | 37.45% | 408 | 25.09% | 1626 |
| Queen Anne's | 778 | 54.07% | 661 | 45.93% | 117 | 8.13% | 1439 |
| St. Mary's | 895 | 68.32% | 415 | 31.68% | 480 | 36.64% | 1310 |
| Somerset | 1516 | 64.24% | 844 | 35.76% | 672 | 28.47% | 2360 |
| Talbot | 749 | 52.34% | 682 | 47.66% | 67 | 4.68% | 1431 |
| Washington | 2484 | 52.03% | 2290 | 47.97% | 194 | 4.06% | 4774 |
| Worcester | 1494 | 68.38% | 691 | 31.62% | 803 | 36.75% | 2185 |
| Total | 33,528 | 53.83% | 28,752 | 46.17% | 4,776 | 7.66% | 62,280 |

#### Counties that flipped from Democratic to Whig

* Cecil