Federal espionage charges and penalties are set out in 18 U.S.C. Chapter 37, sections 793 through 798, with sentences that run from up to one year in prison for taking unauthorized photographs of a military installation to the death penalty for delivering the most sensitive defense secrets to a foreign government. What you face depends on three things: what information was involved, how it was handled or shared, and whether you acted deliberately, knowingly, or with gross carelessness. Several related statutes outside Chapter 37 — covering economic espionage, unauthorized access to classified computer systems, acting as a foreign agent, and exposing covert officers — commonly ride alongside the core charges.
What Counts as Espionage Under Federal Law
There is no single federal crime called “espionage.” Chapter 37 contains a cluster of offenses, each with its own conduct, intent requirement, and sentence. The conduct covered falls into several categories.
Gathering or Transmitting Defense Information
Section 793 makes it a crime to enter a military base, defense facility, or other restricted location to collect information about national defense with the intent to harm the United States or help a foreign country. The same section reaches copying, photographing, or otherwise obtaining documents connected to national defense for those purposes. Passing the information to anyone not authorized to receive it is a separate violation, and the unauthorized recipient can be a foreign intelligence officer, a journalist, or a friend without a clearance — the statute does not distinguish.
Holding Onto Classified Materials
You do not have to hand anything to a foreign agent to violate Section 793. Simply keeping national defense documents and refusing to return them when a government official demands them back is a standalone offense. The provision reaches taking classified material home, storing it on a personal device, or otherwise keeping it outside authorized channels. Retention itself is the violation, whether or not the material is ever shared.
Gross Negligence
Section 793(f) covers people who do not intend to commit espionage but are so reckless with classified materials that they allow them to be removed from secure storage, stolen, lost, or destroyed. The maximum penalty is the same as for deliberate transmission under Section 793. The government does not have to prove you wanted to hurt the country; it has to prove your handling fell far below what any reasonable person in your position would do.
Unauthorized Access to Classified Systems
The Espionage Act predates the internet, but 18 U.S.C. § 1030(a)(1) fills the gap. Accessing a computer without authorization (or exceeding your authorized access), obtaining classified national defense or foreign relations information, and then communicating, transmitting, or retaining it with reason to believe it could harm the United States or benefit a foreign nation is a federal crime. The Computer Fraud and Abuse Act carries its own penalty structure: up to ten years for a first offense and up to twenty years for a subsequent conviction. The FBI has primary investigative authority when these cases involve espionage or foreign counterintelligence.
Photographing Military Installations
Sections 795 through 797 address a narrower category: unauthorized photographs, sketches, or drawings of military and naval installations that the President has designated as vital, and publishing or distributing those images without military approval. These are misdemeanor-level offenses, but they can lay the groundwork for more serious charges if the images were gathered on behalf of a foreign power.
What Qualifies as National Defense Information
The term that runs through the Espionage Act is “national defense information.” It covers military hardware specifications, tactical plans, intelligence methods, weapons systems, and similar material. To bring charges, prosecutors have to show two things: the government kept the information closely held rather than letting it circulate publicly, and disclosure could actually damage national security or give a foreign power an advantage. Information already widely reported or published in academic journals generally does not meet the standard.
Executive Order 13526 sets three classification tiers:
- Top Secret, for information whose unauthorized disclosure could reasonably be expected to cause exceptionally grave damage to national security.
- Secret, for information whose disclosure could cause serious damage.
- Confidential, for information whose disclosure could cause damage.
Classification level matters because it signals how harmful the government considered a leak to be, and a Top Secret designation is powerful evidence in front of a jury. The Espionage Act itself, though, does not reference the classification levels by name. The legal question is always whether the information qualifies as national defense information. Classification is strong proof of that, not the only route to it.
The Intent Required for Each Charge
Most espionage charges turn on a specific mental state, and the standard shifts section by section.
Under Sections 793(a) and 794, prosecutors must prove you acted with “intent or reason to believe” the information would be used to injure the United States or benefit a foreign nation. Accidentally leaving a briefcase on a train does not meet that bar. You do not need to be an ideological spy either: knowingly handing defense documents to someone you have reason to believe is tied to a foreign government is enough.
Section 798 uses a different standard: “knowingly and willfully.” You must know the information is classified and deliberately share it with someone unauthorized, in a way that harms U.S. interests or benefits a foreign government. Section 798 focuses on classification status rather than requiring proof of intent to injure the country specifically.
Section 793(f) stands apart from both. It requires neither intent to harm nor knowledge that sharing would benefit a foreign power. Carelessness so far below reasonable standards that it rises to gross negligence is enough on its own.
Whistleblowing Is Not a Defense
Disclosing classified information to an unauthorized recipient is not a protected disclosure under federal whistleblower laws, even if you genuinely believe the information reveals waste, fraud, or abuse. The Department of Justice has taken that position consistently. Federal employees who want to raise concerns about classified programs have designated channels, including congressional intelligence committees and the Inspector General. Going outside those channels with classified material exposes you to prosecution under the same Espionage Act provisions that apply to traditional spies.
Penalties by Section
Sentencing under the Espionage Act is often misunderstood. People hear “Espionage Act” and assume life in prison, but the range runs from misdemeanor time to execution.
Section 794: Delivery to a Foreign Government
This is the most severe charge. Communicating, delivering, or transmitting national defense information to a foreign government or its agents is punishable by death or imprisonment for any term of years up to life. The death penalty is available only in limited circumstances: the offense must have resulted in the identification of a U.S. intelligence agent who was then killed, or the information must have concerned nuclear weapons, military satellites, early warning systems, war plans, communications intelligence, or other major weapons systems or defense strategies. The court must also order forfeiture of any property derived from or used to commit the offense.
Section 793: Gathering, Transmitting, Retaining, or Losing Defense Information
All Section 793 violations — unauthorized gathering, transmission to unauthorized persons, willful retention, and gross negligence — carry up to ten years in prison and a fine of up to $250,000.
Section 798: Classified Communications Intelligence
Knowingly sharing classified communications intelligence or cryptographic information carries up to ten years in prison and a fine of up to $250,000.
Sections 795 Through 797: Installation Photographs and Publication
Unauthorized photographing, sketching, or publishing images of designated military installations is punishable by up to one year in prison and a fine.
Federal parole was abolished in 1987 under the Sentencing Reform Act. Anyone sentenced under these statutes today serves at least 85% of their prison term, with no early release through a parole board.
Related Charges That Commonly Accompany Espionage Counts
Espionage cases rarely involve only Chapter 37. Prosecutors routinely stack additional charges with their own penalties.
Economic Espionage
Under 18 U.S.C. § 1831, stealing trade secrets to benefit a foreign government, foreign company, or foreign agent is punishable by up to 15 years in prison and a fine of up to $5 million for individuals. Organizations face fines of up to $10 million or three times the value of the stolen trade secret, whichever is greater. The statute has become central in cases involving state-sponsored theft of intellectual property.
Acting as an Unregistered Foreign Agent
Under 18 U.S.C. § 951, acting within the United States under the direction or control of a foreign government without notifying the Attorney General carries up to ten years in prison. Prosecutors like this charge because they do not have to prove what specific information was passed, only that the person was operating as a foreign agent without disclosure. Diplomats, publicly acknowledged foreign officials, and people engaged in ordinary commercial transactions are excluded.
Disclosing the Identity of a Covert Agent
The Intelligence Identities Protection Act, 50 U.S.C. § 3121, makes it a crime to intentionally reveal the identity of a covert U.S. intelligence agent. Someone with authorized access to the classified information identifying the agent faces up to 15 years in prison. Someone who learned the identity through classified access but was not directly assigned to that information faces up to ten years. Any prison term under this statute runs consecutively with other sentences, stacking rather than running concurrently.
Collateral Consequences for Federal Employees
The damage from an espionage conviction extends well past prison. Under 5 U.S.C. § 8312, any federal employee convicted of espionage under Sections 793, 794, or 798 permanently forfeits their federal retirement annuity. The forfeiture reaches the convicted employee’s survivors and beneficiaries as well. A career government employee with decades of service loses the entire pension, independent of whatever sentence the court imposes.
The forfeiture provision also applies to related convictions, including disclosing restricted nuclear data under the Atomic Energy Act and revealing intelligence identities. A conviction by a foreign court can trigger pension forfeiture too, if the Attorney General certifies that the conduct would have violated U.S. espionage statutes and the foreign trial met basic due process standards.
How Long the Government Has to Bring Charges
The time limit depends on the potential punishment. For offenses punishable by death — Section 794 cases involving the most serious categories of defense information — there is no statute of limitations. Charges can be brought at any time, including decades after the conduct. For non-capital espionage offenses, the default federal statute of limitations is five years from the date of the offense, though Congress has enacted espionage-specific provisions that may extend the period for offenses under Sections 792, 793, and 794. Investigations in these cases routinely take years to develop, and the combination of extended limitations periods and no cap on death-eligible offenses gives the government significant runway.