Mexico has announced plans to spend over 50 million US dollars (approx. £40 million) to help those fearing extradition from the United States.
The money will be used to hire specialised lawyers for migrants who face deportation under President Donald Trump's amended plans on immigration law.
It will also go to outreach programmes which aim to "to promote respect for Mexicans' rights".
Foreign Relations Secretary Luis Videgaray tells the press that the effort "isn't about obstructing the enforcement of the law in the United States, or much less oppose law enforcement".
He said Mexico understands that "it will be necessary to make some changes" to the North American Free Trade Agreement with the US and Canada.
But Mr Videgaray insists Mexico will not accept protectionist import tariffs, which the US president proposes as a way to recover the costs of his supposed border wall.
Trump has also vowed to renegotiate NAFTA and increase deportations, positions which have led to frictions with Mexico.