The Trump administration has announced the US will cancel permits allowing nearly 200,000 people from El Salvador to live and work in the country.
The humanitarian programme, Temporary Protected Status (TPS), was granted after a series of earthquakes rocked the Central American country in 2001.
Salvadoreans now have until 2019 before they face arrest and deportation.
The Trump administration has already removed TPS protections from tens of thousands of Haitians and Nicaraguans.
Protections for Salvadoreans were set to expire on Monday, after nearly two decades of holding the protected status due to the impacts of natural disaster in their home country.
The Department of Homeland Security plans to allow Salvadoreans until 9 September, 2019 to leave the US or find a legal way to remain in the country.
The programme, which was created in 1990, authorises immigrants from several countries to lawfully live and work in the US regardless of whether they entered the country legally or not.
It is only granted to countries affected by armed conflict, environmental disaster, or epidemics.
With nearly 200,000 immigrants in the US, El Salvador represents the largest group of TPS recipients.
Ten countries, making up over 300,000 US immigrants, have been granted TPS protections since it was first signed into law by President George Bush.
Salvadoreans received TPS in March 2001 after two earthquakes killed more than 1,000 people and devastated communities.
Over the next 15 years, the programme was reauthorised by US presidents several times.