Yes, it is illegal to lie in court. Lying under oath is a felony called perjury under both federal and state law, and a conviction can bring up to five years in prison and a fine of up to $250,000.1Office of the Law Revision Counsel. 18 USC 1621 – Perjury Generally2Office of the Law Revision Counsel. 18 USC 3571 – Sentence of Fine The crime isn’t limited to the witness stand, and the consequences don’t stop at prison time. Judges can punish you inside the case, your credibility collapses, and a conviction follows you long after the sentence ends.
What Counts as Perjury
Not every inaccurate statement in court is perjury. Federal law lays out specific elements that a prosecutor has to prove. You must have been under oath, or have signed a document under penalty of perjury. You must have stated something you did not believe to be true at the time you said it. And the false statement must have been “material,” meaning relevant enough to potentially affect the outcome of the proceeding.1Office of the Law Revision Counsel. 18 USC 1621 – Perjury Generally
That materiality piece matters more than people assume. Misstating a middle name or getting a minor date slightly wrong isn’t perjury. The lie has to be about something that could actually sway the judge, jury, or proceeding. An honest mistake or faulty memory doesn’t qualify either. The prosecution has to show you knew the statement was false when you made it.
Where the Oath Reaches
Perjury isn’t limited to live testimony during a trial. You’re treated as under oath in a wide range of legal settings, and a deliberate lie in any of them can lead to charges:
- Depositions, where attorneys question witnesses out of court and a reporter creates a transcript.
- Sworn affidavits and declarations signed under penalty of perjury, which federal law gives the same legal weight as spoken testimony.1Office of the Law Revision Counsel. 18 USC 1621 – Perjury Generally
- Verified court filings, including financial disclosures in bankruptcy and verified statements of fact in civil cases.
- Grand jury testimony, which has its own federal perjury statute with slightly different procedural rules.3Office of the Law Revision Counsel. 18 USC 1623 – False Declarations Before Grand Jury or Court
Federal Penalties for Perjury
Under the general federal perjury statute, a conviction carries up to five years in prison and a fine.1Office of the Law Revision Counsel. 18 USC 1621 – Perjury Generally The statute’s reference to being “fined under this title” points to a separate section of federal law that caps individual felony fines at $250,000.2Office of the Law Revision Counsel. 18 USC 3571 – Sentence of Fine A separate statute covering false declarations in court proceedings or before a grand jury carries the same five-year maximum.3Office of the Law Revision Counsel. 18 USC 1623 – False Declarations Before Grand Jury or Court
Actual sentences depend on the circumstances. Perjury in a violent crime trial draws harsher treatment than a lie in a civil contract dispute. Federal sentencing guidelines call for higher penalties when the lie obstructed the administration of justice. State penalties vary, but most states also classify perjury as a felony.
Can You Take It Back?
Federal law gives you one narrow escape. If you lied under oath during a court or grand jury proceeding, you can avoid prosecution by admitting the lie in that same proceeding, but only if two conditions are met: your false statement hasn’t yet substantially affected the proceeding, and it hasn’t already become obvious that the lie was going to be exposed.3Office of the Law Revision Counsel. 18 USC 1623 – False Declarations Before Grand Jury or Court
The window is smaller than it sounds. You can’t wait until cross-examination is tearing your story apart and then correct yourself. Once the lie has influenced the proceeding, or anyone has flagged the inconsistency, the recantation defense is gone.
Pushing Someone Else to Lie
You don’t have to be the witness to face perjury-related charges. Persuading, coaching, or pressuring someone else to lie under oath is a separate federal crime called subornation of perjury. The penalties match those for perjury itself: up to five years in prison and up to $250,000 in fines.4Office of the Law Revision Counsel. 18 USC 1622 – Subornation of Perjury Both parties can be charged: the witness for perjury, and the person who put them up to it for subornation.
Prosecutors often don’t stop there. When a lie under oath is part of a wider effort to derail a case, obstruction of justice charges can be added. A general obstruction conviction carries up to ten years in prison, and up to twenty years when the underlying case involves a class A or B felony.5Office of the Law Revision Counsel. 18 US Code 1503 – Influencing or Injuring Officer or Juror Generally Using deception to influence, delay, or prevent someone else’s testimony falls under witness tampering, which carries up to twenty years.6Office of the Law Revision Counsel. 18 US Code 1512 – Tampering With a Witness, Victim, or an Informant Someone who lies on the stand and also pressures a co-defendant to change their story could face perjury, subornation, and witness tampering all at once.
What the Judge Can Do Inside Your Case
Criminal charges aren’t the only risk. Lying in a legal proceeding can blow up the case you were trying to win.
Judges have inherent authority to punish contempt of court, which includes misbehavior in the court’s presence. A judge who catches a witness lying can impose fines or even jail time on the spot, separate from any perjury prosecution.7Office of the Law Revision Counsel. 18 USC 401 – Power of Court The judge can also strike the false testimony from the record, after which the witness’s credibility is essentially gone. A jury or judge may disregard everything else that witness said, including the parts that were true.
Courts can also sanction the party who lied, or their attorney. Sanctions range from monetary fines to orders requiring the dishonest party to pay the other side’s legal fees. In extreme cases, a court may enter a default judgment against the party who tried to deceive it, effectively handing the case to the other side.
Lying to a Federal Agent Is a Different Crime
Lying to a federal agent during an investigation isn’t perjury and doesn’t require an oath. It’s covered by a separate statute that makes it illegal to knowingly make a materially false statement about anything within federal jurisdiction, with a maximum of five years in prison. That statute carves out statements a party or lawyer submits to a judge or magistrate during a case, which fall under perjury law and court sanctions instead. The carve-out is narrow: lie to a probation officer, a court clerk, or another part of the judicial branch outside proceedings before a judge, and the false statements statute still applies.8Office of the Law Revision Counsel. 18 US Code 1001 – Statements or Entries Generally
Life After a Perjury Conviction
Perjury is a felony, and felonies ripple outward. Licensed professionals feel it first. Licensing boards for attorneys, doctors, nurses, and financial advisors investigate felony convictions, and crimes involving dishonesty tend to draw the harshest response. An attorney convicted of perjury faces likely disbarment or a lengthy suspension. Healthcare professionals may lose their licenses or land on restrictive probation. Even where revocation isn’t automatic, the investigation itself can end a career.
For non-citizens, the stakes rise further. Federal immigration law classifies perjury as an aggravated felony when the sentence is at least one year, and an aggravated felony conviction generally leads to deportation with a permanent bar on returning to the United States. No waiver is available for aggravated felonies.
Why Charges Are Rare, and Why That Doesn’t Help You
Despite the penalties on paper, perjury charges are uncommon. No federal agency tracks prosecution statistics for perjury, and legal experts widely acknowledge that false testimony occurs far more often than it is punished. The reason is practical. Proving that someone deliberately lied, rather than made an honest mistake or had a faulty memory, is genuinely hard. The prosecution has to show the person knew the statement was false at the time they made it, and a witness can simply claim they misremembered.
Rarity doesn’t make the risk theoretical. High-profile perjury cases do happen, and they tend to draw harsh sentences precisely because they serve as examples. The system may not catch every lie, but when it does, the consequences are severe enough that the gamble isn’t worth taking.