Migrants, sent mostly from Texas, arrived at train stops outside New York City over the weekend to sidestep a new order limiting how they arrive.

Hundreds of migrants bound for New York City took a detour in New Jersey over the holiday weekend, in an apparent attempt to bypass a city order that seeks to limit the chaotic flow of arrivals.

Since Saturday, 13 buses from Texas and Louisiana carrying about 450 migrants have arrived in New Jersey, including a bus that arrived early Monday in Jersey City, according to Steve Fulop, the city’s mayor. Other stops included New Jersey Transit hubs in Secaucus, Fanwood, Edison and Trenton.

The surge in New Jersey arrivals appears to be an end-run around an emergency executive order last week by New York City’s mayor, Eric Adams, requiring charter bus companies to provide 32 hours’ advance notice of the arrival of migrants and restricting the times of day when they can be dropped off.

“They’re using New Jersey essentially as a bus stop to circumvent the limits on buses that can arrive in New York,” Mr. Fulop said, adding that he is not yet concerned about the migrants’ passage through the state.