| [[File:Maryland Presidential Election Results 2012.svg|375px]]
| County results
| [[File:2020 U.S. House elections in Maryland.svg|375px]]
| Congressional district results
| [[File:2012 United States presidential election in Maryland results by precinct.svg|375px]]
| Precinct results
ObamaRomney
The 2012 United States presidential election in Maryland took place on November 6, 2012, as part of the 2012 United States presidential election in which all 50 states plus the District of Columbia participated. Maryland voters chose 10 electors to represent them in the Electoral College via a popular vote pitting incumbent Democratic President Barack Obama and his running mate, Vice President Joe Biden, against Republican challenger and former Massachusetts Governor Mitt Romney and his running mate, Congressman Paul Ryan.
Maryland is one of six states where Obama performed better in 2012 than in 2008, with his percentage of the vote increasing from 61.92% to 61.97%. He flipped Somerset County but lost Kent County which he won in 2008. In this election, Maryland voted 22.21% to the left of the nation at-large.
As of the 2024 presidential election, this is the last time a Republican won Anne Arundel County and a Democrat won Somerset County.
Primary elections
Democratic primary
Republican primary
| [[File:Maryland Republican Presidential Primary Detailed Election Results by County, 2012.svg|300px]]
| County results
| [[File:Maryland Republican Presidential Primary Detailed Election Results by District, 2012.svg|300px]]
| Congressional district results}}
Santorum:
This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.