WASHINGTON >> The Biden administration is considering reviving the practice of detaining migrant families who cross the border illegally — the same policy the president shut down over the past two years because he wanted a more humane immigration system, officials familiar with the discussions said Monday.

Although no final decision has been made, the move would be a reversal for President Joe Biden, who came into office promising to adopt a more compassionate approach to the border after his predecessor, former President Donald Trump, introduced a series of harsh immigration policies.

The Biden administration has largely ended the practice of family detention, instead releasing families into the United States temporarily and using ankle bracelets, traceable cellphones or other methods to keep track of them.

But the administration has turned to more restrictive measures as it struggles to quell a rise in migrants fleeing authoritarian governments and economic ruin in their countries. Officials also fear a surge at the border after May 11, when a public health measure that has allowed authorities to swiftly expel migrants expires.

Biden’s tough new measures, including a crackdown announced last month that could disqualify a vast majority of migrants from being able to seek asylum at the southern border, have infuriated advocates who say the president is breaking campaign promises and embracing a Trump-era approach to immigration.

“Ending the inhumane practice of family detention has been one of the only positive immigration policy decisions of the Biden administration,” said Leecia Welch, a lead lawyer in the case that led to the 1997 Flores settlement, which limits the time children can spend in detention and establishes minimum standards for holding facilities.

“It is heartbreaking to hear there could be a return to the Trump-era use of this practice,” she said.

The White House declined to comment, but administration officials reject any comparison to Trump and say Biden’s policies are focused on finding ways to decrease the number of illegal crossings and encourage migrants to seek legal pathways.

Title 42 deadline

The Department of Homeland Security said no decisions had been made as the administration prepared for the end of the public health measure, known as Title 42.

“The administration will continue to prioritize safe, orderly and humane processing of migrants,” Luis Miranda, a department spokesperson, said in a statement.

But senior White House and homeland security immigration advisers have held several meetings over the past few days to discuss their options, including reinstating the family detention policy, according to five current and former administration officials with knowledge of the discussions.

The officials said the Department of Homeland Security is outlining what it would need to do to restart family detention by May 11.

One of the officials cautioned that the administration would follow the law that sets a 20-day limit for detaining families, rather than holding them for weeks or even months as previous administrations did. Another option would be continuing the practice in place now — releasing families into the country, where they would be tracked and required to report to an Immigration and Customs Enforcement field office, the official said.

Proponents of family detention argue that it would deter migrant families from making the trip north. But the practice has long been controversial, in part because of years of scientific consensus that detaining minors, even with their parents, can cause developmental damage.