The age of consent in the United States is set by each state, and depending on where you are it is 16, 17, or 18. Roughly 29 states use 16, about eight use 17, and around a dozen require a person to be 18. A separate federal framework applies on military bases, in national parks, and whenever someone crosses a state line, contacts a minor online, or engages in sexual conduct with a minor abroad. Violations can bring years in prison and, in most cases, mandatory sex-offender registration.
State Ages of Consent and How They Are Enforced
Every state legislature sets its own threshold, and the number is a hard legal cutoff rather than a guideline. If one participant is below the age, the older person has committed a criminal offense regardless of whether the younger person appeared willing or initiated the contact.
How the offense is charged usually depends on the age gap and how far below the threshold the younger person was. Large gaps and younger victims tend to produce felony charges; smaller gaps and older teens tend to produce misdemeanors. Penalties vary widely between states, from a year or less on the low end to 15 or 20 years in prison for more aggravated conduct. Nearly every state also requires a convicted person to register as a sex offender.
One point catches many people off guard: in most states, statutory rape is a strict liability offense. The prosecution does not have to prove you knew the other person’s age. Being lied to, being shown a fake ID, or genuinely believing the person was older does not defeat the charge in a strict liability state.
Close-in-Age Exceptions
Because a rigid line can produce harsh results between two teenagers, many states have enacted what are commonly called Romeo and Juliet laws. These provisions either reduce the charge or remove criminal liability when the two people are close enough in age.
The specifics vary. A typical structure permits a defense or exemption when the older person is no more than two to four years older, and the younger person has reached a minimum age, often 14 or 15. Some states make it an outright exemption from prosecution. Others downgrade a felony to a misdemeanor, and some treat it as an affirmative defense the accused must raise at trial.
These carve-outs have real limits. They do not apply when force, coercion, or a position of authority is involved. Where the exemption only lowers the charge, a conviction can still leave a criminal record. And some state statutes have historically been written to cover only opposite-sex couples, leaving same-sex couples without the same defense; that gap has been challenged in court but has not been resolved uniformly across the country.
When Authority Raises the Age
The general age of consent often does not apply when one person holds authority over the other. A large number of states raise the threshold to 18 or higher when the older person is a teacher, coach, member of the clergy, therapist, or someone else in a supervisory role. A teenager who might otherwise be old enough to consent to sex with a peer is not treated as free to consent to sex with someone who controls their grades, playing time, or care.
At least one state pushes the threshold to 21 for teacher-student relationships. Others apply a heightened age broadly to anyone with institutional authority over a young person, including foster parents, correctional officers, and medical providers treating a minor patient. The covered relationships differ from state to state, but the principle is consistent: authority eliminates the ability to legally consent even after a young person reaches the general age.
Penalties for these offenses tend to be significantly harsher than for standard statutory rape. Convictions routinely result in permanent loss of professional licenses along with prison terms that exceed those for comparable conduct without the trust element.
Is “I Thought They Were Older” a Defense?
In most states, no. The majority treat statutory rape as strict liability, so the only relevant fact is the younger person’s actual age. A fake ID, an adults-only setting, or a convincing lie does not defeat the charge.
A minority of states do allow a mistake-of-age defense, but the rules are narrow. Where it exists as an affirmative defense, the accused carries the burden of showing a genuine and reasonable belief that the other person was old enough. “Reasonable” is the operative word. Testimony that someone “looked old enough” rarely meets the standard without something like a fraudulent identification document to back it up.
Federal law takes a middle path. Under 18 U.S.C. § 2243, a defendant charged with sexual abuse of a minor in federal territory may argue they reasonably believed the other person was at least 16, but must prove that belief by a preponderance of the evidence.1Office of the Law Revision Counsel. 18 USC 2243 – Sexual Abuse of a Minor, a Ward, or an Individual in Federal Custody No such defense is available for offenses involving a child under 12.
Federal Rules That Apply Regardless of State Law
Federal law does not impose one nationwide age of consent that overrides the states. It does set separate rules that reach into every state under certain circumstances, and those rules can be triggered without leaving your home town.
Offenses in Federal Territory
Under 18 U.S.C. § 2243, it is a federal crime to engage in a sexual act with a person who is at least 12 but under 16 if the older person is at least four years older. The maximum penalty is 15 years in prison.1Office of the Law Revision Counsel. 18 USC 2243 – Sexual Abuse of a Minor, a Ward, or an Individual in Federal Custody For children under 12, or for cases involving force or threats, 18 U.S.C. § 2241 applies, with a mandatory minimum of 30 years and a mandatory life sentence for a second conviction.2Office of the Law Revision Counsel. 18 U.S. Code 2241 – Aggravated Sexual Abuse
The practical effect is that 16 functions as the federal age of consent in federal territory, but only there. It does not override whatever age a state has set inside its own borders.
Crossing State Lines
When someone moves a minor across a state border for sexual purposes, federal law applies regardless of what either state permits. Under 18 U.S.C. § 2423, knowingly transporting anyone under 18 across state lines with intent that the person engage in sexual activity that would violate any criminal law carries a mandatory minimum of 10 years and a maximum of life.3Office of the Law Revision Counsel. 18 USC 2423 – Transportation of Minors The age threshold here is 18, and there is no close-in-age exception.
A separate provision, 18 U.S.C. § 2421, covers the transportation of any person (not just a minor) for illegal sexual activity, with a maximum of 10 years and no mandatory minimum.4Office of the Law Revision Counsel. 18 USC 2421 – Transportation Generally Section 2423 is the one aimed specifically at minors, and it is much harsher.
Online Contact
Using the internet, phone, or mail to persuade or entice anyone under 18 to engage in criminal sexual activity is a federal offense under 18 U.S.C. § 2422(b), with a mandatory minimum of 10 years and a maximum of life.5Office of the Law Revision Counsel. 18 USC 2422 – Coercion and Enticement Attempted enticement carries the same penalties as a completed offense, and this statute is frequently applied in cases involving adults who contact minors through social media or dating apps.
Sexual Conduct Abroad
U.S. citizens and lawful permanent residents can be prosecuted under 18 U.S.C. § 2423(c) for sexual conduct with a person under 18 in a foreign country, even where the conduct was legal in that country. The maximum sentence is 30 years, and conspiracy and attempt carry the same penalties as a completed offense.3Office of the Law Revision Counsel. 18 USC 2423 – Transportation of Minors For any American traveling internationally, this provision effectively makes the age of consent 18 regardless of local law.
Sex-Offender Registration
A conviction for violating age-of-consent laws almost always triggers mandatory sex-offender registration, and the length depends on the severity of the offense. The federal Sex Offender Registration and Notification Act (SORNA) sets minimum registration periods on a three-tier scale for states that follow the framework: 15 years at Tier I, 25 years at Tier II, and lifetime registration at Tier III.6Office of Justice Programs. SORNA Frequently Asked Questions
Many statutory rape convictions involving penetration fall into Tier III, meaning lifetime registration with no endpoint. Registration typically requires providing your home address, workplace, photograph, and other identifying information to law enforcement at regular intervals. Failing to comply is itself a separate federal crime. The registry is publicly searchable in most states, and registrants often face additional restrictions on where they can live and work.
Sexting and Explicit Images Between Minors
Age-of-consent statutes were written before smartphones, and the overlap between those laws and teenage behavior creates a legal problem most young people do not anticipate. Under federal law, any sexually explicit image of a person under 18 qualifies as child pornography regardless of who created it. A teenager who takes and sends a nude photo of themselves has technically produced and distributed child pornography under 18 U.S.C. § 2256.
Federal prosecutors have broad discretion over whether to bring these charges, and a full federal prosecution of a teen selfie is uncommon, but it has happened. There is no federal exemption for self-produced images or for images shared between minors in a consensual relationship, and the mandatory minimum for receiving child pornography at the federal level is five years for a first offense.
Many states have passed laws that specifically address teen sexting, typically reducing the offense from a felony child-pornography charge to a misdemeanor or a juvenile-specific infraction for first offenses between peers of similar ages. Coverage is inconsistent. Some states have no sexting-specific law at all, which means a 16-year-old who sends a photo to a 17-year-old partner could in theory face the same charges as an adult distributing exploitative material. For anyone under 18, creating or sharing explicit images of a minor, including of yourself, carries serious criminal risk in virtually every jurisdiction.
Marriage as a Narrow Exception
Marriage and age-of-consent laws intersect, and the intersection has narrowed. As of 2025, at least 16 states and the District of Columbia have banned marriage for anyone under 18 outright, and more are considering the same.
In states that still allow minors to marry, the minimum age is typically 16 or 17, and the process usually requires a court order or parental consent. Several states also cap the age gap between the minor and the older spouse. Once a marriage is legally recognized, sexual activity between the two spouses is generally governed by the marriage rather than the standard age-of-consent framework. That protection is strictly limited to the spouses themselves; it does not extend to anyone else.
Mandatory Reporting by Professionals
Age-of-consent violations do not just create liability for the people directly involved. Every state requires certain professionals to report suspected child abuse, including sexual abuse. The specific list varies but consistently includes teachers, school administrators, doctors, nurses, therapists, social workers, and law enforcement officers. Some states extend the duty to any adult who suspects abuse.
A mandatory reporter who fails to report faces criminal penalties in most states, ranging from misdemeanors to felonies. The duty is triggered by reasonable suspicion, not certainty. A teacher who sees signs that a student may be in a sexual relationship with an adult does not need proof before contacting authorities; the suspicion itself creates the legal obligation.
For healthcare providers, this creates a real tension when treating minor patients. A doctor who learns during a routine visit that a 15-year-old is sexually active with a 22-year-old cannot keep the information confidential even if the patient objects. The reporting duty overrides ordinary patient privacy when abuse of a minor is suspected.
How Long Prosecutors Have to File Charges
The time window for prosecuting age-of-consent violations varies dramatically. Some states impose no statute of limitations at all for sexual offenses involving minors, so charges can be brought decades later. Others set limits that range from a few years to 30 years or more, often measured from the date the victim reaches adulthood rather than the date of the offense.
Several states have extended or eliminated their limitations periods in recent years, especially for offenses against young children. Many also include tolling provisions that stop the clock if the accused flees the state or if DNA evidence later identifies a suspect. No one should assume they are beyond prosecution simply because years have passed. For the most serious offenses involving minors, there may be no safe harbor at all.