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.

Trump cancels US strikes on Iran, citing progress in talks
US confirms third strike on Indian-crewed tankers this week
UK defence minister Healey quits, says PM Starmer's plans fail to keep country safe
False alarm at the Pentagon triggers brief shelter-in-place order
Trump says US will hit Iran 'very hard', take control of energy infrastructure
US and Iran trade attacks for a second day, undermining shaky ceasefire
Bahrain says debris from intercepted Iranian drones injures child, damages homes
Philippines launches probe into deaths of two athletes from top basketball team
