Along with detaining migrants who illegally cross the border and separating them from their children, ICE has locked up thousands of other non-citizens with deep roots in their communities under the Trump administration’s orders, a new report said Wednesday.

Those detained and separated from their families include people with little or no criminal record who have lived in the US for years, such as Pablo Villavicencio, a pizza deliveryman arrested for being in the country illegally after he took food to a Brooklyn military base.

In earlier years, ICE would have released many of these people on bond soon after their arrest, allowing them to live with their families while awaiting legal proceedings that can take years, Reuters reported.

Now, ICE denies bond for many of those people and pushes to keep them locked up for the duration of their cases, the news service found, based on an analysis of government data and dozens of interviews with immigration judges, lawyers and current and former officials.

“There has been a noticeable change since the administration took over of greater reluctance, if not outright unwillingness, by ICE to entertain or grant bond,” said Greg Chen, director of government relations at the American Immigration Lawyers Association.

ICE officials did not respond directly to that assertion, and the agency declined to provide complete data on the number of bonds it had issued. ICE spokesman Matthew Bourke said decisions were made on “a case-by-case basis, taking into account factors like immigration history, criminal history and community ties.”

While ICE bond numbers are not available, data from the Executive Office for Immigration Review, which oversees the nation’s immigration courts, provide evidence that immigration officials are increasingly denying bond in the Trump era.

The number of detained immigrants requesting bond hearings in immigration court — their only option if ICE denies them bond when they are arrested — surged 38 percent during the first year of the Trump administration from the previous year to 73,000, a two-decade high, the Reuters analysis said.

At the same time, immigrants are being held in detention far longer, as many initially denied bond by ICE are forced to await the outcome of subsequent bond hearings in court.

The average length of detention for non-criminals reached 63 days in April 2017, double what it was a year earlier and the longest monthly average since at least 2010, according to the most recent ICE data.

The increasing number of bond hearings is also thwarting the Trump administration’s effort to reduce a ballooning backlog of cases in immigration courts.

As judges have been forced to shift their dockets to make room for bond hearings, the backlog has surged, reaching an all-time high of 711,142 pending cases in May this year.

Recent media attention has focused on the Trump administration’s policy of removing children from parents caught crossing the US-Mexico border illegally.

The Reuters findings show that denial of bond is also separating families that have been in the country for years and include children who are US citizens.

“It’s not like criminal proceedings where in 48 hours somebody is deciding whether or not you need to be in jail,” said Katherine Evans, who directs the immigration clinic at the University of Idaho College of Law. “This is four to six weeks later. You’ve already lost your job, you have no income, all of the consequences of being in jail are imposed before you can get any review of whether or not you need to be in jail,” she added.

Villavicencio temporarily won his bid to stop his deportation but remains in ICE custody.

An undocumented immigrant from Ecuador who lives on Long Island with his American wife and kids, Villavicencio said he went to the Fort Hamilton base June 1 to deliver pasta to a sergeant, and flashed his city-issued IDNYC card.

Once inside, guards demanded more identification and conducted a background check, which revealed the father of two had been ordered to leave the United States in 2010. They called ICE.