Mexico is sending some of the 30,000 Central American migrants vying for asylum in the United States on 750-mile bus rides — all the way back to southern Mexico, officials said.

The “Remain in Mexico” program pushed by the Trump administration has forced thousands of asylum seekers back to Mexico to wait months to get their turn before a US immigration judge.

But the northern state of Tamaulipas, just across the Rio Grande from Texas, is one of Mexico’s most dangerous zones — and has little housing or services for the newcomers.

The busing program, which is ferrying the migrants to the state of Chiapas just north of Guatemala, will “provide a safer alternative for those who do not want to remain on the U.S.-Mexico border,” the Mexican government said Friday.

Officials did not say how the asylum seekers will make their way back to the US-Mexico border in time for their court dates.