Presidential elections, 1789 to 2024
Every presidential election has an official record of how each state cast its electoral votes. From 1976 the archive also holds how many votes each candidate got in each state.
Pick a year to open it, compare how each state moved between two elections, or follow one state through time. Electoral votes come from the National Archives. Votes by state come from the MIT Election Data and Science Lab and begin in 1976; for earlier years the page says so and shows no popular vote. Nothing here is estimated.
Every election, by who won
1840: William H. Harrison
William H. Harrison (Whig) won the 1840 presidential election. William H. Harrison received 234 of 294 electoral votes; 148 were needed. Martin Van Buren (Democratic) received 60.
President · 1840
United States
Final result

Won
William H. Harrison
Whig
234
electoral votes

Martin Van Buren
Democratic
60
electoral votes
From the National Archives page: William H. Harrison, ninth President of the United States, died on April 4, 1841. He was succeeded by Vice President John Tyler, who took the oath of office on April 6, 1841.
Popular vote by state: not held yet. This archive has votes counted by state from 1976 (from the MIT Election Data and Science Lab). The National Archives page for 1840 gives electoral votes only, so none are shown here for votes cast.
- W = William H. Harrison (Whig)
- D = Martin Van Buren (Democratic)
- No figure
A grey dashed tile means the National Archives page lists no electoral vote for that state in 1840. Select a state to follow it through every election. Each state is one equal square, so a small state is as easy to see as a large one. The group is written on each tile and in the table, not only shown by colour.
Data table: Who carried each state, 1840
| State | Candidate |
|---|---|
| Alabama | Martin Van Buren (Democratic) |
| Alaska | No figure |
| Arizona | No figure |
| Arkansas | Martin Van Buren (Democratic) |
| California | No figure |
| Colorado | No figure |
| Connecticut | William H. Harrison (Whig) |
| Delaware | William H. Harrison (Whig) |
| District of Columbia | No figure |
| Florida | No figure |
| Georgia | William H. Harrison (Whig) |
| Hawaii | No figure |
| Idaho | No figure |
| Illinois | Martin Van Buren (Democratic) |
| Indiana | William H. Harrison (Whig) |
| Iowa | No figure |
| Kansas | No figure |
| Kentucky | William H. Harrison (Whig) |
| Louisiana | William H. Harrison (Whig) |
| Maine | William H. Harrison (Whig) |
| Maryland | William H. Harrison (Whig) |
| Massachusetts | William H. Harrison (Whig) |
| Michigan | William H. Harrison (Whig) |
| Minnesota | No figure |
| Mississippi | William H. Harrison (Whig) |
| Missouri | Martin Van Buren (Democratic) |
| Montana | No figure |
| Nebraska | No figure |
| Nevada | No figure |
| New Hampshire | Martin Van Buren (Democratic) |
| New Jersey | William H. Harrison (Whig) |
| New Mexico | No figure |
| New York | William H. Harrison (Whig) |
| North Carolina | William H. Harrison (Whig) |
| North Dakota | No figure |
| Ohio | William H. Harrison (Whig) |
| Oklahoma | No figure |
| Oregon | No figure |
| Pennsylvania | William H. Harrison (Whig) |
| Rhode Island | William H. Harrison (Whig) |
| South Carolina | Martin Van Buren (Democratic) |
| South Dakota | No figure |
| Tennessee | William H. Harrison (Whig) |
| Texas | No figure |
| Utah | No figure |
| Vermont | William H. Harrison (Whig) |
| Virginia | Martin Van Buren (Democratic) |
| Washington | No figure |
| West Virginia | No figure |
| Wisconsin | No figure |
| Wyoming | No figure |
Source: U.S. National Archives, 1840 Electoral College results. As of November 2, 2026.
Electoral votes, state by state
| State | Electoral votes | William H. Harrison | Martin Van Buren |
|---|---|---|---|
| Alabama | 7 | - | 7 |
| Arkansas | 3 | - | 3 |
| Connecticut | 8 | 8 | - |
| Delaware | 3 | 3 | - |
| Georgia | 11 | 11 | - |
| Illinois | 5 | - | 5 |
| Indiana | 9 | 9 | - |
| Kentucky | 15 | 15 | - |
| Louisiana | 5 | 5 | - |
| Maine | 10 | 10 | - |
| Maryland | 10 | 10 | - |
| Massachusetts | 14 | 14 | - |
| Michigan | 3 | 3 | - |
| Mississippi | 4 | 4 | - |
| Missouri | 4 | - | 4 |
| New Hampshire | 7 | - | 7 |
| New Jersey | 8 | 8 | - |
| New York | 42 | 42 | - |
| North Carolina | 15 | 15 | - |
| Ohio | 21 | 21 | - |
| Pennsylvania | 30 | 30 | - |
| Rhode Island | 4 | 4 | - |
| South Carolina | 11 | - | 11 |
| Tennessee | 15 | 15 | - |
| Vermont | 7 | 7 | - |
| Virginia | 23 | - | 23 |
| Totals | 294 | 234 | 60 |
Not listed for 1840: the National Archives page gives no electoral vote for Alaska, Arizona, California, Colorado, District of Columbia, Florida, Hawaii, Idaho, Iowa, Kansas, Minnesota, Montana, Nebraska, Nevada, New Mexico, North Dakota, Oklahoma, Oregon, South Dakota, Texas, Utah, Washington, West Virginia, Wisconsin and Wyoming.
Electoral votes are as printed on the National Archives page, including its totals row. Small numbers after a state name are the page's own footnote marks.
Download this election as a spreadsheet (CSV) Cite this election National Archives page ↗
Electoral votes: U.S. National Archives and Records Administration, Electoral College results ↗ (1840 page). Read November 2, 2026. SHA-256 of the pages, taken together: ea9dec0d0d1826ff…
