U.S. federal courts have ruled more than 4,000 times that Immigration and Customs Enforcement (ICE) unlawfully detained individuals, according to a review of court records spanning several years.

Judges found in thousands of cases that migrants were held without sufficient legal basis, often beyond statutory limits or without proper procedural safeguards. In many instances, courts ordered detainees to be released after determining that their continued detention violated federal law or constitutional protections.

Legal experts say the volume of rulings points to recurring issues within immigration detention practices, particularly in cases involving prolonged custody without timely hearings. Advocacy groups argue the pattern suggests systemic weaknesses in oversight and accountability mechanisms.

ICE has previously maintained that detention decisions are made under existing immigration laws and are intended to address public safety and compliance concerns. Officials have also cited the complexity of immigration proceedings and evolving legal interpretations. The findings add to ongoing national debate over immigration enforcement policies and the balance between border security measures and due process rights.