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.

Indian opposition youth wing protest against parliament expansion bills
Powerful storm hits Southern California, spawning widespread flash floods
Fires damage two mosques in Texas, sparking calls for investigation
Ecuador's Espinosa quits UN chief race
Indian parliament's lower house approves bill to expand legislatures
Israel's Eisenkot closer to ousting Netanyahu after striking coalition deals
North Korea's Kim Jong Un arrives in Beijing by armoured train for state visit
Houthis target gas station in Saudi Arabia's Khamis Mushait
