Each federal remedy answers a different problem. Mandamus answers inaction. An APA challenge answers an unlawful decision. Habeas answers custody. A petition for review answers a removal order. Picking the remedy that matches the problem is the first decision in any case against an immigration agency, and using the wrong one is a common reason cases are dismissed.

Quick Facts

  • Inaction: mandamus (28 U.S.C. § 1361) and APA § 706(1)
  • Unlawful action: APA § 706(2), after final agency action (§ 704)
  • Custody: habeas corpus (28 U.S.C. § 2241)
  • Removal orders: petition for review in a court of appeals (8 U.S.C. § 1252)
  • Naturalization: § 1447(b) for delay after the interview; § 1421(c) after a denial

The remedies side by side

ProblemRemedyWhereMain limit
The agency will not decideMandamus, 28 U.S.C. § 1361; APA, 5 U.S.C. § 706(1)District courtNeeds a clear duty; delay judged under TRAC
The agency decided unlawfullyAPA, 5 U.S.C. § 706(2)District courtFinal agency action; statutes bar review of many discretionary denials
The agency’s own appeal routeAdministrative appeal or motion (AAO, BIA)Within the agencyStrict filing deadlines
A person is detainedHabeas corpus, 28 U.S.C. § 2241District court where heldChallenges custody, not the removal order
A final order of removalPetition for review, 8 U.S.C. § 1252Court of appeals30 days from the final order
N-400 undecided after the interview8 U.S.C. § 1447(b)District court120 days after the examination
N-400 denied after administrative review8 U.S.C. § 1421(c)District court (de novo)Requires the Form N-336 hearing first

Mandamus and the APA: inaction versus action

For delay, the two routes largely converge. Courts in the District of Columbia treat the standards under the Mandamus Act and APA § 706(1) as essentially the same. The APA’s other half, § 706(2), is different in kind: it lets a court “hold unlawful and set aside” an agency decision that is arbitrary, capricious or contrary to law. That route requires a final agency action (5 U.S.C. § 704), and in immigration it runs into statutes that bar review of many discretionary decisions (8 U.S.C. § 1252(a)(2)(B); Patel v. Garland, 596 U.S. 328 (2022)). A more detailed comparison of how an APA delay claim differs from a mandamus claim covers pleading both.

Administrative appeals

USCIS denials can often be appealed to the Administrative Appeals Office or reopened by motion, and immigration-judge decisions go to the Board of Immigration Appeals. For an APA claim, exhaustion is required only when a statute or the agency’s rules make it mandatory (Darby v. Cisneros, 509 U.S. 137 (1993)). Where an appeal is available and adequate, however, mandamus is not.

Habeas corpus: custody, not delay

Habeas corpus orders the official holding a person to justify the detention before a judge. It is the remedy for unlawful immigration detention, filed in the district of confinement. It is not a way to obtain a benefit or to reverse a removal order: the statute makes a petition for review in the court of appeals the exclusive way to challenge a removal order (8 U.S.C. § 1252(a)(5)). See Habeas Corpus: the Order to Bring the Detained Person Before a Judge.

Naturalization’s own statutes

Naturalization has two dedicated routes that displace mandamus: a suit under 8 U.S.C. § 1447(b) when USCIS has not decided an N-400 within 120 days after the interview, and de novo review under 8 U.S.C. § 1421(c) after a denial has been reviewed at an administrative hearing on Form N-336. See Naturalization: the 120-Day Rule After the Interview.

Stays of removal

A delay suit does not stop a removal. Stopping one requires its own order: an administrative stay from ICE, a stay from the immigration court or Board, or a stay from the court of appeals. See Stays of Removal and Motions to Reopen.

Sources