DataElectionsPresident2012Maryland President · 2012

President · 2012

Maryland, 2012

In 2012, Barack H. Obama (Democratic) received 1,677,844 votes (62.0% of the total) in the presidential election in Maryland. Barack H. Obama received 705,975 more votes than Mitt Romney (Republican), a margin of 26.1 points. The margin was 26.1 points, compared with 25.4 points in 2008. Candidates other than the two leading candidates received 2.1% 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

2,707,327

Margin

26.1 points

Shift from the previous election

0.8 points toward the Democratic candidate, from 2008

Where this race sits

Maryland 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 Maryland

YearCandidate with most votesPartyMargin (points)
1976Jimmy CarterDemocratic6.0View
1980Jimmy CarterDemocratic2.9View
1984Ronald ReaganRepublican5.5View
1988George H.W. BushRepublican2.9View
1992Bill ClintonDemocratic14.2View
1996Bill ClintonDemocratic16.0View
2000Al GoreDemocratic16.3View
2004John KerryDemocratic13.0View
2008Barack H. ObamaDemocratic25.4View
2012
This race
Barack H. ObamaDemocratic26.1
2016Hillary ClintonDemocratic26.4View
2020Joseph R. Biden Jr.Democratic33.2View
2024Kamala D. HarrisDemocratic28.5View

Results

CandidatePartyVotesShare of totalTwo-party share
Barack H. ObamaDemocratic1,677,84462.0%63.3%
Mitt RomneyRepublican971,86935.9%36.7%
Gary JohnsonLibertarian30,1951.1%–
Jill SteinGreen17,1100.6%–
Write-in votes
No candidate named in the source
Write-in10,3090.4%–

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.