Under federal espionage laws, it is a crime to gather, transmit, retain, or mishandle national defense information when you intend or have reason to believe it could harm the United States or help a foreign government, and the penalties range from up to ten years in prison for unauthorized retention or gross negligence to life imprisonment or death for passing defense secrets to a foreign power. A separate set of statutes criminalizes stealing trade secrets to benefit a foreign government, with individual fines up to $5,000,000 and up to 15 years in prison. The core provisions sit in Chapter 37 of Title 18 of the U.S. Code, with related offenses in the computer fraud and economic espionage statutes.
What Federal Law Counts as Espionage
The Espionage Act of 1917 still provides the backbone. Its provisions occupy sections 793 through 798 of Title 18, and each section targets a different type of conduct involving “national defense information.”1Office of the Law Revision Counsel. 18 USC Chapter 37 – Espionage and Censorship
National defense information is a deliberately broad category. Courts have read it to cover anything the government has a legitimate interest in keeping confidential for security reasons, from satellite imagery and weapons schematics to troop movements and signals intelligence. The term is not limited to documents stamped “classified,” which matters because prosecutors do not need to prove a formal classification marking to bring charges under most of these sections. Section 798 is the exception: it specifically covers classified information about codes, ciphers, cryptographic systems, and communications intelligence, and the material must actually be classified for a conviction.2Office of the Law Revision Counsel. 18 USC 798 – Disclosure of Classified Information
Classification itself runs on three levels. Confidential covers information whose disclosure could damage national security. Secret covers information whose disclosure could cause serious damage. Top Secret covers information whose disclosure could cause exceptionally grave damage.3National Archives. Basic Laws and Authorities The level often shapes which statute applies and how harshly a case is treated.
The Conduct the Law Punishes
A person does not need to be a spy in any dramatic sense to face federal espionage charges. The statutes break out several distinct kinds of behavior.
Gathering Defense Information
Section 793(a) and (b) criminalize entering a restricted area or copying defense-related materials with the intent to use them against U.S. interests. Restricted areas include military bases, naval stations, research laboratories, and any facility connected to national defense. Prohibited conduct includes copying documents, taking photographs, and making sketches.1Office of the Law Revision Counsel. 18 USC Chapter 37 – Espionage and Censorship These provisions apply regardless of whether the person has authorized access. Sections 795 through 797 add related prohibitions on photographing, sketching, or publishing images of military installations the President has designated as restricted.
Transmitting or Retaining Information Without Authorization
Section 793(e) reaches people who come into unauthorized possession of defense information and then share it or refuse to return it. If you have national defense materials you are not supposed to have, and you pass them along or simply hold onto them despite knowing an authorized person should have them, that is a federal offense carrying up to ten years in prison.4Office of the Law Revision Counsel. 18 USC 793 – Gathering, Transmitting or Losing Defense Information This is the provision most often discussed in leak cases because its language can theoretically reach anyone who receives and passes along classified material, not just government insiders.
Delivering Information to a Foreign Government
Section 794 is the most serious provision. It specifically targets anyone who delivers defense information to a foreign government or its agents, and it is the only espionage statute that authorizes the death penalty.5Office of the Law Revision Counsel. 18 USC 794 – Gathering or Delivering Defense Information to Aid Foreign Government
Gross Negligence and Failure to Report
Section 793(f) sets a lower bar than intentional spying. A person who has lawful access to defense information but allows it to be removed, lost, or stolen through gross negligence faces the same ten-year maximum as someone who intentionally shared it.6Office of the Law Revision Counsel. 18 USC 793 – Gathering, Transmitting or Losing Defense Information The same section criminalizes learning of an unauthorized removal or theft and failing to promptly report it to a supervisor. Investigators treat the delayed reporting as seriously as the initial loss.
Most mishandling cases live here. A cleared employee who stores classified files on an unsecured personal device, or leaves sensitive documents in a location without proper safeguards, risks prosecution even without any intent to share.
Computer-Based Espionage
The Computer Fraud and Abuse Act adds another layer. Section 1030(a)(1) of Title 18 specifically addresses computer espionage: accessing a government computer without authorization and obtaining protected national defense or foreign relations information, with reason to believe it could harm the United States or benefit a foreign nation. A first offense carries up to ten years; a second conviction doubles that to twenty.7Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers Prosecutors often stack CFAA and Espionage Act charges together: the CFAA count captures the unauthorized access, and the Espionage Act count captures what the defendant did with the stolen data.
Economic Espionage
The Economic Espionage Act, codified at 18 U.S.C. § 1831, created a separate federal crime for stealing trade secrets to benefit a foreign government. It protects commercial secrets rather than military ones: manufacturing processes, proprietary software, chemical formulas, engineering designs, and similar information that derives value from being kept confidential.8Office of the Law Revision Counsel. 18 USC 1831 – Economic Espionage
The critical element is the foreign connection. Prosecutors must prove the defendant knew or intended that the theft would benefit a foreign government, foreign agency, or foreign agent. Without that link, the conduct falls under Section 1832, which addresses ordinary trade secret theft and carries lower penalties. The law reaches the full lifecycle of misappropriation: stealing, copying, receiving, or purchasing trade secrets the defendant knows were obtained without authorization. Companies seeking protection must show they took reasonable steps to keep the information secret.
What Prosecutors Must Prove
Across these statutes, the government must establish a mental state beyond mere possession, and the standard varies by section.
Under Section 793, prosecutors must show the defendant acted with intent or reason to believe the information could injure the United States or benefit a foreign nation.1Office of the Law Revision Counsel. 18 USC Chapter 37 – Espionage and Censorship Courts treat “reason to believe” as an objective standard: what a reasonable person in the defendant’s position should have understood about the sensitivity of the materials.
Under Section 798, the standard is “knowingly and willfully.” The person must have known the information was classified and deliberately chose to share it.2Office of the Law Revision Counsel. 18 USC 798 – Disclosure of Classified Information Section 793(f)’s gross negligence standard sets the floor, allowing conviction without proof of intent to harm.
Classification status can matter for the defense. Defendants sometimes challenge whether information was properly classified in the first place, which can undermine a Section 798 case that requires classified material. Under Section 793, the government only needs to show the information relates to national defense, regardless of classification.
Penalties
Federal espionage carries some of the harshest penalties in the criminal code, and the severity scales with the nature of the offense.
Death Penalty and Life Imprisonment
Under Section 794, passing defense information to a foreign government is punishable by any term of years, life imprisonment, or death.5Office of the Law Revision Counsel. 18 USC 794 – Gathering or Delivering Defense Information to Aid Foreign Government The death penalty is available only if the fact-finder determines the offense met one of these conditions:
- The offense led a foreign power to identify a U.S. intelligence agent, and that agent was killed as a result.
- The offense directly involved nuclear weapons, military spacecraft or satellites, early warning systems, or other large-scale defense or retaliation capabilities.
- The offense involved war plans, communications intelligence, or cryptographic information.
- The offense concerned any other major weapons system or major element of defense strategy.5Office of the Law Revision Counsel. 18 USC 794 – Gathering or Delivering Defense Information to Aid Foreign Government
That last category is deliberately open-ended, giving prosecutors wide room to argue that leaked information touches a major element of defense strategy.
Ten-Year Maximum Offenses
Section 793 offenses, including unauthorized gathering, willful retention, transmission to unauthorized persons, and gross negligence in handling defense materials, carry a maximum of ten years in prison.4Office of the Law Revision Counsel. 18 USC 793 – Gathering, Transmitting or Losing Defense Information Disclosure of classified communications intelligence under Section 798 also carries up to ten years, plus mandatory forfeiture of any property derived from or used to commit the offense.2Office of the Law Revision Counsel. 18 USC 798 – Disclosure of Classified Information A conviction effectively guarantees permanent loss of any security clearance and bars future government employment in sensitive positions.
Economic Espionage Fines
An individual convicted under Section 1831 faces up to 15 years in prison and fines up to $5,000,000. Organizations face the greater of $10,000,000 or three times the value of the stolen trade secret, including the research and development costs the organization avoided by stealing rather than developing the technology independently.8Office of the Law Revision Counsel. 18 USC 1831 – Economic Espionage The “three times value” multiplier often produces fines far above the $10,000,000 floor, particularly in cases involving pharmaceutical research or advanced manufacturing.
How Long the Government Has to Charge You
The government does not have unlimited time to bring most espionage charges. For non-capital offenses under Sections 792, 793, and 794, prosecutors must file an indictment within ten years of the violation.1Office of the Law Revision Counsel. 18 USC Chapter 37 – Espionage and Censorship That is twice the standard five-year federal statute of limitations, reflecting the difficulty of detecting covert intelligence activity.
There is a major exception for espionage punishable by death. Under 18 U.S.C. § 3281, any offense carrying a potential death sentence has no statute of limitations at all.9Office of the Law Revision Counsel. 18 USC 3281 – Capital Offenses Because Section 794 authorizes the death penalty for delivering defense information to a foreign government, the most serious espionage cases can be charged decades after the conduct. Former intelligence officers who spied during the Cold War have faced charges well into the 2000s.
Whistleblowers and Journalists
Two situations create real confusion about where espionage law stops. Both carry real risk.
Intelligence community employees and contractors are excluded from the protections of the general Whistleblower Protection Act. They are covered instead by 50 U.S.C. § 3234, which prohibits retaliation against employees who report violations of law, gross waste of funds, abuse of authority, or dangers to public safety through authorized channels. Those channels include the Director of National Intelligence, the Inspector General of the Intelligence Community, the employee’s chain of command up to the agency head, and the congressional intelligence committees.10Office of the Law Revision Counsel. 50 USC 3234 – Prohibited Personnel Practices in the Intelligence Community An employee flagging a matter of “urgent concern” can bring it to the IG, who has 14 days to assess credibility; if the IG finds it credible, the agency head must forward it to the intelligence committees within seven days.
The critical limit: none of these protections cover unauthorized disclosures to the press or public. An intelligence employee who takes classified information to a journalist, even with the purest motives, has no whistleblower defense to an espionage charge. The law provides channels, not a general public-interest exception.
Whether the Espionage Act can be used against journalists who publish classified information is one of the longest-running unresolved questions in national security law. The federal government has never successfully prosecuted a publisher or journalist for disseminating leaked classified material. Prosecutions have targeted the government insiders who leaked the information rather than the reporters who received it. Section 793(e) is written broadly enough that it could, on its face, reach a reporter who receives and publishes a classified document, but applying it that way raises serious First Amendment problems that no court has definitively resolved. For now, the question sits in prosecutorial discretion, with the threat of charges real but largely untested against the press.