What is a writ of mandamus, and how does the lawsuit work?
Last updated 2026-11-14 · General information, not legal advice
A writ of mandamus is a lawsuit in federal court asking a judge to order USCIS to make a decision on your case. It does not ask the court to approve you, and a court will not do that. It ends the indefinite wait. In practice agencies often finish the case shortly after being sued.
This page is about the lawsuit itself. When it is worth filing and what it costs each have their own page, as do the thresholds by case type.
The statutes: three of them, each doing one job
Mandamus is not special treatment. It is an ordinary remedy in administrative law, and a complaint normally pleads all three statutes together, each doing one job:
- 5 U.S.C. § 555(b) requires an agency to conclude a matter within a reasonable time. This is what turns "waiting too long" into a legal question.
- 5 U.S.C. § 706(1) lets a court compel agency action unlawfully withheld or unreasonably delayed. This is where the court's power comes from.
- 28 U.S.C. § 1361 gives federal district courts jurisdiction over actions "to compel an officer or employee of the United States or any agency thereof to perform a duty owed to the plaintiff". This is what gives a district court the power to hear it — which district you file in is § 1391(e), in the next section.
None of the three sets a number of months. The standard is "reasonable time", and whether your own wait is unreasonable is judged on the facts, under the six TRAC factors — from the D.C. Circuit's 1984 decision in Telecommunications Research & Action Center v. FCC (750 F.2d 70, 79–80). The legal basis for each of the seven signs goes into that in detail.
Which court
A federal district court — the one for the district where you live, under 28 U.S.C. § 1391(e). The connectors it lists are alternatives — where a defendant resides, where a substantial part of the events occurred, or where the plaintiff resides — and any one of them will do. So you do not have to litigate in Washington (D.C. is always available and never required), and almost everyone files in their own district.
There are 94 federal judicial districts — California, New York and Texas have four each, so a state name does not settle it; it comes down to your county. That still leaves it possible to get wrong: filing in a district with no connector to your case is one of the commonest mistakes, and the case can be transferred or dismissed and refiled. Anyone who has moved has an extra step, because venue follows where you live now, not where the case was receipted. Employer-sponsored cases differ again: where the petitioner is a company, venue can follow its principal place of business — see H-1B / L-1.
Who you sue
The defendants are USCIS, its Director and the Secretary of Homeland Security, in their official capacities — normally along with the director of the office holding your file. You sue the offices, not the individual officer who touched the case. Consular cases — a visa stuck at an embassy — have a different list; 221(g) administrative processing and DS-260 / NVC cover those separately.
Service runs under Fed. R. Civ. P. 4(i) and reaches more than the defendants: the U.S. Attorney for that district (delivered, or by registered or certified mail to their civil-process clerk), the Attorney General in Washington by registered or certified mail, and the agency and officers named as defendants. Note that the Attorney General is served, not sued. Service has formal requirements; missing a recipient or using the wrong address wastes the clock.
The clock: 60 days to answer once served
After filing, the government has 60 days from service to respond, and plenty of cases produce a result inside that window. The 60 days come from Fed. R. Civ. P. 12(a)(2) and run from service on the U.S. Attorney's office.
This is the difference between mandamus and every other way of chasing a case. A case inquiry, a congressional inquiry, an expedite request — none of them carries a statutory deadline, and an agency can simply not answer (premium processing does carry a 15-to-45-business-day commitment, but that is a different thing and only four forms can buy it). Once the case is in court, the clock runs.
The common pattern: the government's lawyer gets the case, asks USCIS what is holding it up, and often that question alone is enough — the case is decided before any answer is filed, and the suit is withdrawn. That is the common pattern, not a promise.
What it can and cannot do
What it can do: stop the agency waiting indefinitely, and require a decision within a reasonable time.
What it cannot do: make a court approve your application for you. A mandamus suit produces a decision, not a particular outcome. No lawyer who follows the rules guarantees a result, and neither do we.
That distinction is real: the decision it produces can be an approval, a denial, a request for evidence or an interview notice. What the outcome is depends on the case itself, not on anything the lawsuit can order.
A decision from the D.C. district court on 12 November puts that distinction on display: the plaintiff asked for two things, and once the interview was scheduled the "complete the process" half was already satisfied, while on the "make a decision" half the court held seven months nowhere near unreasonable — see what a complaint asks for decides how it ends.
One situation a court cannot help with: a priority date that is not current. If the date has not been reached, USCIS legally cannot approve, and that is not delay.
Do you have to try something else first?
No. A case inquiry, contacting your member of Congress and the CIS Ombudsman are channels for talking to the agency, not administrative remedies that must be exhausted. Federal courts generally will not turn you away for skipping them.
They are free, though, and they leave a record that the agency had the chance and did not act — a court weighs that kind of record when it judges whether the delay is reasonable, so they are worth doing. We ask about them when we take a case.
Who it is not for
Mandamus is for a decision that should have been made and was not. If your problem is something else, this is probably the wrong route:
- You were denied — that is an appeal or a motion to reopen, not delay.
- Your priority date is not current — see above.
- The wait is still plainly short — courts look at the agency's own published figures, and suing right after filing is a hard sell. But note that being inside the published time is not itself disqualifying: past the published time, or past the threshold for that case type — either one counts (naturalisation has a third route, 120 days after the interview). The 60-second check works out where your receipt date puts you.
- The case just moved — a scheduled interview or a fresh request for evidence shows the agency is working on it. But do not count yourself out: an ordinary RFE — a request for additional evidence — pauses the clock rather than resetting it, and plenty of people assume they are back at the end of the queue when they were already past the line. Only the rarer request for missing initial evidence restarts the period. See how an RFE affects the clock.
If you are not sure, just ask. An assessment is free and does not create an attorney-client relationship.