He would be the first leftist president in decades in Mexico, and he has pledged to reduce the country’s economic dependence on the United States. The current government has sparred with Trump over trade and migration for months.
The results would represent a resounding defeat for outgoing President Enrique Peña Nieto’s ruling centrist Institutional Revolutionary Party, or PRI. The PRI has ruled Mexico for all but 12 of the last 89 years.
López Obrador, the runner-up in the 2006 and 2012 elections, pitched himself as the only candidate able to clean up the government after years of poor economic growth and rampant gang violence eroded faith in the political class.
Seeking support from economic nationalists, leftist liberals and social conservatives, López Obrador has been vague on policy details. But he vows to reduce inequality, improve pay and welfare spending and run a tight budget.
Consulta Mitofsky for broadcaster Televisa showed López Obrador, who had maintained a healthy lead in polls ahead of the vote, winning 43 percent to 49 percent of the final vote. Parametria, Mitofsky and others showed him winning by at least 20 percentage points.
An official “quick count” of results was expected at midnight ET, with a margin of error of 0.5 percent.