DataElectionsPresident2012Virginia President · 2012

President · 2012

Virginia, 2012

In 2012, Barack H. Obama (Democratic) received 1,971,820 votes (51.2% of the total) in the presidential election in Virginia. Barack H. Obama received 149,298 more votes than Mitt Romney (Republican), a margin of 3.9 points. The margin was 3.9 points, compared with 6.3 points in 2008. Candidates other than the two leading candidates received 1.6% of the vote combined.

Certified

Certified results. Source: MIT Election Data and Science Lab (MEDSL), U.S. President 1976–2024. Harvard Dataverse, doi:10.7910/DVN/42MVDX, dataset version 10.1. Figures are the dataset’s compilation of certified state results.

Election

November 6, 2012

Ballots counted for this office

3,854,489

Margin

3.9 points

Shift from the previous election

2.4 points toward the Republican candidate, from 2008

Where this race sits

Virginia is outlined in orange. Its color is the margin scale used across the archive.

Republican marginDemocratic margin

Steps of 10 points: 0–10, 10–20, 20–30, 30–40, 40–50, 50 or more. The same scale is used for every year.

Map: U.S. Census Bureau cartographic boundary files, via us-atlas. The fill is this race’s margin.

All presidential elections in Virginia

YearCandidate with most votesPartyMargin (points)
1976Gerald FordRepublican1.3View
1980Ronald ReaganRepublican12.7View
1984Ronald ReaganRepublican25.2View
1988George H.W. BushRepublican20.5View
1992George H.W. BushRepublican4.4View
1996Robert DoleRepublican2.0View
2000George W. BushRepublican8.1View
2004George W. BushRepublican8.2View
2008Barack H. ObamaDemocratic6.3View
2012
This race
Barack H. ObamaDemocratic3.9
2016Hillary ClintonDemocratic5.4View
2020Joseph R. Biden Jr.Democratic10.1View
2024Kamala D. HarrisDemocratic5.7View

Results

CandidatePartyVotesShare of totalTwo-party share
Barack H. ObamaDemocratic1,971,82051.2%52.0%
Mitt RomneyRepublican1,822,52247.3%48.0%
Gary JohnsonLibertarian31,2160.8%–
Virgil Hamlin Goode Jr.Constitution Party13,0580.3%–
Jill SteinGreen8,6270.2%–
Write-in votes
No candidate named in the source
Write-in7,2460.2%–

Two-party share is the candidate’s share of the combined Democratic and Republican vote. It is shown for Democratic and Republican candidates only.

Vote shares are rounded to 1 decimal place; the shares may not sum to exactly 100% because of rounding.

Source: MIT Election Data and Science Lab (MEDSL), U.S. President 1976–2024. Harvard Dataverse, doi:10.7910/DVN/42MVDX, dataset version 10.1. Every figure on this page is from the 2012 election recorded in that source.