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.

Suspect shot dead after crashing truck into Detroit-area synagogue
Iran's supreme leader, in first remarks, vows to keep strait closed
One person dies after Virginia university shooting
Four Bahrainis arrested for spying for Iranian Guard
Two US sailors injured after non-combat fire aboard carrier in Red Sea
First train to Pyongyang in six years leaves Beijing as neighbours revive link
Six vessels attacked in Gulf, Strait of Hormuz
IEA announces record oil stockpile release over Iran war supply disruptions
