The two countries struck a deal to avoid a tariff war.
Mexico has agreed to expand a controversial asylum program and deploy security forces to stem the flow of illegal migrants into the USA.
This is after U.S. President Donald Trump threatened to impose 5% import tariffs on all Mexican goods starting on Monday if they didn't do more to tighten its borders.
The announcement comes after three days of talks in Washington, where Mexico agreed to send Central American migrants seeking asylum in the United States to Mexico while they wait for the result of their case.

Thailand and Cambodia agree to 'consolidate ceasefire' in China talks
Three Turkish police, six ISIS members killed in clash
Indonesia fire kills 16 people in retirement home
Trump says US and Ukraine 'a lot closer' on peace deal but 'thorny issues' remain
China launches war games around Taiwan as island vows to defend democracy
At least 13 dead, 98 injured in Mexico train derailment
South Korean president vows to reveal truth on anniversary of Jeju Air crash
Trump, Netanyahu to discuss next phase of Gaza plan
