Do cities have to enforce federal immigration law?

Checked on January 28, 2026
Disclaimer: Factually can make mistakes. Please verify important information or breaking news. Learn more.

Executive summary

Cities are not legally obligated to enforce federal immigration law in the sense of being compelled to use local officers or resources to carry out federal removal or civil immigration investigations; the Constitution vests immigration regulation in the federal government, but courts have repeatedly blocked direct federal commands that would force state or local enforcement, citing the anti-commandeering doctrine [1] [2] [3]. That does not mean federal authorities lack power to pressure, punish, or operate unilaterally inside cities—through ICE operations, partnerships like 287(g) and IGSA, funding incentives, public naming-and-shaming, or litigation—so the practical relationship between federal and local enforcement remains contested and politically charged [4] [5] [6] [7].

1. Federal primacy over immigration, and the constitutional limit on coercion

The Supreme Court and federal law make clear that immigration regulation is an exclusive federal power, but the anti-commandeering principle prevents Congress or the President from forcing state and local governments to perform federal tasks such as policing civil immigration status; courts have relied on precedents like Printz to strike down federal mandates requiring local enforcement cooperation [1] [2] [3]. Legal analyses and government practice confirm that while the federal government may set immigration rules and penalties, it generally cannot constitutionally conscript municipal police to implement those rules on pain of nullifying local control [2] [3].

2. What cities can legally do (and not do) in practice

Localities may choose the degree of cooperation they provide: they can refuse to honor ICE civil detainers, limit inquiries into immigration status, or bar deputization agreements—policies commonly labeled “sanctuary” or “welcoming”—and still remain within a recognized legal space so long as they do not affirmatively obstruct federal agents’ independent enforcement or discriminate against federal authority [8] [9] [1]. Federal statutes like 8 U.S.C. §1373, and its contested interpretations, target information-sharing restrictions but have been litigated under anti-commandeering and other doctrines, leaving limits and obligations in flux [10] [3] [1].

3. Voluntary local partnerships and how the federal government can use them

Although cities are not compelled to enforce, many have voluntarily entered formal collaborations—287(g) deputizations, Intergovernmental Service Agreements to house detainees, and other cooperative arrangements—that allow federal immigration enforcement to operate with local resources when local officials consent [4] [10]. Those voluntary programs illustrate how local choice, not legal obligation, can integrate municipal actors into federal enforcement, and they also show how funding, jail contracts, and training create practical incentives for cooperation [10] [4].

4. Federal leverage: funding, litigation, lists, and deployments

When cooperation is withheld, the federal government has used leverage short of direct commandeering: litigation against jurisdictions, threat or withdrawal of federal grants (subject to constitutional limits on coercive spending), public designation of “sanctuary” jurisdictions, and deployment of federal agents and expanded ICE operations inside cities using federal personnel and budgets [9] [6] [7] [11]. These tools can pressure local officials politically and financially, and recent administrations have combined naming-and-shaming with lawsuits and heightened federal enforcement to push compliance [7] [11].

5. The legal and political battleground: mixed results and ongoing disputes

Courts have split and evolved on matters like Section 1373 and state preemption of local sanctuary policies, producing a patchwork where some federal efforts were struck down for violating anti-commandeering while other state-level preemption laws or federal executive actions have survived or remain contested; scholars and advocacy groups on both sides cite different rulings to support their positions, so legal uncertainty persists [3] [12] [13]. Advocacy organizations emphasize public-safety and civil-rights rationales for limiting cooperation, while federal agencies and some states frame noncooperation as obstruction that endangers communities—an explicitly political framing used in DHS and DOJ materials [8] [7] [13].

6. Bottom line: legal duty versus practical consequence

Legally, cities do not have a blanket duty to enforce federal immigration law—the constitutional anti-commandeering doctrine and judicial rulings protect municipal discretion—but that legal autonomy exists alongside robust federal tools to incentivize, litigate against, or bypass local resistance via federal action and voluntary local participation in enforcement programs, making the real-world answer contingent on politics, state laws, and litigation timelines [2] [5] [4] [9]. Reporting and legal analyses show the tension is not resolved in courts or politics; the choice a city makes has predictable legal exposures and predictable political and operational consequences depending on federal response [3] [7].

Want to dive deeper?
What is the anti-commandeering doctrine and how has it been applied in immigration cases?
How do 287(g) agreements and IGSAs work and which U.S. cities participate?
What legal challenges have been brought against sanctuary city lists and federal funding conditions?