Skip to page content
Power & PoliticsUnited States edition
My Hub
Elections · Presidential results

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.

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

Photo of Barack Obama

WonFlipped from Republican

Barack Obama

Democratic

52.9%

69,498,459 votes

365 electoral votes

Photo of John McCain

John McCain

Republican

45.6%

59,948,283 votes

173 electoral votes

Electoral mapWho carried each state, 2008Each tile is one state; the letters name the party of the candidate who got the state's electoral votes.
  • D = Barack Obama (Democratic)
  • R = John McCain (Republican)
  • / = Electoral votes split between candidates
  • No figure
Who carried each state, 2008Tile map of the 50 states and the District of Columbia, each state one equal square. Tiles are coloured by group and carry a letter for the group. The same figures are in the data table below.Alaska: John McCain (Republican)AKRMaine: Barack Obama (Democratic)MEDVermont: Barack Obama (Democratic)VTDNew Hampshire: Barack Obama (Democratic)NHDWashington: Barack Obama (Democratic)WADIdaho: John McCain (Republican)IDRMontana: John McCain (Republican)MTRNorth Dakota: John McCain (Republican)NDRMinnesota: Barack Obama (Democratic)MNDIllinois: Barack Obama (Democratic)ILDWisconsin: Barack Obama (Democratic)WIDMichigan: Barack Obama (Democratic)MIDNew York: Barack Obama (Democratic)NYDRhode Island: Barack Obama (Democratic)RIDMassachusetts: Barack Obama (Democratic)MADOregon: Barack Obama (Democratic)ORDNevada: Barack Obama (Democratic)NVDWyoming: John McCain (Republican)WYRSouth Dakota: John McCain (Republican)SDRIowa: Barack Obama (Democratic)IADIndiana: Barack Obama (Democratic)INDOhio: Barack Obama (Democratic)OHDPennsylvania: Barack Obama (Democratic)PADNew Jersey: Barack Obama (Democratic)NJDConnecticut: Barack Obama (Democratic)CTDCalifornia: Barack Obama (Democratic)CADUtah: John McCain (Republican)UTRColorado: Barack Obama (Democratic)CODNebraska: Electoral votes split between candidatesNE/Missouri: John McCain (Republican)MORKentucky: John McCain (Republican)KYRWest Virginia: John McCain (Republican)WVRVirginia: Barack Obama (Democratic)VADMaryland: Barack Obama (Democratic)MDDDelaware: Barack Obama (Democratic)DEDArizona: John McCain (Republican)AZRNew Mexico: Barack Obama (Democratic)NMDKansas: John McCain (Republican)KSRArkansas: John McCain (Republican)ARRTennessee: John McCain (Republican)TNRNorth Carolina: Barack Obama (Democratic)NCDSouth Carolina: John McCain (Republican)SCRDistrict of Columbia: Barack Obama (Democratic)DCDOklahoma: John McCain (Republican)OKRLouisiana: John McCain (Republican)LARMississippi: John McCain (Republican)MSRAlabama: John McCain (Republican)ALRGeorgia: John McCain (Republican)GARHawaii: Barack Obama (Democratic)HIDTexas: John McCain (Republican)TXRFlorida: Barack Obama (Democratic)FLD

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
Who carried each state, 2008
StateCandidate
AlabamaJohn McCain (Republican)
AlaskaJohn McCain (Republican)
ArizonaJohn McCain (Republican)
ArkansasJohn McCain (Republican)
CaliforniaBarack Obama (Democratic)
ColoradoBarack Obama (Democratic)
ConnecticutBarack Obama (Democratic)
DelawareBarack Obama (Democratic)
District of ColumbiaBarack Obama (Democratic)
FloridaBarack Obama (Democratic)
GeorgiaJohn McCain (Republican)
HawaiiBarack Obama (Democratic)
IdahoJohn McCain (Republican)
IllinoisBarack Obama (Democratic)
IndianaBarack Obama (Democratic)
IowaBarack Obama (Democratic)
KansasJohn McCain (Republican)
KentuckyJohn McCain (Republican)
LouisianaJohn McCain (Republican)
MaineBarack Obama (Democratic)
MarylandBarack Obama (Democratic)
MassachusettsBarack Obama (Democratic)
MichiganBarack Obama (Democratic)
MinnesotaBarack Obama (Democratic)
MississippiJohn McCain (Republican)
MissouriJohn McCain (Republican)
MontanaJohn McCain (Republican)
NebraskaElectoral votes split between candidates
NevadaBarack Obama (Democratic)
New HampshireBarack Obama (Democratic)
New JerseyBarack Obama (Democratic)
New MexicoBarack Obama (Democratic)
New YorkBarack Obama (Democratic)
North CarolinaBarack Obama (Democratic)
North DakotaJohn McCain (Republican)
OhioBarack Obama (Democratic)
OklahomaJohn McCain (Republican)
OregonBarack Obama (Democratic)
PennsylvaniaBarack Obama (Democratic)
Rhode IslandBarack Obama (Democratic)
South CarolinaJohn McCain (Republican)
South DakotaJohn McCain (Republican)
TennesseeJohn McCain (Republican)
TexasJohn McCain (Republican)
UtahJohn McCain (Republican)
VermontBarack Obama (Democratic)
VirginiaBarack Obama (Democratic)
WashingtonBarack Obama (Democratic)
West VirginiaJohn McCain (Republican)
WisconsinBarack Obama (Democratic)
WyomingJohn McCain (Republican)

Source: U.S. National Archives, 2008 Electoral College results. As of November 2, 2026.

Electoral votes and votes cast, state by state

StateElectoral votes Barack Obama John McCain Votes countedFirst placeSecond 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%
Total538 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…