Lack of subject-matter jurisdiction: getting a federal case dismissed under 12(b)(1)
Subject-matter jurisdiction is the federal court's authority to hear the type of case in front of it. Unlike most procedural defenses, it cannot be waived, cannot be consented to, and can be raised by either party (or by the court itself) at any stage of the litigation, all the way through appeal. A Rule 12(b)(1) [motion](/insights/glossary/motion) to dismiss is the procedural vehicle for raising it. When it succeeds, the case is over in federal court, and the plaintiff must either refile in state court or give up.
This guide covers the architecture of federal subject-matter jurisdiction, the leading authorities on federal question and diversity jurisdiction, the role of standing as a jurisdictional question, the non-waivability rule, and the all-important distinction between facial and factual attacks. It also covers brief-writing moves that maximize the chance of a clean dismissal without conversion to summary [judgment](/insights/glossary/judgment).
What subject-matter jurisdiction is, and why it matters
Federal courts are courts of limited jurisdiction. They may hear only the cases Congress has authorized them to hear under Article III and the relevant jurisdictional statutes. The two main grants are federal question jurisdiction under 28 U.S.C. § 1331 (cases "arising under" federal law) and diversity jurisdiction under 28 U.S.C. § 1332 (suits between citizens of different states with more than $75,000 in controversy). There are narrower grants as well: admiralty, bankruptcy, removal jurisdiction, and supplemental jurisdiction over state-law claims related to a federal claim.
The Supreme Court has been emphatic that subject-matter jurisdiction is not a technical defense. It goes to the very power of the court to act. See Steel Co. v. Citizens for a Better Environment, 523 U.S. 83, 94-95 (1998) ("Without jurisdiction the court cannot proceed at all in any cause."). A court that proceeds without subject-matter jurisdiction issues a judgment that is void from the beginning.
That posture has two consequences that matter for motion practice. First, subject-matter jurisdiction can be raised at any time, including for the first time on appeal. Second, the court has an independent obligation to confirm jurisdiction before deciding any other issue. A defendant whose 12(b)(1) motion is denied still has the argument available on appeal even if the case has gone all the way through trial.
Federal question jurisdiction under § 1331
Section 1331 grants jurisdiction over "civil actions arising under the Constitution, laws, or treaties of the United States." The straightforward case is one where federal law creates the cause of action. The harder cases are state-law claims that embed a federal issue.
The leading modern authority is Grable & Sons Metal Products, Inc. v. Darue Engineering & Manufacturing, 545 U.S. 308 (2005). The Court held that federal question jurisdiction may exist over a state-law claim when (1) the state-law claim necessarily raises a federal issue, (2) the federal issue is actually disputed, (3) the federal issue is substantial, and (4) federal jurisdiction is consistent with the congressionally approved balance of federal and state judicial responsibilities. Id. at 314.
Gunn v. Minton, 568 U.S. 251 (2013), tightened the Grable test, particularly the substantiality requirement. The Court held that a state-law legal malpractice claim turning on a federal patent issue did not "arise under" federal law because the federal issue, while disputed, was not substantial to the federal system as a whole. Id. at 260-64. The Court emphasized that Grable is a "narrow" category and the substantiality inquiry looks at importance to the federal system, not just to the parties.
For defense briefs in removal cases or in plaintiff-filed federal actions raising state-law claims with embedded federal issues, Grable and Gunn are the controlling framework. The brief should walk through each of the four Grable factors and explain (typically) why the federal issue is not substantial enough to satisfy Gunn.
Diversity jurisdiction under § 1332
Section 1332 confers jurisdiction when the parties are completely diverse (no plaintiff shares citizenship with any defendant) and the amount in controversy exceeds $75,000. The complete diversity rule comes from Strawbridge v. Curtiss, 7 U.S. (3 Cranch) 267 (1806), and has never been seriously questioned.
Diversity motions usually turn on one of three issues:
Citizenship of an individual. Citizenship for diversity purposes means domicile, not residence. Domicile requires physical presence plus an intent to remain indefinitely. A party who moves to a new state shortly before suit, with documented intent to return to the old state, may not be a citizen of the new state for diversity purposes. The defense brief should marshal facts (driver's license, voter registration, tax filings, property ownership, family location) and let the court determine domicile.
Citizenship of a corporation. A corporation is a citizen of its state of incorporation and the state where its principal place of business is located. 28 U.S.C. § 1332(c). After Hertz Corp. v. Friend, 559 U.S. 77 (2010), the principal place of business is the "nerve center" where the corporation's officers direct, control, and coordinate its activities. Id. at 92-93. That replaced the older multi-factor "muscle" test in most circuits.
Citizenship of unincorporated entities. Partnerships, LLCs, and other unincorporated entities take the citizenship of every one of their members. A single member who shares citizenship with the opposing party destroys complete diversity. This trap catches plaintiffs who plead an LLC defendant's citizenship by its state of formation rather than by the citizenship of its members.
The amount-in-controversy requirement is usually easy to satisfy on the face of the complaint, but it can be attacked when the plaintiff seeks only declaratory or injunctive relief, or when the damages claim is plainly inflated. The standard from St. Paul Mercury Indemnity Co. v. Red Cab Co., 303 U.S. 283, 288-89 (1938), is that the plaintiff's good-faith allegation of the amount in controversy controls unless it appears to a "legal certainty" that the claim is for less. That is a high bar for defendants, but not unreachable in narrow categories.
Standing as a jurisdictional question
Article III standing is part of subject-matter jurisdiction. A plaintiff who lacks standing cannot invoke the federal court's jurisdiction, regardless of the merits.
The controlling case is Lujan v. Defenders of Wildlife, 504 U.S. 555 (1992). Standing requires three elements:
- Injury in fact: a concrete, particularized, actual or imminent invasion of a legally protected interest. Id. at 560.
- Causation: a fairly traceable connection between the injury and the challenged conduct.
- Redressability: a likelihood that a favorable decision will redress the injury. Id. at 560-61.
The plaintiff bears the burden of establishing standing, and the burden grows as the case progresses. At the pleading stage, general factual allegations of injury may suffice. At summary judgment, the plaintiff must adduce evidence. At trial, the elements must be proved. Id. at 561.
The Supreme Court has elaborated standing doctrine extensively since Lujan. Steel Co. v. Citizens for a Better Environment, 523 U.S. 83 (1998), held that a federal court must address standing before reaching the merits, eliminating the practice of "hypothetical jurisdiction." Spokeo, Inc. v. Robins, 578 U.S. 330 (2016), required concrete injury even when Congress had created a statutory cause of action. TransUnion LLC v. Ramirez, 594 U.S. 413 (2021), tightened the concreteness requirement in class actions, holding that uninjured class members cannot recover.
Standing motions are particularly powerful at the pleading stage because the plaintiff must plead each Lujan element with sufficient factual support to survive Iqbal. A defense brief that walks through each element and identifies the missing factual content often produces a dismissal without leave to amend when the deficiency is intrinsic to the plaintiff's theory.
Sovereign immunity and the jurisdictional bar
Sovereign immunity is also jurisdictional. The United States may be sued only when Congress has waived its immunity, and the waiver must be express and unambiguous. See FDIC v. Meyer, 510 U.S. 471, 475 (1994). State sovereign immunity under the Eleventh Amendment likewise bars federal suits against states absent congressional abrogation or state consent.
For defense briefs raising sovereign-immunity defenses, the framing is straightforward: identify the sovereign defendant, identify the absence (or limited scope) of any congressional waiver, and ask for dismissal under 12(b)(1). The brief should distinguish jurisdictional bars from merits defenses. A Federal Tort Claims Act suit that does not plead administrative exhaustion, for example, is jurisdictionally barred and dismissal is proper under 12(b)(1) rather than 12(b)(6).
Non-waivability and timing
Subject-matter jurisdiction cannot be waived, conferred by consent, or forfeited by failure to raise it. See Arbaugh v. Y & H Corp., 546 U.S. 500, 514 (2006) ("subject-matter jurisdiction, because it involves a court's power to hear a case, can never be forfeited or waived"). The defendant who discovers a jurisdictional defect for the first time on the eve of trial can still raise it.
Arbaugh also drew an important distinction between jurisdictional rules and merits rules that look jurisdictional. The Court adopted a "readily administrable bright line": if Congress "clearly states" that a threshold limitation on a statute's scope is jurisdictional, courts treat it as jurisdictional; otherwise, it is treated as a merits element subject to ordinary waiver and forfeiture rules. Id. at 515-16. The Arbaugh framework has been applied repeatedly in subsequent cases to determine whether numerical thresholds, exhaustion requirements, and time limits are jurisdictional.
Defense briefs should not over-claim. Mislabeling a merits requirement as jurisdictional invites the court to apply Arbaugh and reject the framing.
Facial versus factual attacks
The single most important procedural distinction in 12(b)(1) practice is between facial and factual attacks. The two have different rules.
Facial attack. A facial attack accepts the truth of the complaint's allegations and argues that, even if true, they do not establish subject-matter jurisdiction. The court treats a facial 12(b)(1) motion much like a 12(b)(6) motion: it confines itself to the four corners of the complaint and accepts well-pleaded allegations as true.
Factual attack. A factual attack disputes the truth of the jurisdictional allegations. The court may consider evidence outside the pleadings (affidavits, deposition excerpts, documents) and resolve disputed facts to determine jurisdiction. The plaintiff bears the burden of establishing jurisdiction by a preponderance of evidence.
The distinction matters because conversion rules do not apply. Unlike 12(b)(6), a 12(b)(1) factual attack does not convert to summary judgment when extrinsic evidence is considered. The court decides the jurisdictional facts itself, even if those facts overlap with the merits.
There is one important caveat. When the jurisdictional facts are intertwined with the merits, courts often defer the factual jurisdictional determination until summary judgment or trial, to avoid prejudging the merits. The defense brief should anticipate this caveat and explain (when possible) why the jurisdictional issue can be resolved without touching the merits.
How to brief the motion
The structure of a winning 12(b)(1) brief:
Introduction
State the jurisdictional defect plainly. "This Court lacks subject-matter jurisdiction because [the plaintiff and one defendant share citizenship / the complaint pleads only state-law claims / the plaintiff lacks Article III standing]." One paragraph.
Legal standard
A short section explaining that subject-matter jurisdiction is non-waivable and that the plaintiff bears the burden of establishing it. Cite Steel Co. and Arbaugh. Identify whether the attack is facial or factual.
Argument
Lead with the strongest defect. If standing is the issue, walk through each Lujan element. If diversity is the issue, identify the citizenship problem with specific facts. If federal question is the issue, walk through Grable and explain why one or more factors fails under Gunn.
For factual attacks, attach affidavits or evidence proving the jurisdictional fact. The defense should be ready to authenticate documents and (if needed) offer a witness.
Conclusion
Ask for dismissal without prejudice. Subject-matter jurisdiction dismissals are not merits adjudications; the plaintiff is usually free to refile in state court or to cure the defect (for example, by dropping a non-diverse party).
What sinks a 12(b)(1) motion
Three failures recur.
Confusing 12(b)(1) with 12(b)(6). Some defendants reflexively challenge the merits under the jurisdictional label. The court will recharacterize. Standing arguments, for example, are jurisdictional, but failure-to-state-a-claim arguments are not. Plead them separately.
Treating a factual attack as a facial attack. Defendants who file a factual attack and forget to attach evidence give the court no basis to find jurisdictional facts. Conversely, defendants who treat a facial attack as a factual one waste the chance to lock in the plaintiff's allegations as the analytical framework.
Mislabeling merits limits as jurisdictional. After Arbaugh, the bright line is whether Congress clearly stated that a threshold was jurisdictional. A defense brief that asserts jurisdictionality without that statutory basis loses both the motion and credibility on later issues.
The bottom line
A 12(b)(1) motion succeeds when the brief: identifies the specific jurisdictional defect (federal question, diversity, standing, or sovereign immunity), uses the right doctrinal framework for each, distinguishes facial from factual attacks and gathers the evidence the attack requires, and respects the Arbaugh line between true jurisdictional limits and merits elements. It fails when the brief blurs jurisdiction with merits, attaches evidence in a facial attack, or claims jurisdictionality without statutory support.
For plaintiffs defending federal subject-matter jurisdiction, the response template is to plead the jurisdictional basis with sufficient factual content to survive a facial attack and, where a factual attack is foreshadowed, to be ready with evidence proving the jurisdictional facts. Subject-matter jurisdiction is the one defense that never goes away. Both sides should brief it as if it might be raised again on appeal, because it can be.