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.

Russian ballistic missiles kill at least five in Ukraine's Kyiv, spark fires
Kenya tourist helicopter crash kills seven
US, South Korea to cut length, scope of military drills after Trump order
Central African Republic gold mine collapse kills at least 100
Israeli airstrike kills nine Palestinians at Gaza police station
