Most immigration problems are solved inside the immigration system: a response to a request for evidence, a motion to USCIS, an appeal to the Board of Immigration Appeals. A smaller set can only be solved, or are solved faster, by going outside it to a federal court. This page is a map of that smaller set. Find the problem that sounds like yours, read the short answer, and follow the link to the page that covers it in full. One thing is true of every door below: a federal court reviews what the government did or failed to do. It does not decide your immigration case for you.
When does an immigration problem belong in federal court?
When the agency has stopped working on your case, has made a decision the law lets a court review, or is holding a person in custody. Federal district courts can order an agency to decide a case it has left undecided, set aside some agency decisions that are unlawful or arbitrary, order the release of a person held unlawfully, and enforce certain promises, such as a financial sponsor’s support obligation. Federal courts of appeals review orders of removal. What federal courts generally cannot do is grant a green card, a visa or citizenship themselves, or second-guess most discretionary choices the law leaves to the agency.
Before any lawsuit, the first question is whether a step inside the system is still open: an inquiry, a motion to reopen, an appeal. A lawsuit filed while an agency remedy is still available is often dismissed for that reason alone, and it costs more than the remedy it skipped.
My case is stuck. Can I make USCIS decide it?
Often, yes, if the wait is well beyond USCIS’s posted processing time and inquiries have failed. The usual tool is a mandamus and Administrative Procedure Act lawsuit asking the court to order USCIS to decide. It gets you a decision, not an approval, and since July 2026 it carries a specific risk for some asylum applicants. Our page My immigration case is stuck: can I sue USCIS? covers how courts measure delay, which forms can be sued on in each of our states, our own results, and what to try first.
One exception has its own statute. If you were interviewed for naturalization and 120 days have passed without a decision, you do not need mandamus: you can ask the federal court to decide the application or send it back with instructions. See going to federal court 120 days after the naturalization interview.
My case was denied. Can a federal court overturn the denial?
Sometimes. A final USCIS denial can be challenged in federal district court under the Administrative Procedure Act when the agency misread the law, ignored evidence, or failed to explain itself, and when no further appeal inside the agency is required. The court reviews the record the agency had; it does not hear the case fresh. Some denials cannot be challenged in district court at all. Adjustment of status is the main example: since the Supreme Court’s 2022 decision in Patel v. Garland, most federal appeals courts, including the Ninth Circuit (Cabello Garcia v. USCIS, 146 F.4th 743 (9th Cir. 2025)), hold that a USCIS green card denial can be reviewed only later, if at all, through removal proceedings and a petition for review. So the first question is whether review is available at all.
Naturalization is different. After USCIS denies an N-400 and denies the administrative appeal on Form N-336, a federal judge reviews the case de novo, meaning fresh, and can decide it. See federal court review after an N-336 denial.
A practical lesson applies to every denial challenge: read the unpublished decisions of your circuit court, not only the published ones, before filing. A theory that looks open in the published cases can be closed by a short unpublished ruling the government will certainly cite. For employment cases, our page on the I-140 ability-to-pay problem in a loss year shows how much of a denial challenge turns on the record built before the denial.
My records request is stuck or came back nearly empty. What now?
A Freedom of Information Act request that is overdue, or that was answered with withholdings you believe are wrong, can be taken to federal court after the agency’s own appeal step, under the Freedom of Information Act’s separate rules. Most people never need to go that far. Start with our pages on how to get your USCIS file and how to get your immigration court records, which cover the request, the appeal and when a lawsuit makes sense.
Someone I love is detained by ICE. Can a federal court get them out?
Sometimes, through a petition for a writ of habeas corpus in federal district court. Whether one is available, and whether it is likely to work, depends on why the person is held and on which federal circuit they are held in. As of October 2026 the federal appeals courts disagree on whether many long-time residents who entered without inspection can be held without a bond hearing, and the Supreme Court agreed on October 1, 2026 to decide that question (Rhoney v. Barbosa da Cunha, No. 26-104). Our page on immigration detention and bond hearings in 2026 covers bond, habeas and the circuit split.
Our firm’s policy on habeas is narrow and we state it plainly: we file a habeas petition for an existing client whom we cannot get released on bond. We do not take new emergency habeas matters for people who are not already our clients.
My sponsor stopped supporting me, or I am the sponsor. Is the affidavit of support enforceable?
Yes. The Form I-864 affidavit of support is a contract with the federal government that the sponsored immigrant can enforce in court, including after a divorce, and sponsors are often surprised by how long it lasts. Enforcement cases can be brought in state or federal court. Our discussion of the I-864 obligation in our 2026 public charge guide explains what the sponsor promised and when the obligation ends. We have worked on both sides of these cases, for sponsored immigrants and in counseling sponsors.
I have a removal order. Where do I appeal it?
Not in a district court. After the Board of Immigration Appeals rules, review of a removal order goes by petition for review directly to the federal court of appeals for the circuit where the immigration judge completed the case, and the petition must be filed within 30 days of the Board’s decision. The deadline is not jurisdictional after the Supreme Court’s 2025 decision in Riley v. Bondi, but it is mandatory: when the government raises it, a late petition is dismissed. Do not count on an exception. Our page on immigration court appeals and motions covers the sequence from the immigration judge to the court of appeals.
USCIS says I am not a U.S. citizen, but I believe I am. Can a court decide?
Yes, as a last resort. A person in the United States who is denied a right or privilege as a citizen can ask a federal court to declare that he or she is a U.S. national (8 U.S.C. § 1503(a)). The court route has limits: it must be filed within five years of the final administrative denial, and it is not available if the citizenship question arose in removal proceedings. In our experience the administrative routes, a Form N-600 certificate application (appealed on Form I-290B if denied) or a properly documented passport application, usually resolve a citizenship claim without a lawsuit, and they should be tried first. For a denied naturalization application, which is a different problem, see federal court review after an N-336 denial.
Does it matter which state I live in?
Yes, because federal courts follow their own circuit’s court of appeals, and our clients live in three circuits that do not always agree. Montana and Idaho are in the Ninth Circuit. North Dakota is in the Eighth Circuit. Wyoming, Utah and Colorado are in the Tenth Circuit. Two examples: the Eighth Circuit has held that courts cannot review USCIS’s decision to hold a green card application while visas are unavailable, a question the Ninth and Tenth Circuits have not decided; and on detention without bond, the Ninth and Tenth Circuits have ruled for detained people while the Eighth Circuit has ruled for the government. Each page linked above says which rule applies where.
What does our federal-court work look like?
We are an immigration firm with a growing federal-court practice, not an experienced federal litigation outfit: willing to go to court when it is the right tool, and candid about what we have and have not done. We have filed mandamus and Administrative Procedure Act actions in federal district court, served as Montana local counsel for out-of-state counsel in a federal case here, and taken an APA challenge to a denial through summary judgment and lost. We are now taking on petitions for review of Board of Immigration Appeals decisions in the Ninth Circuit when a client’s case needs one. We have not yet filed a habeas petition, and we file one only under the policy stated above. The case law we describe on these pages that does not come from our own cases is identified as such.
If your problem fits one of the doors above and the steps inside the immigration system have run out, contact us to arrange a strategy consultation. Bring the notices, the denial or the receipt, and a short timeline. The first thing we will tell you is what a court could actually do about it.

