Concept
The Well-Pleaded Complaint Rule
Federal question jurisdiction
The Well-Pleaded Complaint Rule
The last two sections fixed the outer boundary of arising-under jurisdiction and the choice of forum it leaves open. What they did not answer is the practical question a district judge faces on the day a case is filed: which document, and which parts of it, decide whether this suit arises under federal law? The settled answer is that a suit arises under the Constitution and laws of the United States only when the plaintiff's statement of his own cause of action shows that it is based upon those laws or that Constitution.1 It is not enough that the plaintiff alleges some anticipated defense and then asserts that federal law defeats it, because such allegations show only that a federal question will probably arise somewhere in the litigation, not that the plaintiff's own cause of action rests on federal law.2 The complaint is the pleading that starts a civil action and sets out the basis for the court's jurisdiction, the basis for the claim, and the demand for relief.3 The modifier "well-pleaded" turns that actual document into a hypothetical one: the court asks what the pleading would contain if it alleged the elements the plaintiff must prove, and only those elements.4
That hypothetical is what separates necessity from mention, and the distinction is the whole rule. Section 1331 reaches a case only if the plaintiff's claim requires proof of federal law, so a complaint that happens to discuss a federal statute does not thereby become federal.5 Jurisdiction is determined from what necessarily appears in the plaintiff's statement of his own claim, not from anticipated defenses the complaint predicts the defendant will raise.6 A plaintiff who writes three paragraphs about the Fifth Amendment has not enlarged the court's power if she could have stated a complete claim without them. Conversely, a plaintiff who never names a statute still pleads a federal claim if the elements she must prove come from federal law. The question is always what the claim requires, never what the pleading says.
Step four is where students go wrong, because the instinct is to ask whether the federal issue is important rather than whether the claim survives without it. One limit on the method should be noted now: it works directly for claims seeking coercive relief, meaning relief that compels the defendant to pay money, to stop doing something, or to perform, and it requires two additional steps when the plaintiff seeks a declaratory judgment.8 That variation is taken up in its own subsection below.
The railway-pass litigation is the exercise worked in full. The Mottleys' bill alleged that they had been injured as passengers in 1871, that they released their damages claims in exchange for the railroad's promise of lifetime transportation, that the railroad honored the passes until January 1907, and that it then refused to renew them; the bill went on to allege that the refusal rested on the Act of Congress of June 29, 1906, that the Act did not reach passes given in these circumstances, and that if it did it violated the Fifth Amendment.9 Strike the paragraphs about the 1906 Act and the Fifth Amendment, and what is left reads: we had a contract, we gave up our claims, the railroad promised passes for life, and the railroad now refuses to deliver them. That remainder states a complete claim for breach of contract, which means the federal allegations, however certain they were to decide the dispute, were not necessary to the plaintiffs' case and therefore were not well-pleaded.10 Jurisdiction accordingly failed, and the Court said so even though the federal issues were the only genuinely contested questions in the case.11
Run the same exercise on a complaint built the other way and the result flips. Suppose an employee sues his former employer for firing him because of his religion, pleading that the discharge violated Title VII and demanding back pay. Strike every paragraph that concerns federal law and nothing is left except an allegation that a private employer ended an at-will job, which states no claim at all; the federal statute is not decoration on this pleading but the source of the duty, the breach, and the remedy. Now change one fact. Suppose instead that the same employee sues on a written three-year employment contract, pleads breach, and adds paragraphs explaining why a federal statute the employer has threatened to invoke does not excuse performance. The contract claim stands on its own once those paragraphs are removed, so the case belongs in state court, and no amount of additional detail about the anticipated federal defense will rehabilitate it.12
The shape of the rule follows from when a court must answer the jurisdictional question. A federal court has to know whether it has power at the outset, before the defendant has answered and often months before any defense is on paper, and the rule allows it to decide that question from the plaintiff's case alone.13 A test that waited on the answer would make the court's authority a prediction about an adversary's strategy, and every order entered in the interim would rest on a guess. The rule also closes an obvious route to manufactured jurisdiction: if anticipating a federal defense sufficed, a lawyer who preferred the federal courthouse could simply speculate in the complaint about defenses the defendant might raise, and the case would collapse when the defendant declined to raise them.14 Simplicity is worth a great deal in a jurisdictional rule for the same practical reason, because complex jurisdictional tests consume time and money while the parties litigate which court should decide the case rather than the merits, and because a court must satisfy itself of its own subject-matter jurisdiction even when no party raises the issue.15 That last point explains the odd posture of the railway-pass case, where the Court raised the defect on its own after both sides had litigated the merits through decree and appeal.16
What the rule produces, in operation, is a sorting device applied to the face of the complaint: claims resting on state law stay in state court absent diversity, and claims resting on federal law may be filed in federal court or removed there by the defendant.17 Because removal under § 1441 is measured by the same standard, the well-pleaded complaint rule governs not only what a plaintiff may file in the district court but also what a defendant may drag out of the state court, which is why the phrase "arising under" carries so much weight in managing the division of judicial business.18 In practice the filter is a demanding one, since a claim stays in state court unless a relatively substantial federal question appears on the face of the plaintiff's own pleading.19 The subsections that follow take up the four situations in which the filter is most often tested: the anticipated federal defense, the federal counterclaim, the plaintiff's power to shape the forum by choosing what to plead, and the declaratory judgment action that reverses the ordinary alignment of the parties.
Anticipated Federal Defenses
The drafting exercise in the last section is most often tested by a complaint that answers a defense before the defendant has raised one, and the decision that fixed the rule is built out of exactly that pleading. In September 1871 the Mottleys were injured as passengers through the railroad's negligence, and they released their claims for damages in exchange for the company's written promise of transportation for life.21 The railroad performed the agreement until January 1, 1907, when it declined to renew the passes, and the Mottleys brought a suit in equity in the federal circuit court in Kentucky to compel specific performance of the contract.22 Both sides were Kentucky citizens, so there was no diversity, and the only possible basis of jurisdiction was that the case arose under the Constitution or laws of the United States.23 Their bill supplied the federal material itself: it alleged that the refusal rested solely on the Act of Congress of June 29, 1906 forbidding free passes, that the Act did not prohibit passes given in these circumstances, and that if it did reach them it conflicted with the Fifth Amendment by taking their property without due process.24
Read those two allegations for what they are and the defect becomes visible. Each one is a reply, drafted in advance, to a defense the railroad had not yet pleaded. The settled interpretation of the jurisdictional words is that a suit arises under the Constitution and laws of the United States only when the plaintiff's statement of his own cause of action shows that it is based upon those laws or that Constitution, and it is not enough that the plaintiff alleges some anticipated defense and asserts that a federal provision defeats it.25 Allegations of that kind establish only that a federal question will very likely arise somewhere in the litigation, which is a different thing from showing that the plaintiff's original cause of action arises under federal law.26 The earlier tax case the Court relied on put the point in a sentence worth holding: "A suggestion of one party, that the other will or may set up a claim under the Constitution or laws of the United States, does not make the suit one arising under that Constitution or those laws."27
The posture in which that rule was announced is as instructive as the rule. The railroad demurred, the circuit judge overruled the demurrer and entered a decree giving the Mottleys the relief they asked for, and the railroad appealed directly to the Supreme Court on the two federal questions.28 Neither side had ever questioned the circuit court's jurisdiction, and both had litigated the merits on the assumption that the federal defense made the case a federal one.29 The Court raised the defect on its own and declined to decide either argued question, because the court below had no power over the cause.30 Subject-matter jurisdiction measures what a court may do, so the parties' agreement that the suit belonged there could not supply what the statute withheld, and everything the lower court had done fell with the jurisdiction that was supposed to support it.
Students resist the result because the federal issues were the whole fight, and that resistance is worth answering directly rather than suppressing. Whether the 1906 Act reached passes granted thirty-five years before its enactment, and whether such a reading would destroy vested property rights, were substantial and hotly contested federal questions, and the dispute genuinely turned on them.31 Section 1331 nonetheless asks a narrower question: does the plaintiff's claim require proof of federal law.32 The Mottleys could make out their entitlement to relief by proving that the railroad promised to renew the passes and then refused, which is a state-law contract case from beginning to end; the statute would enter the record as the company's justification for refusing, in other words as a defense, and never as an element of the plaintiffs' case in chief.33 Nor could better drafting have rescued the pleading. A plaintiff controls which claims to assert, but cannot change the law that created the only right he holds, and the sole source of the Mottleys' right against this railroad was their 1871 agreement.
The rule takes this shape for three reasons that operate independently, and separating them is what makes it portable to new facts. The first is a matter of timing: jurisdiction is settled by the state of affairs when the action is begun, which is when a plaintiff must choose a courthouse, a defendant must decide whether to remove or to challenge the forum, and the court must satisfy itself of its own authority.34 A test keyed to defenses would make that early decision a forecast of an adversary's strategy, and the first Mottley action shows the cost of guessing wrong, since years of federal litigation produced nothing but a jurisdictional dismissal.35 The second reason addresses incentives. Affirmative defenses, including federal ones, are easy to assert, so a rule that let a pleaded or predicted defense open the federal courthouse would allow a comparatively modest federal tail to wag an otherwise state-law dog, and a lawyer who preferred the federal forum could manufacture jurisdiction by speculating about a defense the defendant might never raise.36 The third reason is the ordinary division of labor in pleading: the complainant states his cause of action and the defendant sets up whatever defense he has and bears the burden of proving it, so a plaintiff who pleads a defense and then answers it before the defendant has spoken is doing something inconsistent with any known rule of pleading.37
One qualification keeps the rule in its proper place, and it marks the difference between the two "arising under" texts the chapter began with. The railroad's federal defense was enough to make the case one that Article III permits a federal court to hear, because the constitutional standard is satisfied by a federal ingredient anywhere in the controversy.38 What the Mottleys could not satisfy was the general statutory grant, which the Court construes far more narrowly than the constitutional text it copies.39 The barrier is therefore legislative rather than constitutional: were Congress to confer jurisdiction over civil actions in which a federal defense is pleaded, such a grant would lie within the judicial power Article III describes, and the Mottleys' suit would have been properly in federal court.40 Until Congress does that, the well-pleaded complaint controls, however large the federal question looms over the case.
A dismissal of this kind decides where the dispute is heard, not who wins it. Because the state courts are bound to apply federal law, the Mottleys' contract claim and the railroad's federal answer to it could be, and were meant to be, resolved in the state system in the first instance, with the Supreme Court correcting any mistake about the federal defense on review of the final state judgment.41 That allocation was more defensible in 1908, when a party whose federal claim or defense was rejected by a state court could appeal to the Supreme Court as of right; today the Court's docket is discretionary and most petitions from state judgments are turned away, so the rule often forecloses a federal forum altogether rather than merely postponing one.42 That criticism is worth knowing, and it changes nothing about the governing test.
Federal Counterclaims
An anticipated defense fails to support jurisdiction because it belongs to the defendant's half of the case, and the same objection reaches a pleading the defendant actually files. That was the question in Holmes Group, Inc. v. Vornado Air Circulation Systems, Inc., where the plaintiff filed a declaratory judgment action over trade dress and the defendant answered with a counterclaim for patent infringement, so the case was litigated as a patent case even though the complaint said nothing about patents.44 The Court held that the counterclaim could not make the action one arising under the patent laws: arising-under jurisdiction rests exclusively on the plaintiff's properly pleaded cause of action, and neither a federal defense asserted in the answer nor a federal counterclaim can create it.45
The reasoning is almost entirely a matter of where the document sits. Section 1338(a), which covers patent cases, uses the same operative language as § 1331, and linguistic consistency requires that the same test decide whether a case arises under either grant, so what is said about patent jurisdiction here is equally a statement about federal question jurisdiction generally.46 That test asks what necessarily appears in the plaintiff's statement of his own claim, which means the complaint must itself establish either that federal law creates the cause of action or that the plaintiff's right to relief necessarily depends on a substantial federal question.47 Federal jurisdiction therefore exists only when a federal question is presented on the face of the plaintiff's properly pleaded complaint, and whether a case arises under federal patent law "cannot depend upon the answer."48 A counterclaim appears as part of the defendant's answer rather than as part of the complaint, and that placement decides the issue; proposals that the answer as well as the complaint be consulted before jurisdiction is determined have been put to the Court and declined.49
The second and third reasons repay a moment's attention because they explain why the Court treats a seemingly technical line as worth defending. Removal takes a case away from a state tribunal, so expanding the removable class is not a neutral housekeeping change; it shifts business away from state courts on a scale Congress never authorized. And the timing problem is the one students underrate. Jurisdiction is supposed to be decided at the threshold from a single document, and once the answer counts, the court's authority turns on a filing that may not exist yet.
Set the two poles side by side and the rule becomes easy to run. Suppose an inventor files a complaint in federal court alleging that a manufacturer infringed her patent: federal law creates that cause of action, the complaint says so on its face, and jurisdiction follows from her own pleading. Now reverse the parties. Suppose an employer sues a former employee in state court on a state-law conversion theory, and the employee answers with a counterclaim under the federal age-discrimination statute. The court looks only at the employer's claim, which plainly rests on state law, so the case does not arise under federal law and cannot be removed on the strength of the counterclaim.52 Had the employee sued first in federal court on his federal statute, he would have been there properly, and the employer's state-law counterclaim for conversion would not have destroyed that jurisdiction, because the assessment is made on the plaintiff's claim alone.53 By losing the race to the courthouse, the holder of the federal right loses the federal forum.54
How strictly the line is drawn is best seen in what it cost in the patent case itself. The patent counterclaim there was actually adjudicated, yet that made no difference, because jurisdiction "is determined by reference to the well-pleaded complaint, not the well-tried case."55 The oddity is sharper still in patent and copyright matters, where § 1338 gives the federal courts exclusive jurisdiction and no such action may be brought in a state court at all.56 A federal claim in a field reserved to the federal courts can thus be raised in a case the federal courts have no original jurisdiction to hear, simply because its holder was sued first. That result is tolerated for the sake of a rule that can be applied from one document on the day the case is filed.
Critics have long thought the allocation backwards. As it stands, removal opens the federal courthouse to a defendant only when the plaintiff, who holds the federal right, has been willing to forgo the federal forum and file in state court, while a defendant who raises substantial federal law defensively or by counterclaim is shut out.57 A proposal of long standing would instead let whichever party invokes federal law bring it to a federal court for decision.58 The Court has made clear that it will not abandon the well-pleaded complaint rule by decision, taking it instead as the starting point in new contexts and leaving any adjustment to Congress.59 Until Congress acts, the examinable rule is the narrow one.
Master of the Complaint
If the court measures its own power by looking only at the complaint, then whoever writes the complaint controls the answer. That consequence is not an accident of the doctrine; the Court has embraced it as one of the reasons for keeping the inquiry on the plaintiff's pleading. Because the plaintiff is the master of the complaint, the well-pleaded complaint rule enables him, "by eschewing claims based on federal law," to have the cause heard in state court.61 The party who brings the suit decides what law he will rely upon, and in deciding that he decides whether he has brought a suit arising under federal law.62 Forum selection, in other words, is accomplished through the drafting of the claim rather than through a motion about where the case belongs.
This freedom is not costless, which is what keeps it from being an abuse. A plaintiff who omits a federal theory in order to stay in state court gives up whatever that theory would have delivered: the federal remedy, the federal measure of damages, the federal standard of liability. Lawyers make that trade often enough that it is a familiar feature of practice, pleading their cases to stay out of federal court even to the point of forgoing federal theories of recovery that might benefit them.63 Consider a plaintiff suing a police officer for a beating, where the parties are citizens of the same state. She has a state-law battery claim and could also have pleaded a federal civil rights claim, but she pleads only battery. Federal jurisdiction turns on the claims the plaintiff actually asserts rather than on those she could have asserted and did not, so the officer cannot remove, and she has paid for the state forum by surrendering the federal cause of action.64
The same control operates in the opposite direction, and the cleanest way to see it is to hold the facts constant and change only the claim. Suppose an inventor licensed his patented device to a manufacturer for royalties and the manufacturer stopped paying. A suit for the unpaid royalties is a contract claim: the law that creates the cause of action is state contract law, the inventor's right to the money comes from the promise to pay rather than from the patent, and he would have the same right if the device had never been patented.65 Now let him sue instead for an injunction against the manufacturer's continued sales. To win that relief he must prove that he holds the patent and that the manufacturer is exploiting it without permission, and the Patent Act itself supplies the right to the injunction, so this claim does arise under federal law and belongs in federal court.66 One dispute, two available claims, and counsel's selection between them settles the forum. The counterweight is that a plaintiff who does plead a federal claim in state court has opened the door to the other side: removal is governed by the same well-pleaded complaint standard, so the defendant may take a complaint stating a federal claim into the district court.67
What the plaintiff chooses among, however, is claims, not labels. The inquiry is what necessarily appears in the plaintiff's statement of his own claim, and that statement must establish either that federal law creates the cause of action or that the plaintiff's right to relief necessarily depends on resolution of a substantial federal question.68 The word doing the work is "necessarily." A pleader who avoids the phrase "federal statute" while asserting a right that exists only because a federal statute created it has changed the vocabulary of the complaint and nothing else, and the court reads the claim for what it requires the plaintiff to prove. Artful pleading of that kind fails because the opposite rule would let draftsmanship override Congress's allocation of business between the two court systems: every federal cause of action could be kept out of federal court by renaming it. There is also a narrow set of statutes whose preemptive force converts a claim the plaintiff has written as a state-law claim into a federal one regardless of the labels, and that doctrine of complete preemption is taken up below.
The third and fourth steps are where students lose points, and they pull in opposite directions. Step three protects the plaintiff's choice against a defendant who insists that a better lawyer would have pleaded the federal theory. Step four protects the statute against a plaintiff who pleads the federal theory and calls it something else.
Declaratory Judgment Actions
Everything so far has assumed that the party holding the claim is the party who files it. The declaratory judgment procedure breaks that assumption. Congress adopted the Declaratory Judgment Act, 28 U.S.C. § 2201, in 1934, and many states have authorized similar proceedings; such an action asks a court to declare the rights and liabilities of the parties so that they can plan their affairs, as when an insurer sues to resolve a dispute over the coverage of a policy before anyone has sued on it.70 Declaratory relief is available whenever a live dispute exists between the parties, and a request for it may be considered independently of whether any coercive remedy would also be appropriate.71 The practical effect is that a would-be defendant may sue first, which reverses the natural alignment of the parties and puts the person with the defense in the plaintiff's chair.
That reversal collides with the well-pleaded complaint rule, because a declaratory complaint by its nature recites the whole controversy. Take the free-pass dispute in Louisville & Nashville R. Co. v. Mottley and suppose it had been framed as a declaratory action: a complaint by either side would have set out the 1871 contract, the 1906 Act of Congress, and the constitutional objection, so the federal issue would appear on the face of the pleading no matter who filed.72 Were the face of that pleading controlling, the Act would have enlarged the business of the federal courts simply by supplying a new remedy, and it is well established that the Declaratory Judgment Act did not expand federal jurisdiction.73 A jurisdictional rule that could be defeated by being the first to file is no rule at all, since every defendant holding a federal defense to a state-law claim could manufacture a federal forum by racing to the courthouse.
The answer the Court adopted in Skelly Oil Co. v. Phillips Petroleum Co. is to unwind the declaratory action before testing it, asking what a complaint would have contained had the declaratory remedy never been created.74 Stated as a jurisdictional test, federal question jurisdiction exists only if the coercive or damage action that would have been brought in the absence of declaratory relief would itself have satisfied the well-pleaded complaint rule.75 The unwinding is performed no matter which party actually initiated the declaratory proceeding, which is what keeps the answer stable: in the free-pass example the court would consider only the passengers' contract claim and ignore the railroad's federal defense, so there would be no jurisdiction whether the passengers or the railroad filed.76 The same approach governs a declaratory action created by state law rather than by the federal Act.77
The second step carries the weight, and it is where the two poles separate. Suppose an employer files a declaratory action seeking a ruling that it has not violated a federal disability statute. Unwind it, and the coercive suit is the employee's action under that statute: federal law creates the cause of action, it would appear on the face of the employee's complaint, and jurisdiction therefore lies over the employer's declaratory suit. The pattern is familiar in intellectual property as well, where a patent holder who wants a declaration that a competitor is infringing has simply chosen a cheaper remedy for a claim that arises under federal law in either form.78 Now change only which side holds the federal law. Suppose a reporter sues for a declaration that the First Amendment protected a story he published. The coercive suit that would have been brought is the subject's state-law libel action, and the Constitution enters that action as a defense, so the hypothetical complaint states no federal claim and § 1331 supplies no jurisdiction.79
The hypothetical exercise is easier to state than to perform, as Franchise Tax Board v. Construction Laborers Vacation Trust shows. A California tax agency sought to levy on assets held in a trust and asked for a declaration that ERISA did not preempt its levy; because ERISA gave the trust its own federal cause of action, unwinding toward the defendant's coercive suit might have produced a federal claim, yet the Court denied jurisdiction, reasoning in part that state courts should be open to hear a state agency's suit to determine the legality of its own regulatory action.80 One further wrinkle is worth knowing without being confused with this rule: a separate, judge-made line of cases permits federal jurisdiction over suits seeking injunctive or declaratory relief against allegedly preempted state regulatory schemes, and that line must be kept analytically distinct from the unwinding rule and from complete preemption.81