We need to discuss legal requirements for 'federal question' jurisdiction. This is under 28 U.S.C. §1331: "The district courts shall have original jurisdiction of all civil actions arising under the Constitution, laws, or treaties of the United States." So we need to explain when a case can be brought in federal court because it arises under federal law. We should cover the well-pleaded complaint rule, the substantial federal question doctrine, and other nuances like federal defense, etc. Also discuss that federal question jurisdiction is not limited to cases where federal law creates the cause of action; it also includes cases where a state law claim necessarily raises a disputed federal issue, but there are limitations such as the "substantial" federal issue and "artful pleading" doctrine. We should also mention that complete preemption is a doctrine that can convert a state law claim into a federal claim for jurisdictional purposes. Also discuss that for federal question jurisdiction, the federal issue must be presented on the face of the plaintiff's properly pleaded complaint; it cannot be based on a federal defense. Also mention that there is a statutory amount-in-controversy requirement for diversity jurisdiction, but not for federal question (except for some special cases like §1332). Also discuss that the case must be a civil action; criminal cases are under different jurisdiction.
We can structure: Introduction (what is federal question jurisdiction); statutory basis; well-pleaded complaint rule; "arising under" meaning; cases where federal law creates cause of action; cases where federal issue is embedded in state law claim; substantial federal question; artful pleading; preemption; exclusive federal jurisdiction; and maybe mention supplemental jurisdiction for state claims. Also mention that there is also original jurisdiction for cases involving federal questions under Article III, but Congress has implemented via §1331. Also note that there is no amount-in-controversy requirement. Also mention that there are certain statutes that grant exclusive federal jurisdiction over particular matters (e.g., patent infringement, antitrust, etc.) but that's also federal question. But the question specifically asks: "Discuss the legal requirements for 'federal question' jurisdiction. When can a case be brought in federal court because it arises under the Constitution, laws, or treaties of the United States?" So we should discuss the requirements, focusing on when a case arises under federal law.
We can also discuss the "substantial federal question" test from Grable v. Darue Engineering, and the concept of "federal ingredient" from Smith v. Kansas City Title Co. etc. Also mention the "well-pleaded complaint" rule: the federal issue must appear in the plaintiff's statement of his own claim, not in anticipation of a defense. Also mention the "complete preemption" exception, where Congress may so completely preempt a field that any claim in that field is necessarily federal. Also mention that there are specific statutory grants of jurisdiction for certain federal claims (like 28 U.S.C. §1337 for commerce and antitrust). But they are still federal question.
We should also touch upon the difference between subject-matter jurisdiction and merits; the federal question must be substantial and disputed; but also the jurisdictional issue must be considered early.
Also note that there is a requirement that the federal issue be "actually disputed" and "substantial" to the federal system (i.e., not just a trivial or collateral federal issue). So we can discuss Grable and its progeny.
Also discuss that for certain federal statutes, like those that create private rights of action, they automatically confer federal question jurisdiction. But some federal statutes may provide exclusive state jurisdiction, but rarely.
Also mention that removal jurisdiction: if a case is filed in state court, a defendant may remove to federal court if the case could have originally been filed in federal court, including federal question. But there is a time limit and other requirements.
Also mention the "artful pleading" doctrine: a plaintiff cannot avoid federal jurisdiction by framing a claim that is essentially federal as a state law claim. This is tied to preemption and the well-pleaded complaint rule.
We should also consider that some cases may be dismissed for lack of federal question jurisdiction if the federal claim is frivolous or insubstantial, but that is a high threshold.
We should provide examples: e.g., a plaintiff sues for violation of a federal statute; that's clear. Or a plaintiff sues for breach of contract, but the contract's validity depends on interpretation of a federal statute; that may not be enough unless the federal issue is substantial and central. Or a plaintiff sues for quiet title under state law, but the claim depends on the validity of a federal tax lien; Grable held that federal jurisdiction existed.
Also discuss that the federal question must be an essential element of the plaintiff's claim, not merely a potential defense. So if the plaintiff's cause of action is created by state law, but the plaintiff must prove a federal violation as part of the claim, that may give federal jurisdiction, but the case law is nuanced.
We should also mention that under the "substantial federal question" test, the court must consider whether exercising federal jurisdiction would disturb the balance of federal and state judicial responsibilities. So there is a discretionary element.
We might also mention the "Gunn v. Minton" case where federal jurisdiction was lacking because the federal issue (patent attorney malpractice) was not substantial to the federal system; even though patent law issue was involved, it was only a hypothetical issue. So the federal issue must be important to the federal system, not just to the parties.
We should also mention the "well-pleaded complaint" rule is a cornerstone: the federal question must be presented on the face of the plaintiff's properly pleaded complaint. This is from Louisville & Nashville R.R. v. Mottley.
We could also discuss the "Holmes doctrine" that a case arises under federal law if federal law creates the cause of action, even if the federal issue is not disputed. So if the claim is based on a federal statute, it automatically arises under federal law, and jurisdiction exists regardless of whether the federal issue is substantial or disputed. But if the claim is based on state law, then the substantial federal question test applies.
Thus, there are two pathways: (1) federal-law-created cause of action (including Constitution) – then jurisdiction exists, subject only to the requirement that the claim is not frivolous; (2) state-law-created cause of action that includes a contested and substantial federal issue that is necessary to the claim.
We should also mention that some federal statutes have jurisdictional elements, but that is separate.
Also, we need to consider that the case must be a "civil action." Criminal prosecutions are brought in federal court under federal criminal jurisdiction (18 U.S.C. etc.), but that's not under §1331. So focus on civil.
We should also consider the "federal ingredient" test from Smith v. Kansas City Title & Trust Co., where a state law claim that necessarily required interpretation of the Federal Reserve Act gave rise to federal jurisdiction. But that case may have been overruled or limited.
Actually, Smith v. Kansas City Title is still cited, but Grable refined it.
Thus, we should structure answer:
-
Introduction: Federal question jurisdiction allows federal courts to hear cases arising under federal law, based on Article III and 28 U.S.C. §1331.
-
The well-pleaded complaint rule: The federal issue must appear on the face of the plaintiff's complaint; it cannot arise from an anticipated defense. Example: Mottley case.
-
Two main categories:
a. Cases where federal law creates the cause of action. This includes cases where the plaintiff's claim is based directly on a federal statute, the Constitution, or a treaty. In these cases, federal jurisdiction is automatic; the claim must be non-frivolous. Even if the federal issue is not disputed, jurisdiction exists.
b. Cases where the plaintiff's claim is based on state law but necessarily raises a federal issue. For these, additional requirements apply:
i. The federal issue must be actually disputed.
ii. The federal issue must be substantial to the federal system (i.e., of significant importance to the federal interest).
iii. The exercise of federal jurisdiction must not disrupt the balance of federal and state judicial responsibilities (i.e., must be consistent with congressional intent and not open the floodgates to federal courts).
This is the Grable test.
-
Exceptions and nuances:
a. Artful pleading doctrine: Plaintiff cannot avoid federal jurisdiction by disguising a federal claim as a state law claim. If the claim is "really" federal, the court will treat it as such. This often overlaps with preemption.
b. Complete preemption: In certain areas, federal law so completely preempts state law that any claim is necessarily federal, regardless of how pleaded. Example: ERISA, LMRA, some provisions of the Copyright Act, etc. In these areas, any state law claim that falls within the scope of the preemptive federal statute is converted into a federal claim for jurisdictional purposes.
c. The substantiality requirement: The federal issue must be important to the federal system, not just to the parties. For instance, a federal issue that is merely a fact-bound, case-specific application of federal law may not be substantial. Gunn v. Minton example.
d. Exclusive federal jurisdiction: Some federal statutes confer exclusive jurisdiction to federal courts, meaning state courts cannot hear them. But that is separate from arising under jurisdiction; those cases must be brought in federal court. (E.g., patent infringement, antitrust under §1337, but §1337 grants original but not exclusive; exclusive jurisdiction is given by specific statutes like 28 U.S.C. §1338 for patents.)
-
Additional considerations:
a. No amount-in-controversy requirement for federal question jurisdiction.
b. Supplemental jurisdiction: If the federal claim is present, state law claims can be joined under 28 U.S.C. §1367 if they form part of the same case or controversy.
c. Removal: Defendants can remove cases from state court to federal court if the case could have originally been filed in federal court under federal question jurisdiction, subject to certain restrictions (e.g., no removal for cases solely under §1331 if defendant is a citizen of the forum state? Actually, removal under §1441: any civil action brought in state court of which district courts have original jurisdiction may be removed; for federal question, there is no restriction based on defendant's citizenship; that restriction is for diversity removal. So defendants can remove if the case arises under federal law, subject to time limits and other procedural requirements.)
d. Frivolous claims: If the federal claim is wholly insubstantial, the court may dismiss for lack of jurisdiction.
We should also mention that the "arising under" language in §1331 is coextensive with Article III's "arising under" but Congress could limit it; but it's interpreted broadly.
Also note that the Supreme Court has held that a case arises under federal law if the plaintiff's right to relief depends on the resolution of a substantial question of federal law. (This is the "necessity" test from Smith and Grable.)
Also, the well-pleaded complaint rule is not absolute; there are exceptions like the substantial federal question doctrine and preemption. But the general principle remains.
We must be careful: The well-pleaded complaint rule is a corollary of the "arising under" concept: the plaintiff is master of the complaint, so the complaint must show a federal issue. But if a state law claim necessarily involves a federal issue, that federal issue is part of the plaintiff's claim, so it satisfies the well-pleaded complaint rule. So the rule is not separate; it's the same: the federal issue must be part of the claim as pleaded. But the Mottley case held that a federal defense does not confer jurisdiction because it's not part of the plaintiff's claim. So the rule is: jurisdiction is determined by the plaintiff's statement of his own claim, not by anticipation of defense.
Thus, in a state law claim that necessarily involves a federal issue, the federal issue is part of the plaintiff's claim, so it's okay. So the well-pleaded complaint rule is not an additional requirement beyond that the federal issue be part of the claim; it's just a way to phrase it.
But there is a nuance: even if a federal issue is necessary to the state law claim, it may not be "substantial" enough. So the Grable test is applied.
Also, note that some cases might involve federal law as a "passing reference" or as an issue that could be avoided; then federal jurisdiction might not lie. So the federal issue must be essential to the claim, not just tangential.
Now, to write a comprehensive answer, we should include key cases: Mottley (well-pleaded complaint rule), Smith v. Kansas City Title (federal ingredient), Merrell Dow (substantiality, but that case denied jurisdiction because federal issue was not substantial), Grable (substantial federal question test), Gunn v. Minton (applying Grable to patent malpractice), and perhaps Gunn's reasoning about "substantiality to the federal system." Also mention the "artful pleading" and "complete preemption" doctrines with cases like Avco (preemption under LMRA), Metropolitan Life (ERISA), etc.
We also need to mention that for federal question jurisdiction, the federal law must be a federal statute, the Constitution, or a treaty. So common law or state law does not count.
Also, note that there is a "federal question" jurisdiction for cases "arising under" the Constitution, even if the claim is based on state law but the plaintiff alleges a constitutional violation. For example, a plaintiff sues a state official under §1983 for violation of federal constitutional rights; that's a federal cause of action under §1983, so it's federal law-created.
Now, we need to discuss "legal requirements" – essentially, the elements that must be satisfied for a court to exercise jurisdiction.
Thus, we can outline:
I. Statutory and Constitutional basis: Article III, §2; 28 U.S.C. §1331.
II. The well-pleaded complaint rule: the federal issue must appear on the face of the plaintiff's properly pleaded complaint; cannot be based on a defense.
III. Categories:
A. Federal-law-created cause of action: jurisdiction exists if the claim is not wholly insubstantial.
B. State-law-created cause of action: must meet the "substantial federal question" test:
1. The federal issue must be necessarily raised (i.e., essential to the claim).
2. The federal issue must be actually disputed.
3. The federal issue must be substantial (important to the federal system as a whole).
4. The exercise of federal jurisdiction must be consistent with congressional judgment about the division of labor between state and federal courts.
IV. Exceptions and related doctrines:
A. Artful pleading: prevents plaintiffs from disguising federal claims as state claims to avoid federal jurisdiction or to choose forum.
B. Complete preemption: certain federal statutes convert state law claims into federal claims for jurisdictional purposes.
C. Exclusive federal jurisdiction: some federal statutes grant exclusive jurisdiction to federal courts; then the case must be filed there.
V. Additional procedural aspects:
A. No amount-in-controversy requirement.
B. Supplemental jurisdiction for related state claims.
C. Removal.
VI. Conclusion.
We should write in clear, organized paragraphs. The question asks: "Discuss the legal requirements for 'federal question' jurisdiction. When can a case be brought in federal court because it arises under the Constitution, laws, or treaties of the United States?" So we need to explain when a case can be brought. So we need to provide a practical guide: if you want to bring a case in federal court under federal question, what must you show? Essentially, the complaint must either state a claim under federal law, or if it's a state law claim, it must necessarily involve a substantial and disputed federal issue. Also, be aware of preemption doctrines.
Also note: There is also a requirement that the federal issue be "actual" and "significant" – not hypothetical or moot. But that's part of case-or-controversy requirement, not specific to federal question.
We can also mention that the federal court must have personal jurisdiction over the parties, but that's separate.
Now, we need to produce a final answer that is thorough but not overly long. Probably about 800-1200 words? The instruction says: "You are ChatGPT, a large language model." So we need to respond as an assistant. It says "Discuss the legal requirements..." So we should provide a comprehensive discussion, likely including case law and examples.
We should also consider that the question might be from a law school exam or something, so we need to be precise and cite relevant statutes and cases.
Thus, we will write a well-structured essay with headings maybe, but not necessary. We'll use paragraphs.
Let's begin drafting.
First paragraph: Introduce federal question jurisdiction.
"Federal question jurisdiction refers to the authority of federal district courts to hear civil actions that arise under the Constitution, laws, or treaties of the United States. This jurisdiction is rooted in Article III, Section 2 of the U.S. Constitution and is implemented by 28 U.S.C. § 1331, which provides that '[t]he district courts shall have original jurisdiction of all civil actions arising under the Constitution, laws, or treaties of the United States.' Unlike diversity jurisdiction, there is no amount-in-controversy requirement for federal question cases. However, not every case that touches on federal law qualifies; courts apply a set of well-established principles to determine whether a case 'arises under' federal law for purposes of §1331."
Second paragraph: The well-pleaded complaint rule.
"The first and most fundamental requirement is the 'well-pleaded complaint rule.' Under this rule, federal question jurisdiction exists only when the federal issue is presented on the face of the plaintiff's properly pleaded complaint. In other words, the plaintiff's own claim must depend on federal law; jurisdiction cannot be predicated on a federal defense, even if that defense is anticipated to be the only real controversy in the case. The classic illustration is Louisville & Nashville R.R. v. Mottley, 211 U.S. 149 (1908), where the plaintiffs sought specific performance of a contract that they claimed was not barred by a later federal statute. The Court held that because the plaintiffs' claim was based on state contract law and the federal statute appeared only as an anticipated defense, the case did not arise under federal law and could not be brought in federal court."
Third paragraph: Two pathways.
"Beyond the well-pleaded complaint rule, courts recognize two principal pathways by which a case may arise under federal law. The first and most straightforward is when federal law itself creates the cause of action. If the plaintiff's claim is based directly on a federal statute, the Constitution, or a treaty, then the action automatically arises under federal law for jurisdictional purposes. The claim must be non-frivolous—that is, it must have some plausible basis—but there is no requirement that the federal issue be substantial or actually disputed. For example, a suit for damages under Title VII of the Civil Rights Act, or an action for declaratory relief alleging a violation of the First Amendment, readily establishes federal question jurisdiction."
Fourth paragraph: State law claims with embedded federal issues.
"The second pathway applies when the plaintiff's cause of action is created by state law but the claim necessarily raises a federal issue. In such circumstances, the federal issue must be an essential part of the plaintiff's claim, not merely a tangential or incidental element. Moreover, to justify federal jurisdiction, the federal issue must be 'actually disputed' and 'substantial.' The Supreme Court's decision in Grable & Sons Metal Products, Inc. v. Darue Engineering & Manufacturing, 545 U.S. 308 (2005), established a four-part test (though often articulated as three parts) to determine whether a state-law claim arises under federal law:
- The federal issue must be necessarily raised (i.e., it is a necessary element of one of the plaintiff's claims);
- The federal issue must be actually disputed;
- The federal issue must be substantial—that is, it must be important to the federal system as a whole, not just to the parties; and
- The exercise of federal jurisdiction must be consistent with congressional judgment about the division of labor between state and federal courts (often referred to as the 'balance of federal and state judicial responsibilities')."
Fifth paragraph: Explanation of the substantiality requirement and examples.
"The 'substantial' requirement ensures that federal courts are not inundated with state-law cases that merely tangentially involve federal law. For instance, in Grable itself, a quiet title action under state law depended on the validity of a federal tax lien; the Court found the federal issue substantial because it involved the meaning of a federal tax statute and the federal government had a strong interest in a uniform interpretation. By contrast, in Gunn v. Minton, 568 U.S. 251 (2013), a state-law malpractice claim against a patent attorney hinged on a hypothetical question of patent law; the Court held that the federal issue was not substantial because it was only a case-specific, fact-bound inquiry that would not affect the development of patent law, and the federal courts' exclusive jurisdiction over patent cases did not automatically confer federal question jurisdiction over every related state-law claim."
Sixth paragraph: Artful pleading and complete preemption.
"Two important doctrines can circumvent the well-pleaded complaint rule in favor of federal jurisdiction: artful pleading and complete preemption. The artful pleading doctrine prevents a plaintiff from disguising what is essentially a federal claim as a state-law claim to avoid federal jurisdiction. If the state-law claim is completely preempted by federal law, it is considered a federal claim for jurisdictional purposes, regardless of how the plaintiff frames it. Complete preemption applies in limited areas where Congress has evidenced an intent to occupy an entire field, such as labor disputes under the Labor Management Relations Act (LMRA) and employee benefit plans under the Employee Retirement Income Security Act (ERISA). In those fields, any claim that falls within the scope of the federal statute is treated as arising under federal law and can be removed to federal court."
Seventh paragraph: Additional considerations.
"Several other points are relevant. First, there is no amount-in-controversy requirement for federal question jurisdiction, unlike diversity jurisdiction. Second, once a federal court has federal question jurisdiction over a claim, it may exercise supplemental jurisdiction over related state-law claims under 28 U.S.C. § 1367, provided they arise from the same case or controversy. Third, defendants may remove a case from state court to federal court if the case could have originally been filed in federal court under federal question jurisdiction, subject to certain procedural requirements (28 U.S.C. § 1441). Finally, if the federal claim is frivolous or wholly insubstantial, the court may dismiss for lack of subject-matter jurisdiction."
Eighth paragraph: Conclusion.
"In sum, a case may be brought in federal court under federal question jurisdiction if the plaintiff's complaint either (1) asserts a claim directly under federal law, or (2) asserts a state-law claim that necessarily raises a disputed and substantial federal issue, and the exercise of jurisdiction aligns with congressional intent. The well-pleaded complaint rule remains the guiding principle, but the substantial federal question doctrine and preemption doctrines expand federal jurisdiction in appropriate cases. Understanding these requirements is essential for litigants seeking to invoke the jurisdiction of federal courts."
We might also mention that the case must be a "civil action" – criminal prosecutions are handled under federal criminal jurisdiction.
We should also note that there are specific statutory grants like §1337 (commerce and antitrust) which are still federal question but have their own provisions.
But the question is specifically about federal question jurisdiction, so it's fine.
We might also mention that the "arising under" language is also used for federal appellate jurisdiction (28 U.S.C. §1291) and Supreme Court review (28 U.S.C. §1257), but that's beyond scope.
Now, check if we've covered all important nuances: The well-pleaded complaint rule is clear. The two pathways: federal cause of action vs. state cause of action with embedded federal issue. The Grable test. The substantiality requirement. The balance of responsibilities. The artful pleading and complete preemption. No amount in controversy. Supplemental jurisdiction. Removal. Frivolous claims.
We might also mention that for federal question jurisdiction, the federal issue must be "present" in the complaint, not just anticipated. That's the well-pleaded rule.
Also, we might want to discuss that some courts have held that if the federal issue is not necessary to the plaintiff's claim (i.e., the plaintiff could win without resolving the federal issue), then jurisdiction is lacking. That is part of the "necessarily raised" requirement.
Also, note that in some cases, a plaintiff might include both federal and state claims; then jurisdiction exists based on the federal claim.
Also, mention that for constitutional claims, sometimes plaintiffs may sue under §1983, which is a federal cause of action.
We should also note that there is a distinction between "federal question" jurisdiction and "pendent" jurisdiction, but that's supplemental.
We should also discuss that some statutes have "jurisdictional elements" that automatically confer federal jurisdiction, e.g., a claim under the Fair Labor Standards Act might require interstate commerce, but that's part of the federal cause of action.
Also, note that the "substantial federal question" test is not required when the cause of action is federal. So if the plaintiff brings a claim under a federal statute, even if the federal issue is not disputed or is trivial, jurisdiction exists. That's because the federal statute itself is the source of the claim. However, if the claim is wholly insubstantial or frivolous, the court may dismiss for lack of jurisdiction or on the merits.
We should also mention that the Supreme Court has held that a claim "arising under" federal law includes cases where the plaintiff's claim is based on a federal statute that is not self-executing? But generally, if the plaintiff alleges a violation of a federal statute, it's enough.
Now, we must ensure the answer is accurate and up-to-date. Grable (2005) is still good law. Gunn (2013) is also recent. Also, note that in 2022, the Supreme Court decided more cases? Not directly on federal question, but maybe. There's also the "American Well Works" case? Not sure.
We might also mention the "Holmes doctrine" – that a case arises under federal law if the plaintiff's right to relief depends on federal law. That's from American Well Works Co. v. Layne & Bowler Co., 241 U.S. 257 (1916). But we can incorporate it.
Also, note that the "well-pleaded complaint rule" is sometimes called the "Mottley rule." Good.
We should also mention that some cases involve federal issues that are "embedded" in state law, like when the plaintiff's state law claim requires proof of a federal violation as an element. For example, a state tort claim for violation of a federal safety regulation might present a federal issue. But then the question is whether the federal issue is substantial. In Merrell Dow Pharmaceuticals Inc. v. Thompson, 478 U.S. 804 (1986), the Court held that a state law negligence claim that relied on a federal statute as evidence of the standard of care did not give rise to federal question jurisdiction because the federal statute did not create a private right of action and the federal issue was not substantial. That case predated Grable but still informs.
We might incorporate Merrell Dow as an example of a case where the federal issue was not substantial. But Grable overruled or distinguished Merrell Dow? Actually, Grable said that Merrell Dow had held that the presence of a federal issue in a state claim does not automatically confer jurisdiction; it must be substantial. Grable reaffirmed that. So we can mention Merrell Dow as a precursor.
Thus, we can mention Merrell Dow to illustrate that a mere reference to federal law is not enough.
Also, we should mention the "federal ingredient" test from Smith v. Kansas City Title & Trust Co., 255 U.S. 180 (1921), where the plaintiff's state law claim to enjoin a bank from investing in certain securities required determining whether those securities were valid under the Federal Reserve Act; the Court found jurisdiction. That case is often cited as an early example of a state law claim that arises under federal law because the federal issue is necessary. However, the modern approach is Grable.
Now, for completeness, we might note that there is also a "substantial federal question" requirement for appellate jurisdiction under §1291? Not needed.
Also, we might note that the Supreme Court has cautioned that federal courts should not become courts of general jurisdiction; they are courts of limited jurisdiction. So the requirements are interpreted to limit federal jurisdiction to cases truly needing a federal forum.
Now, let's craft the final answer.
We'll write in an essay style, with clear paragraphs, no bullet points (though we could use bullet points for clarity but probably not necessary). But the instruction says "discuss", so we can use subheadings if desired. I'll avoid subheadings and just use paragraphs.
I'll aim for around 1000 words.
Let's write.
[Start answer]
Federal question jurisdiction is a cornerstone of the federal judiciary, permitting district courts to adjudicate civil actions that implicate federal law. Rooted in Article III, Section 2 of the U.S. Constitution and codified in 28 U.S.C. § 1331, this jurisdiction encompasses all civil actions “arising under the Constitution, laws, or treaties of the United States.” Unlike diversity jurisdiction, there is no monetary threshold for federal question cases. However, because federal courts are courts of limited jurisdiction, careful judicial scrutiny ensures that a case truly “arises under” federal law before it proceeds in federal court. The legal requirements have been shaped by decades of Supreme Court precedent, centering on the well-pleaded complaint rule and, for state-law claims, the substantial federal question doctrine.
The well-pleaded complaint rule is the first hurdle. Under this rule, federal question jurisdiction exists only if the federal issue appears on the face of the plaintiff’s properly pleaded complaint. Put differently, the plaintiff’s own claim must depend on federal law; jurisdiction cannot be founded on a federal defense, even if that defense is the central controversy. The classic case is Louisville & Nashville R.R. v. Mottley, 211 U.S. 149 (1908), where the plaintiffs sought specific performance of a contract that they argued was not invalidated by a subsequent federal statute. Because the complaint asserted a state contract claim and the federal statute arose only as an anticipated defense, the Court held that the case did not arise under federal law. The well-pleaded complaint rule thus respects the plaintiff’s prerogative as master of the complaint but also prevents defendants from creating federal jurisdiction by inserting federal defenses.
Beyond this threshold, courts recognize two primary categories of cases that arise under federal law. The first—and simplest—is when federal law itself creates the cause of action. If the plaintiff’s claim is based directly on a federal statute, the Constitution, or a treaty, then the action automatically arises under federal law. The claim need only be non-frivolous; there is no requirement that the federal issue be substantial or even disputed. For example, a Title VII discrimination suit, a Bivens action for constitutional violations, or a claim under the Securities Exchange Act all confer federal question jurisdiction under § 1331. This principle stems from the Holmes “ingredients” test, which looks to whether the plaintiff’s right to relief depends on federal law.
The second category involves state-law claims that necessarily raise a federal issue. Here, the plaintiff’s cause of action is created by state law, but an essential element of the claim requires resolution of a federal question. In such circumstances, federal jurisdiction may exist, but additional safeguards apply. The Supreme Court’s decision in Grable & Sons Metal Products, Inc. v. Darue Engineering & Manufacturing, 545 U.S. 308 (2005), provides the modern framework. To determine whether a state-law claim “arises under” federal law, courts examine whether (1) the federal issue is necessarily raised (i.e., it is a necessary element of the claim), (2) the federal issue is actually disputed, (3) the federal issue is substantial—meaning it is important to the federal system as a whole, not merely to the parties—and (4) the exercise of federal jurisdiction is consistent with congressional judgment about the division of labor between state and federal courts (often phrased as not upsetting the balance of federal and state judicial responsibilities).
The “substantial” requirement ensures that federal courts do not become forums for ordinary state-law disputes that merely touch on federal law. In Grable, a quiet title action under state law hinged on the validity of a federal tax lien. The Court found the federal issue substantial because it involved the interpretation of a federal tax statute, and the federal government had a strong interest in a uniform interpretation. By contrast, in Gunn v. Minton, 568 U.S. 251 (2013), a state-law malpractice claim against a patent attorney required resolution of a hypothetical patent law question. The Court held the federal issue not substantial because it was a fact-bound, case-specific inquiry unlikely to impact the development of patent law, and patent law’s exclusive federal jurisdiction did not automatically confer federal question jurisdiction over every related state claim. Similarly, in Merrell Dow Pharmaceuticals Inc. v. Thompson, 478 U.S. 804 (1986), a state negligence claim that referenced a federal safety standard was held not to arise under federal law because the federal statute did not create a private right of action and the federal issue was not substantial.
Two additional doctrines can extend federal question jurisdiction even when the plaintiff attempts to avoid it. The first is the artful pleading doctrine, which prevents a plaintiff from disguising what is essentially a federal claim as a state-law claim. If the state-law claim is “really” federal, courts will treat it as such for jurisdictional purposes. The second is the complete preemption doctrine, which applies when Congress has so thoroughly occupied a field that any claim within that field is necessarily federal, regardless of how it is pleaded. Complete preemption is recognized in limited areas, such as labor disputes under the Labor Management Relations Act (LMRA) and employee benefit plans under the Employee Retirement Income Security Act (ERISA). In those fields, a plaintiff’s state-law claim that falls within the scope of the federal statute is considered to arise under federal law and may be removed to federal court.
Several practical considerations accompany federal question jurisdiction. There is no amount-in-controversy requirement. Once a federal court has federal question jurisdiction over a claim, it may exercise supplemental jurisdiction over related state-law claims under 28 U.S.C. § 1367, provided they arise from the same case or controversy. Defendants may remove a case from state court to federal court if the case could have originally been filed in federal court under federal question jurisdiction, subject to the procedural requirements of 28 U.S.C. § 1441. Finally, if the federal claim is frivolous or wholly insubstantial, the court may dismiss for lack of subject-matter jurisdiction, as a claim without a plausible basis cannot sustain federal jurisdiction.
In summary, a case may be brought in federal court under federal question jurisdiction when the plaintiff’s complaint either asserts a claim directly under federal law, or asserts a state-law claim that necessarily raises a disputed and substantial federal issue, and the exercise of jurisdiction aligns with congressional intent. The well-pleaded complaint rule remains the bedrock, but the substantial federal question doctrine and preemption doctrines ensure that federal courts are open to cases of genuine federal importance while respecting the boundaries of state court authority. These requirements maintain the delicate balance envisioned by the Constitution and the jurisdictional statutes.
[End answer]
We should double-check if any important nuance missing: The well-pleaded complaint rule includes that the federal issue must be part of the plaintiff's claim, not just a defense. That's covered. The two categories are clear. The Grable test is described. The substantiality requirement is explained with examples. Artful pleading and complete preemption are included. No amount-in-controversy is mentioned. Supplemental jurisdiction is noted. Removal is noted. Frivolous claims are noted.
We might also mention that in some cases, even if the federal issue is not substantial, removal might still be possible under the "federal officer removal" statute or others, but that's separate.
Also, we might mention that the federal question must be "actual" and "substantial" in the sense of being important, but also that it must be "present" in the complaint. Good.
Now, ensure that we mention that the federal question can arise under the Constitution, laws, or treaties. We have done.
Also, note that treaties are rarely the basis for private rights, but they can be.
Now, check for any misstatements: In Mottley, the plaintiffs' complaint anticipated a federal defense; the Court held that the case did not arise under federal law because the federal issue was in the defense, not the plaintiff's claim. That's correct.
In Grable, the test is often described as three-pronged: necessarily raised, actually disputed, and substantial; but the fourth prong about balance is sometimes considered part of the substantiality analysis or as a separate consideration. In Gunn, the Court phrased it as three: necessarily raised, actually disputed, and substantial, but also noted that federal jurisdiction must not disturb the balance. We can present it as three with an implicit fourth, or four. I'll keep it as three main and then mention the balance as a separate factor as per Grable's language: "whether a federal issue is necessarily raised, actually disputed, and substantial, and whether exercising jurisdiction will disturb the balance of federal and state judicial responsibilities." That's fine.
We might also note that for federal-law-created claims, the "substantial" requirement does not apply. That's correct.
Now, we should also mention that some statutes confer exclusive federal jurisdiction, like patent infringement cases must be brought in federal court under 28 U.S.C. §1338. But that is also federal question jurisdiction, though with exclusivity. But the question asks about "federal question" jurisdiction generally, so it's fine.
We might also note that the "arising under" language is also used for federal appellate jurisdiction, but that's not needed.
Now, the answer is comprehensive and meets the requirement.
I'll produce the final answer accordingly.
Federal question jurisdiction is a cornerstone of the federal judiciary, permitting district courts to adjudicate civil actions that implicate federal law. Rooted in Article III, Section 2 of the U.S. Constitution and codified in 28 U.S.C. § 1331, this jurisdiction encompasses all civil actions “arising under the Constitution, laws, or treaties of the United States.” Unlike diversity jurisdiction, there is no monetary threshold for federal question cases. However, because federal courts are courts of limited jurisdiction, careful judicial scrutiny ensures that a case truly “arises under” federal law before it proceeds in federal court. The legal requirements have been shaped by decades of Supreme Court precedent, centering on the well-pleaded complaint rule and, for state-law claims, the substantial federal question doctrine.
The well-pleaded complaint rule is the first hurdle. Under this rule, federal question jurisdiction exists only if the federal issue appears on the face of the plaintiff’s properly pleaded complaint. Put differently, the plaintiff’s own claim must depend on federal law; jurisdiction cannot be founded on a federal defense, even if that defense is the central controversy. The classic case is Louisville & Nashville R.R. v. Mottley, 211 U.S. 149 (1908), where the plaintiffs sought specific performance of a contract that they argued was not invalidated by a subsequent federal statute. Because the complaint asserted a state contract claim and the federal statute arose only as an anticipated defense, the Court held that the case did not arise under federal law. The well-pleaded complaint rule thus respects the plaintiff’s prerogative as master of the complaint but also prevents defendants from creating federal jurisdiction by inserting federal defenses.
Beyond this threshold, courts recognize two primary categories of cases that arise under federal law. The first—and simplest—is when federal law itself creates the cause of action. If the plaintiff’s claim is based directly on a federal statute, the Constitution, or a treaty, then the action automatically arises under federal law. The claim need only be non-frivolous; there is no requirement that the federal issue be substantial or even disputed. For example, a Title VII discrimination suit, a Bivens action for constitutional violations, or a claim under the Securities Exchange Act all confer federal question jurisdiction under § 1331. This principle stems from the Holmes “ingredients” test, which looks to whether the plaintiff’s right to relief depends on federal law.
The second category involves state-law claims that necessarily raise a federal issue. Here, the plaintiff’s cause of action is created by state law, but an essential element of the claim requires resolution of a federal question. In such circumstances, federal jurisdiction may exist, but additional safeguards apply. The Supreme Court’s decision in Grable & Sons Metal Products, Inc. v. Darue Engineering & Manufacturing, 545 U.S. 308 (2005), provides the modern framework. To determine whether a state-law claim “arises under” federal law, courts examine whether (1) the federal issue is necessarily raised (i.e., it is a necessary element of the claim), (2) the federal issue is actually disputed, (3) the federal issue is substantial—meaning it is important to the federal system as a whole, not merely to the parties—and (4) the exercise of federal jurisdiction is consistent with congressional judgment about the division of labor between state and federal courts (often phrased as not upsetting the balance of federal and state judicial responsibilities).
The “substantial” requirement ensures that federal courts do not become forums for ordinary state-law disputes that merely touch on federal law. In Grable, a quiet title action under state law hinged on the validity of a federal tax lien. The Court found the federal issue substantial because it involved the interpretation of a federal tax statute, and the federal government had a strong interest in a uniform interpretation. By contrast, in Gunn v. Minton, 568 U.S. 251 (2013), a state-law malpractice claim against a patent attorney required resolution of a hypothetical patent law question. The Court held the federal issue not substantial because it was a fact-bound, case-specific inquiry unlikely to impact the development of patent law, and patent law’s exclusive federal jurisdiction did not automatically confer federal question jurisdiction over every related state claim. Similarly, in Merrell Dow Pharmaceuticals Inc. v. Thompson, 478 U.S. 804 (1986), a state negligence claim that referenced a federal safety standard was held not to arise under federal law because the federal statute did not create a private right of action and the federal issue was not substantial.
Two additional doctrines can extend federal question jurisdiction even when the plaintiff attempts to avoid it. The first is the artful pleading doctrine, which prevents a plaintiff from disguising what is essentially a federal claim as a state-law claim. If the state-law claim is “really” federal, courts will treat it as such for jurisdictional purposes. The second is the complete preemption doctrine, which applies when Congress has so thoroughly occupied a field that any claim within that field is necessarily federal, regardless of how it is pleaded. Complete preemption is recognized in limited areas, such as labor disputes under the Labor Management Relations Act (LMRA) and employee benefit plans under the Employee Retirement Income Security Act (ERISA). In those fields, a plaintiff’s state-law claim that falls within the scope of the federal statute is considered to arise under federal law and may be removed to federal court.
Several practical considerations accompany federal question jurisdiction. There is no amount-in-controversy requirement. Once a federal court has federal question jurisdiction over a claim, it may exercise supplemental jurisdiction over related state-law claims under 28 U.S.C. § 1367, provided they arise from the same case or controversy. Defendants may remove a case from state court to federal court if the case could have originally been filed in federal court under federal question jurisdiction, subject to the procedural requirements of 28 U.S.C. § 1441. Finally, if the federal claim is frivolous or wholly insubstantial, the court may dismiss for lack of subject-matter jurisdiction, as a claim without a plausible basis cannot sustain federal jurisdiction.
In summary, a case may be brought in federal court under federal question jurisdiction when the plaintiff’s complaint either asserts a claim directly under federal law, or asserts a state-law claim that necessarily raises a disputed and substantial federal issue, and the exercise of jurisdiction aligns with congressional intent. The well-pleaded complaint rule remains the bedrock, but the substantial federal question doctrine and preemption doctrines ensure that federal courts are open to cases of genuine federal importance while respecting the boundaries of state court authority. These requirements maintain the delicate balance envisioned by the Constitution and the jurisdictional statutes.