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
2008: Barack Obama
Barack Obama (Democratic) won the 2008 presidential election. Barack Obama received 365 of 538 electoral votes; 270 were needed. John McCain (Republican) received 173.
President · 2008
United States
Final result

WonFlipped from Republican
Barack Obama
Democratic
52.9%
69,498,459 votes
365 electoral votes

John McCain
Republican
45.6%
59,948,283 votes
173 electoral votes
- D = Barack Obama (Democratic)
- R = John McCain (Republican)
- / = Electoral votes split between candidates
- No figure
A grey dashed tile means the National Archives page lists no electoral vote for that state in 2008. 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, 2008
| State | Candidate |
|---|---|
| Alabama | John McCain (Republican) |
| Alaska | John McCain (Republican) |
| Arizona | John McCain (Republican) |
| Arkansas | John McCain (Republican) |
| California | Barack Obama (Democratic) |
| Colorado | Barack Obama (Democratic) |
| Connecticut | Barack Obama (Democratic) |
| Delaware | Barack Obama (Democratic) |
| District of Columbia | Barack Obama (Democratic) |
| Florida | Barack Obama (Democratic) |
| Georgia | John McCain (Republican) |
| Hawaii | Barack Obama (Democratic) |
| Idaho | John McCain (Republican) |
| Illinois | Barack Obama (Democratic) |
| Indiana | Barack Obama (Democratic) |
| Iowa | Barack Obama (Democratic) |
| Kansas | John McCain (Republican) |
| Kentucky | John McCain (Republican) |
| Louisiana | John McCain (Republican) |
| Maine | Barack Obama (Democratic) |
| Maryland | Barack Obama (Democratic) |
| Massachusetts | Barack Obama (Democratic) |
| Michigan | Barack Obama (Democratic) |
| Minnesota | Barack Obama (Democratic) |
| Mississippi | John McCain (Republican) |
| Missouri | John McCain (Republican) |
| Montana | John McCain (Republican) |
| Nebraska | Electoral votes split between candidates |
| Nevada | Barack Obama (Democratic) |
| New Hampshire | Barack Obama (Democratic) |
| New Jersey | Barack Obama (Democratic) |
| New Mexico | Barack Obama (Democratic) |
| New York | Barack Obama (Democratic) |
| North Carolina | Barack Obama (Democratic) |
| North Dakota | John McCain (Republican) |
| Ohio | Barack Obama (Democratic) |
| Oklahoma | John McCain (Republican) |
| Oregon | Barack Obama (Democratic) |
| Pennsylvania | Barack Obama (Democratic) |
| Rhode Island | Barack Obama (Democratic) |
| South Carolina | John McCain (Republican) |
| South Dakota | John McCain (Republican) |
| Tennessee | John McCain (Republican) |
| Texas | John McCain (Republican) |
| Utah | John McCain (Republican) |
| Vermont | Barack Obama (Democratic) |
| Virginia | Barack Obama (Democratic) |
| Washington | Barack Obama (Democratic) |
| West Virginia | John McCain (Republican) |
| Wisconsin | Barack Obama (Democratic) |
| Wyoming | John McCain (Republican) |
Source: U.S. National Archives, 2008 Electoral College results. As of November 2, 2026.
Electoral votes and votes cast, state by state
| State | Electoral votes | Barack Obama | John McCain | Votes counted | First place | Second place |
|---|---|---|---|---|---|---|
| Alabama Result card | 9 | - | 9 | 2,099,819 | John McCain 60.3% | Barack H. Obama 38.7% |
| Alaska Result card | 3 | - | 3 | 326,197 | John McCain 59.4% | Barack H. Obama 37.9% |
| Arizona Result card | 10 | - | 10 | 2,293,475 | John McCain 53.6% | Barack H. Obama 45.1% |
| Arkansas Result card | 6 | - | 6 | 1,086,617 | John McCain 58.7% | Barack H. Obama 38.9% |
| California Result card | 55 | 55 | - | 13,561,900 | Barack H. Obama 61.0% | John McCain 37.0% |
| Colorado Result card | 9 | 9 | - | 2,401,361 | Barack H. Obama 53.7% | John McCain 44.7% |
| Connecticut Result card | 7 | 7 | - | 1,646,792 | Barack H. Obama 60.6% | John McCain 38.2% |
| Delaware Result card | 3 | 3 | - | 412,412 | Barack H. Obama 61.9% | John McCain 36.9% |
| District of Columbia Result card | 3 | 3 | - | 265,853 | Barack H. Obama 92.5% | John McCain 6.5% |
| Florida Result card | 27 | 27 | - | 8,390,744 | Barack H. Obama 51.0% | John McCain 48.2% |
| Georgia Result card | 15 | - | 15 | 3,924,486 | John McCain 52.2% | Barack H. Obama 47.0% |
| Hawaii Result card | 4 | 4 | - | 456,064 | Barack H. Obama 71.5% | John McCain 26.4% |
| Idaho Result card | 4 | - | 4 | 655,122 | John McCain 61.5% | Barack H. Obama 36.1% |
| Illinois Result card | 21 | 21 | - | 5,522,371 | Barack H. Obama 61.9% | John McCain 36.8% |
| Indiana Result card | 11 | 11 | - | 2,751,054 | Barack H. Obama 49.9% | John McCain 48.9% |
| Iowa Result card | 7 | 7 | - | 1,537,123 | Barack H. Obama 53.9% | John McCain 44.4% |
| Kansas Result card | 6 | - | 6 | 1,235,872 | John McCain 56.6% | Barack H. Obama 41.7% |
| Kentucky Result card | 8 | - | 8 | 1,826,620 | John McCain 57.4% | Barack H. Obama 41.2% |
| Louisiana Result card | 9 | - | 9 | 1,960,761 | John McCain 58.6% | Barack H. Obama 39.9% |
| Maine Result card | 4 | 4 | - | 731,163 | Barack H. Obama 57.7% | John McCain 40.4% |
| Maryland Result card | 10 | 10 | - | 2,631,596 | Barack H. Obama 61.9% | John McCain 36.5% |
| Massachusetts Result card | 12 | 12 | - | 3,102,995 | Barack H. Obama 61.4% | John McCain 35.7% |
| Michigan Result card | 17 | 17 | - | 5,001,596 | Barack H. Obama 57.4% | John McCain 41.0% |
| Minnesota Result card | 10 | 10 | - | 2,910,369 | Barack H. Obama 54.1% | John McCain 43.8% |
| Mississippi Result card | 6 | - | 6 | 1,289,865 | John McCain 56.2% | Barack H. Obama 43.0% |
| Missouri Result card | 11 | - | 11 | 2,925,205 | John McCain 49.4% | Barack H. Obama 49.3% |
| Montana Result card | 3 | - | 3 | 490,109 | John McCain 49.5% | Barack H. Obama 47.3% |
| Nebraska Result card* | 5 | 1 | 4 | 801,281 | John McCain 56.5% | Barack H. Obama 41.6% |
| Nevada Result card | 5 | 5 | - | 967,848 | Barack H. Obama 55.1% | John McCain 42.7% |
| New Hampshire Result card | 4 | 4 | - | 710,970 | Barack H. Obama 54.1% | John McCain 44.5% |
| New Jersey Result card | 15 | 15 | - | 3,868,237 | Barack H. Obama 57.3% | John McCain 41.7% |
| New Mexico Result card | 5 | 5 | - | 830,158 | Barack H. Obama 56.9% | John McCain 41.8% |
| New York Result card | 31 | 31 | - | 7,722,019 | Barack H. Obama 62.2% | John McCain 35.6% |
| North Carolina Result card | 15 | 15 | - | 4,310,851 | Barack H. Obama 49.7% | John McCain 49.4% |
| North Dakota Result card | 3 | - | 3 | 316,621 | John McCain 53.3% | Barack H. Obama 44.6% |
| Ohio Result card | 20 | 20 | - | 5,708,350 | Barack H. Obama 51.5% | John McCain 46.9% |
| Oklahoma Result card | 7 | - | 7 | 1,462,661 | John McCain 65.6% | Barack H. Obama 34.4% |
| Oregon Result card | 7 | 7 | - | 1,827,864 | Barack H. Obama 56.7% | John McCain 40.4% |
| Pennsylvania Result card | 21 | 21 | - | 6,013,272 | Barack H. Obama 54.5% | John McCain 44.2% |
| Rhode Island Result card | 4 | 4 | - | 471,766 | Barack H. Obama 62.9% | John McCain 35.1% |
| South Carolina Result card | 8 | - | 8 | 1,920,969 | John McCain 53.9% | Barack H. Obama 44.9% |
| South Dakota Result card | 3 | - | 3 | 381,975 | John McCain 53.2% | Barack H. Obama 44.7% |
| Tennessee Result card | 11 | - | 11 | 2,599,749 | John McCain 56.9% | Barack H. Obama 41.8% |
| Texas Result card | 34 | - | 34 | 8,077,795 | John McCain 55.5% | Barack H. Obama 43.7% |
| Utah Result card | 5 | - | 5 | 952,370 | John McCain 62.6% | Barack H. Obama 34.4% |
| Vermont Result card | 3 | 3 | - | 325,046 | Barack H. Obama 67.5% | John McCain 30.4% |
| Virginia Result card | 13 | 13 | - | 3,723,260 | Barack H. Obama 52.6% | John McCain 46.3% |
| Washington Result card | 11 | 11 | - | 3,036,878 | Barack H. Obama 57.7% | John McCain 40.5% |
| West Virginia Result card | 5 | - | 5 | 713,451 | John McCain 55.7% | Barack H. Obama 42.6% |
| Wisconsin Result card | 10 | 10 | - | 2,983,417 | Barack H. Obama 56.2% | John McCain 42.3% |
| Wyoming Result card | 3 | - | 3 | 254,904 | John McCain 64.7% | Barack H. Obama 32.5% |
| Total | 538 | 365 | 173 | 131,419,253 | ||
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. The page's footnotes read: *Nebraska appoints its electors proportionally. Although McCain-Palin won in the First and Third Congressional Districts and took the state, Obama-Biden won the Second Congressional District. Nebraska's electoral votes were proportionally awarded accordingly: for President, McCain 4 and Obama 1; for Vice President, Palin 4 and Biden 1.
Votes counted are all votes for President in the state in the source file, including minor-party and write-in candidates. First and second place are the two candidates with the most votes; a candidate on more than one party line has the lines added together.
The Clerk of the House prints its own state totals for presidential electors in its Statistics of the Presidential and Congressional Election (fetched November 2, 2026; the PDFs were read into one file with SHA-256 890fe7e3ada3a04ec96bde2fd9a2dd0f9e76371eeb5f328c1b4adbf90ca37563). Its total matches the table for all 51 places. The Clerk prints party names rather than candidate names for each state.
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 ↗ (2008 page). Read November 2, 2026. SHA-256 of the pages, taken together: ea9dec0d0d1826ff…
Votes by state: MIT Election Data and Science Lab, U.S. President 1976-2024 ↗ (public domain, CC0; compiled from state election offices). Read November 2, 2026. Source file SHA-256: 9936410a6dd4ecc8…
