page_title: 2012 United States presidential election in Texas
section_title: Democratic primary
hierarchical_section_title: 2012 United States presidential election in Texas / Democratic primary
context_page_description: The 2012 United States presidential election in Texas 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. Texas voters chose 38 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.
  Mitt Romney won the Lone Star State with 57.17%, over Barack Obama's 41.38%, a margin of 15.78%. As in past elections, President Obama and the Democrats dominated the Rio Grande Valley and won the major urban centers of Austin, El Paso, Dallas, San Antonio, and Houston, but Republicans were able to overwhelm the urban vote by sweeping the vast rural areas and suburbs of Texas by large margins. In the process Romney beat George W. Bush's 2004 record of the most votes for a presidential candidate in Texas, a record later surpassed in 2016 by Donald Trump.
context_section_description: The 2012 Texas Democratic Primary was held on May 29, 2012. Incumbent Barack Obama, who was running for the nomination without any major opposition, won the primary with 88.18% of the vote, and was awarded all of Texas' 287 delegates to the 2012 Democratic National Convention.
caption: Texas results by county
    Barack Obama
    John Wolfe Jr.
    Bob Ely
    Tie
    No votes