2012 United States presidential election in Virginia
The 2012 United States presidential election in Virginia took place on November 6, 2012, as part of the presidential election in which all 50 states plus the District of Columbia participated. Virginia voters chose 13 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. Virginia was won by Obama with 51.16% of the vote to Romney's 47.28%, a 3.88% margin of victory. Third parties and write-ins received a cumulative 60,147 votes, representing 1.56% of the vote. In 2008, Obama won the state by 6.30%, becoming the first Democratic presidential nominee to win it since Lyndon B. Johnson's nationwide Democratic landslide of 1964, but it had otherwise been a reliably Republican state prior to this. However, 2008 represented a realignment election for Virginia. Much of the Democratic gains were attributed to the growth of progressive suburban Northern Virginia, particularly in Fairfax County, Loudoun County, and Prince William County, all of which voted for Obama twice despite becoming Republican strongholds after 1964. The Northern Virginia suburbs are generally dominated by Washington, D.C., the most Democratic region in the country, and increasing minority populations have turned Virginia from a Republican stronghold to a Democratic one. Obama's increased strength in this heavily populated region more than canceled out his weakness across rural Virginia, which, similar to the rest of Appalachia, swung towards the Republican Party in 2008 due to the Democrats' increasingly environmentalist policies. Obama suffered a historically poor showing even in traditionally Democratic counties of Southwest Virginia, similar to his weak performance in neighboring West Virginia. This would ultimately foreshadow 2016, when the Republican nominee won the election without carrying Virginia for the first time since 1924. Despite its narrow margin, this was the last election in which Virginia was a seriously contested state, as it would move on to be reliably Democratic in succeeding presidential elections. Obama's 2012 win made him the first Democrat since Franklin D. Roosevelt to carry Virginia in two consecutive elections, and this was the first election since 1948 that the state voted Democratic in consecutive elections. The Democratic margin of victory also made 2012 the first time since 1948 that Virginia voted more Democratic than the nation as a whole, albeit by a narrow advantage of 0.02%: These were ultimately signs of Virginia's continuing leftward shift, after it had been a mostly reliable state for Republicans on the presidential level since 1952. This was the first election since 1976 in which Virginia did not vote in the same way as neighboring North Carolina, and the first election ever in which Virginia voted Democratic while North Carolina voted Republican. Virginia is the only state that Obama won twice that Bill Clinton lost twice in the 1990s. As of the 2020 presidential election, this was the last time the Republican nominee won Montgomery County, and the last time the Democratic nominee won the independent city of Covington along with Buckingham, Caroline, Essex, Nelson and Westmoreland Counties. Primaries

Democratic
Because incumbent Democratic President Barack Obama faced no serious opposition from within his party in seeking reelection, no Democratic primary was held. Republican 

The Republican primary took place on Super Tuesday, March 6, 2012. Virginia had 49 delegates to the 2012 Republican National Convention including the unbound superdelegates. 33 delegates were awarded on a winner-take-all basis by congressional district. The other 13 were awarded to the candidate who won a majority statewide, or allocated proportionally if no one got a majority. Ballot access
Only Mitt Romney and Ron Paul appeared on the ballot. Other candidates failed to submit the necessary 10,000 signatures (including at least 400 from each of the state's 11 congressional districts) required to get on the ballot by the deadline of 22 December 2011. On 27 December, Rick Perry filed a lawsuit – joined later by Michele Bachmann, Newt Gingrich, Jon Huntsman and Rick Santorum – in the federal District Court for the Eastern District of Virginia in Richmond that challenged provisions that determine who can appear on the primary ballot. Perry and the other candidates argued that the chairman of the Virginia Republican Party and members of State Board of Elections violated their rights by enforcing state requirements as to the number of signatures, the qualifications for signers and the requirement that all petition circulators be "an eligible or registered qualified voter in Virginia." Perry and the other litigants argued that these restrictions "impose a severe burden" on their freedoms of speech and association under the First and Fourteenth Amendment. The case was Perry v. Judd. U.S. District Judge John A. Gibney, Jr. ruled on 29 December that he would not issue an injunction to stop the printing of ballots before a scheduled hearing on 13 January. The Virginia Attorney General, Ken Cuccinelli, representing the state, made a motion to dismiss the case because of a lack of standing. On 13 January, Judge Gibney, Jr. dismissed the lawsuit citing the equitable doctrine of laches ("sleeping on one's rights"), writing, "They knew the rules in Virginia many months ago... In essence, they played the game, lost, and then complained that the rules were unfair." The United States Court of Appeals for the Fourth Circuit affirmed, emphasizing that the candidate plaintiffs' failure to file in a timely fashion required dismissal. The final results saw Romney win with 59.54% and 43 delegates of the vote to Ron Paul's 40.46% and 3 delegates. General election

Ballot access 
 Barack Hussein Obama / Joseph Robinette Biden. Jr. , Democratic
 Willard Mitt Romney / Paul Davis Ryan , Republican
Gary Earl Johnson and James Polin Gray, Libertarian
Virgil Hamlin Goode, Jr. and James N. Clymer, Constitution
 Jill Ellen Stein and Cheri Lynn Honkala , Green

Polling 

The initial polling in 2010 showed Obama leading with margins from 4 to 11 points. In September 2011, the tide changed, and Romney won every poll conducted from September 2011 to December 2011, except one. In January and February 2012, both candidates were neck and neck with neither having a decisive lead. In March, Obama was able to pull ahead and beat Romney in most polls until about late September 2012. On October 4, Romney won his first poll in a month, 48% to 45%. Throughout October, Romney won every poll but one for nearly three weeks. The latest polls in late October and early November shifted in Obama's favor, and Obama was able to successfully make the race near tied. Although Romney had won the final poll by 2 points, 50% to 48%, the average of the last three polls showed Obama leading 49% to 48%. Results

By county/city

Counties that flipped from Democratic to Republican 
 King and Queen (largest community: King and Queen Court House)
 Montgomery (largest town: Blacksburg)

By congressional district
Despite losing the state, Romney won 7 of 11 congressional districts, while Obama won 4, including one held by a Republican. Analysis 
Despite Indiana and neighboring North Carolina flipping back into the Republican column, Virginia remained in the Democratic column, voting for President Obama with a margin of 3.88%, albeit a reduced margin from 2008 when he carried it by 6.30%. 2008 was the first time a Democrat carried the state of Virginia since Lyndon B. Johnson carried it in his landslide 1964 election. Republican support, which had been anchored by the historically Republican D.C. suburbs, dwindled as the population grew. According to 270toWin, Obama carried Northern Virginia by 59.8% to Romney's 38.8%, a 21% margin, a great improvement from Al Gore's 3.2% win against George W. Bush in 2000 and John Kerry's 7.9% win against Bush in 2004. The leftward shift of college-educated whites and dominance by the unabashedly liberal District of Columbia only furthered Democratic margins. Widening margins in Northern Virginia allowed Obama to counteract losses in Southwest Virginia as the Democrats increasingly supported environmentalist policies making them unpopular amongst Appalachian voters. Consequently, Democrats were able to comfortably carry it in every election following 2008: a Republican wouldn’t win statewide public office in Virginia until Glenn Youngkin won the 2021 gubernatorial election. According to exit polls from The New York Times, voter demographics were split. Romney carried men 51-47 while Obama carried women 54-45. Men and women make up 47% and 53% of the electorate, respectively. While Romney expectedly carried white voters in a 61-37 landslide, Obama was able to offset these wins with 93-6, 64-33, and 66-32 landslides among African Americans, Hispanics, and Asians, respectively. Cumulatively, these minorities consisted of 28% of the electorate. Splits among age groups were also obvious: voters 18 to 29 and 30 to 44 favored Obama 61-36 and 54-45, respectively, while voters aged 46–64 favored the Republican ticket 53-44 and 65+ favored them 54-46. Romney was able to carry three of four education groups: those with no, some, or a college degree favored Romney by narrow margins of 50-49, 51-47, and 50-48, respectively, but Obama canceled out these wins with a 57-42 win among postgraduates. Respectively, these groups comprise 46%, 25%, 30%, and 24% of voters. Self-identified moderates were carried by Obama 56-42, but Independents flipped back into the Republican column, backing Romney 54-43 after backing Obama by 1 percentage point in 2008. Economic status also showed a clear political divide in exit polls. The president's strength came from lower-income voters: he carried those with an income under $30,000 by 61-38 and an income $30,000 to $50,000 by 60-38. Meanwhile, Romney carried those making over $50,000 by 52-47 and over $100,000 by 51-47. However, Romney's close win among the upper middle class was a good sign for Democrats: Bush carried them 57-43 in 2004, a 14-point win, and it solidified suburban Northern Virginia's shift left. In terms of county performance, Romney flipped two counties back into the Republican column, including Montgomery, home to Virginia Tech in Blacksburg. King and Queen County also returned to the Republican column, thereby making Obama the first Democrat to win the White House without carrying this county. Obama racked up his greatest margins in independent cities, where he received upwards of 70% of the vote in many of them. Petersburg gave 89.79% of its vote to the Democratic ticket. On the opposite end of the spectrum, Romney's best performances were in Southwest Virginia and the Shenandoah Valley, where he garnered over 60% of ballots cast. Despite polls predicting a close race, Obama's comfortable margin in the Old Dominion solidified the state's shift to the Democrats. In 2016, Democrat Hillary Clinton would win the state by 5.32% against Donald Trump, one of the few states where she improved on Obama's margins despite losing the election nationwide. In 2020, Joe Biden won the state by 10.11%, the best margin for a Democrat since Franklin D. Roosevelt's 24.97% margin in 1944. See also 
Republican Party presidential debates, 2012
Republican Party presidential primaries, 2012
Results of the 2012 Republican Party presidential primaries
Virginia Republican Party

References

External links
The Green Papers: for Virginia
The Green Papers: Major state elections in chronological order

United States president
Virginia
2012