Attorney Advertising  ·  bertollini.com
+1 (212) 566-3572 simone@bertollini.com WhatsApp
Choosing the Right Remedy

Mandamus vs.
Declaratory Judgment

Two tools, two different jobs — and one complaint that often pleads both

Mandamus orders. The declaratory judgment under 28 U.S.C. § 2201 declares. Both are equitable remedies available in federal court against the United States, and both are routinely used in agency litigation, but they do genuinely different work. This page explains the difference and when a complaint should plead one, the other, or both.

Two Remedies, Two Statutes

What Each Remedy Does

The federal writ of mandamus and the declaratory judgment are both creatures of statute, both routinely invoked against federal officials, and both equitable in character. Their similarities tend to mask a fundamental difference in what they actually deliver to a successful plaintiff. A mandamus is a coercive order: the court directs the defendant to do something, and the defendant must comply. A declaratory judgment is a juridical statement: the court announces the legal relationship between the parties, and the parties order their conduct accordingly.

The mandamus comes from 28 U.S.C. § 1361, which gives federal district courts jurisdiction to issue writs of mandamus "to compel an officer or employee of the United States or any agency thereof to perform a duty owed to the plaintiff." The writ also descends from the broader equitable authority preserved by the All Writs Act at 28 U.S.C. § 1651. The substantive standard requires three things: a clear right in the plaintiff to the relief sought, a clear duty on the defendant to perform the act in question, and the absence of any other adequate remedy.

The declaratory judgment comes from the Declaratory Judgment Act at 28 U.S.C. § 2201, which authorizes any federal court to "declare the rights and other legal relations of any interested party seeking such declaration, whether or not further relief is or could be sought." The statute requires an actual case or controversy in the Article III sense, with the operative concept being a "ripe" dispute over current legal rights — but it imposes no requirement that the plaintiff lack any other remedy. A declaratory judgment can issue alongside any other claim or alone.

The two statutes were enacted decades apart for different reasons, and that historical disjunction is the source of much of the doctrine surrounding them. Mandamus is the older of the two — a common-law writ rebuilt for federal practice — while the Declaratory Judgment Act is a 1934 New Deal innovation designed to let parties resolve legal uncertainty before forcing a coercive remedy. The remedies complement each other; they do not substitute for each other.

The Differences That Decide the Pleading

The differences are easier to see in a table than in narrative. The points that matter most for choosing one remedy or the other tend to be the form of relief, the standard for obtaining it, and the procedural posture each remedy invites.

 MandamusDeclaratory Judgment
Statutory source 28 U.S.C. § 1361 (jurisdiction); 28 U.S.C. § 1651 (All Writs Act) 28 U.S.C. § 2201 (Declaratory Judgment Act)
Form of relief Coercive order — defendant must do the act compelled Binding declaration — court announces the legal relationship; parties act on it
Substantive standard Clear right, clear duty, no other adequate remedy Actual, concrete, ripe controversy; no adequacy requirement
Typical use Compelling overdue agency action; ordering performance of a specific ministerial duty Resolving uncertainty about legal rights before someone acts; declaring an interpretation of statute or regulation
Discretionary? Extraordinary remedy; courts retain equitable discretion to deny even where the standard is met Court has discretion under § 2201 to decline jurisdiction even when standing exists
Effect on government conduct Direct: an order the agency must obey Indirect: a statement of law the agency is expected to follow
Time horizon Operates on a past or present failure to act Can operate prospectively — clarifying rights before a dispute crystallizes into action
Relationship to APA claim Often pleaded alongside § 706(1) "unreasonable delay" — substantively overlapping Often pleaded alongside § 706(2) "agency action set aside" — for legal interpretation
When Each Is Right

Choosing the Right Tool

The two remedies overlap at the margins but most cases are not difficult to classify. The instinctive question is whether the plaintiff wants the agency to do something it has not done, or wants the court to say something about the legal landscape.

Mandamus Fits When —

Declaratory Judgment Fits When —

Plead Both When —

In a meaningful number of cases, the right answer is to plead both remedies in alternative counts. The complaint asks for a mandamus ordering the agency to act, an order under § 706(1) compelling unreasonably delayed agency action, and a declaratory judgment that the agency's continuing inaction violates the relevant statutory and regulatory framework. Pleading all three counts has several advantages: the court chooses the most appropriate vehicle, the agency cannot avoid liability by arguing that one remedy is the wrong fit, and the case carries a structural redundancy that survives partial dismissal motions.

Practitioner Note

The standard immigration-delay complaint pleads all three counts.

The standard mandamus complaint I file alleges (i) failure to act in violation of the mandamus statute, (ii) unreasonable delay under 5 U.S.C. § 706(1), and (iii) a declaratory judgment that the agency has unlawfully withheld action and is required to adjudicate within a reasonable time. The three counts cover the same nucleus of facts but invoke three different statutory authorities. A government motion to dismiss must defeat all three to clear the case, which raises the cost of opposing the complaint without raising the cost of bringing it.

Three Errors Worth Avoiding

One: treating the declaratory judgment as a softer mandamus. Some pleaders use the DJ count as a kind of fallback if the mandamus claim fails on the no-other-adequate-remedy element. That approach misunderstands the remedies. A declaratory judgment is not a coercive order in disguise; it is a different thing. If what the plaintiff needs is action, a DJ alone will not produce it.

Two: assuming the DJ is freely available. The Declaratory Judgment Act is permissive — federal courts have discretion under § 2201 to decline declaratory jurisdiction even where Article III standing is present. The most common ground for declining is that the dispute is more efficiently resolved through ordinary remedies. A DJ count should be pleaded with a clear explanation of why declaratory relief is appropriate, not assumed.

Three: forgetting that mandamus has its own discretion. Mandamus is an extraordinary remedy, and federal courts retain equitable discretion to deny relief even where the substantive standard is met. The complaint that wins mandamus is the one that not only satisfies the three elements but also makes the case for why this is the kind of matter in which equitable discretion should be exercised in the plaintiff's favor — typically by combining the legal showing with concrete evidence of harm.

Federal Mandamus, Done Right

My practice is federal immigration mandamus — compelling USCIS and the Department of State to act on unreasonably delayed applications. My standard complaint pleads mandamus, APA delay, and declaratory judgment in alternative counts because the strongest cases are the ones that can win on any of three statutory theories. If you have a USCIS delay and want a case evaluation, I am admitted in New York, New Jersey, Texas, and Missouri and litigate in federal district courts nationwide.

Email Me → WhatsApp →

Attorney Advertising. Prior results do not guarantee a similar outcome. This page is informational and does not constitute legal advice.

Attorney Advertising · Prior results do not guarantee a similar outcome · This website is for informational purposes only and does not constitute legal advice
WhatsApp Me