Updated

Immigration judges across the country are preparing for an overwhelmed court docket, following the expected end of Title 42.

In early 2020, then-President Donald Trump invoked Title 42, a law that has been used to deport illegal immigrants, citing the COVID-19 pandemic.

As of the end of December 2022, immigration courts in the United States have a backlog of more than 1.5 million cases. Add the end of Title 42 into the mix and that number will increase almost immediately.

Fox News spoke with a former immigration judge who says his colleagues on the bench have been furious over how the system is already overwhelmed before Title 42 ends. The backlog continues to grow by the hour.

VIRGINIA GOV. YOUNGKIN WARNS OF 'CATASTROPHIC' EFFECTS FROM TITLE 42'S END

"It could be eight years. It could be 10 years, if we don't think outside the box," retired immigration Judge Bruce Einhorn told Fox News. Einhorn spent 17 years hearing tens of thousands of immigration cases across the country.

border patrol agent

A Border Patrol agent communicates with illegal immigrants after they entered the U.S. near Tijuana, Mexico in November. (Guillermo Arias/AFP via Getty Images)

Immigration courts are not part of the judiciary, but rather, the executive branch of the government. Einhorn said his former colleagues have been overwhelmed and understaffed. Unlike other judges, immigration judges do not control their own docket, as they fall under the umbrella of the U.S. Justice Department.

SUPREME COURT TEMPORARILY PAUSES LIFTING TITLE 42 BORDER RESTRICTIONS: TEXAS, DHS REACT

"They are overworked, and they often suffer the strains of I would even say post-traumatic stress syndrome," Einhorn said.

illegal immigrants at mexico border

Migrants wait to be processed by the Border Patrol after illegally crossing the US-Mexico border in Yuma, Arizona, in the early morning of July 11, 2022. (Allison Dinner/AFP via Getty Images)

The backlog includes cases from 200 countries around the globe, but the border influx creates the majority of new cases. There are around 600 immigration judges in the United States.

US-Mexico Border

National Guardsmen stood watch near the International Bridge, where thousands of Haitian migrants created a makeshift camp, on Sept. 18, 2021, in Del Rio, Texas. (AP Photo/Eric Gay, File)

Einhorn said that number needs to increase, and soon.

CLICK HERE TO GET THE FOX NEWS APP

"We need to get a handle on what cases should be heard first, second and third. We can't pretend, with a six-year backlog in most jurisdictions, that we can handle all of the cases equally."

Einhorn said cases must be prioritized, by asylum hearings, criminal hearings, and finally, those who don't fit into the first two categories.