United States President Donald Trump has announced tariffs on all goods coming from Mexico in a bid to curb illegal immigration.
In a tweet, Mr Trump said that from 10 June a 5 percent tariff would be imposed and would slowly rise "until the Illegal Immigration problem is remedied".
President Trump has declared a national emergency to tackle what he claims is a crisis at the US southern border.
Border agents say they are overwhelmed, but critics say they are mishandling and mistreating migrants.
Jesus Seade, Mexico's top diplomat for North America, said the the tariffs would be "disastrous".
"If this is put in place, we must respond vigourously," he told reporters.
During his election campaign and throughout his time in office, President Trump has sought funds to build a wall on the US-Mexico border.
He hoped to divert funds for the barrier under his national emergency declaration, but a federal judge blocked his efforts in May.
US asserting its rights, Trump says
In a White House statement, Mr Trump said the tariffs would rise by 5 percent each month until 1 October, when the rate would reach 25 percent.
The tariffs would stay at that level "unless and until Mexico substantially stops the illegal inflow of aliens coming through its territory", he said.
"For years, Mexico has not treated us fairly - but we are now asserting our rights as a sovereign Nation," the statement said.
The president also took aim at his Democratic opponents, accusing them of a "total dereliction of duty" over border security.
The Democrat-controlled House of Representatives is taking legal action to halt the Trump administration's efforts to build a border wall, saying it would be a waste of funds and would not stop illegal immigration.
Critics say border agents are taking a heavy-handed approach under the Trump administration to controlling migration at the US-Mexico border, pointing to the deaths of six migrant children in US custody since September.
What will the tariffs affect?
Mexico is known for agricultural products like avocados and tequila, but the country is also a major manufacturing hub and home to many US companies.
It produces hundreds of thousands of cars every month, and is also home to technology and aerospace companies. It is one of the G20 economies.
US firms Ford, General Motors, John Deere, IBM and Coca-Cola all operate in Mexico, as well as thousands of other multinationals.
Mr Trump's announcement comes on the same day that his administration told Congress it plans to seek congressional approval of a new trade deal with Mexico and Canada.
The president has used tariffs elsewhere in a bid to force through his foreign policy objectives.
After complaining for years about the US trade deficit with China, Mr Trump has imposed tariffs on hundreds of billions of dollars worth of goods coming from the country.
- BBC