Nothing in the statutes read for this page makes dating a crime, but sexual conduct between an 18-year-old and a 17-year-old can be. Penal Code 261.5 calls a person 18 or older an adult and a person under 18 a minor, and intercourse within three years of age is a misdemeanor under subdivision (b).
Which ages do the sex crime statutes use?
The statutes read for this page regulate sexual acts, not dating: Penal Code 261.5 calls a person 18 or older an adult and a person under 18 a minor.
Under Section 261.5(a), an adult is "a person who is 18 years of age or older" and a minor is "a person under 18 years of age". An 18-year-old is therefore an adult, and a 17-year-old a minor, for that section, which covers unlawful sexual intercourse with a minor who is not the perpetrator's spouse. Section 288 is written for "a child who is under the age of 14 years" and, in subdivision (c)(1), "a child of 14 or 15 years", so neither of its age brackets names a 17-year-old. Sections 286, 287 and 289 add rules for other sexual acts, below.
What does Penal Code 261.5 say about an 18-year-old and a 17-year-old?
Intercourse between people within three years of age is a misdemeanor under Section 261.5(b), and the adult may also be liable for a civil penalty of up to $2,000.
Subdivision (b) applies when the minor is "not more than three years older or three years younger than the perpetrator", and the person "is guilty of a misdemeanor".
The civil side is separate. Subdivision (e)(1) says an adult "may be liable for civil penalties in the following amounts", and the first tier, subdivision (e)(1)(A), reads "An adult who engages in an act of unlawful sexual intercourse with a minor less than two years younger than the adult is liable for a civil penalty not to exceed two thousand dollars ($2,000)". An 18-year-old is less than two years older than any 17-year-old, so that is the tier that fits those ages. Under subdivision (e)(2), "The district attorney may bring actions to recover civil penalties pursuant to this subdivision".
Do other sexual acts have different rules?
The three-year misdemeanor tier is in the intercourse section; oral copulation, sodomy and sexual penetration with a person under 18 can each be a felony or a misdemeanor.
Each of the three sections below begins "Except as provided in Section 288" and applies to a person who takes part in the act with "another person who is under 18 years of age".
| Act | Section | The punishment the statute states |
|---|---|---|
| Sodomy | 286(b)(1) | "imprisonment in the state prison, or in a county jail for not more than one year" |
| Oral copulation | 287(b)(1) | "imprisonment in the state prison, or in a county jail for a period of not more than one year" |
| Sexual penetration | 289(h) | "imprisonment in the state prison or in a county jail for a period of not more than one year" |
A county jail term of up to one year is up to 364 days under Section 18.5. These subdivisions state no three-year age-gap tier. Because each allows state prison or county jail, each can be a felony or a misdemeanor under Penal Code 17(b).
Images can be a crime too. Penal Code 311.11(a)(1) covers a person who knowingly possesses matter such as a photograph or video, "knowing that the matter depicts a person under 18 years of age personally engaging in or simulating sexual conduct". Section 311.4(d) defines that conduct to include "exhibition of the genitals or pubic or rectal area for the purpose of sexual stimulation of the viewer". Section 311.11(a)(1) says the person "is guilty of a felony" and allows state prison, county jail for up to one year (364 days), a fine of up to $2,500, or both, and Section 290(c)(1) lists Section 311.11 for registration.
Does it lead to sex offender registration?
Section 261.5(b) is not on the Section 290(c) list; Sections 286, 287 and 289 are, with an exception in subdivision (c)(3) that has conditions.
Section 290(c) reaches a person "convicted in any court in this state or in any federal or military court" of the offenses it lists. The list names "subdivision (c) or (d) of Section 261.5 if the offense occurred on or after January 1, 2026" and not subdivision (b), and it includes Sections 285, 286, 287, 288 and 289 among others.
Section 290(c)(3) then names a person convicted of "subdivision (b) of Section 286, subdivision (b) of Section 287, or subdivision (h) or (i) of Section 289", or of subdivision (c) or (d) of Section 261.5, and says that person "shall not be required to register" when the person "is not more than 10 years older than the minor" and "the conviction is the only one requiring the person to register". The paragraph also "does not preclude the court from requiring a person to register pursuant to Section 290.006". An 18-year-old is less than two years older than a 17-year-old, which is within 10 years. This page does not say whether registration applies in any particular case.
Related questions
- Sex with a Minor
- Statutory Rape: California Penal Code 261.5
- Why does a 10-year age gap change a California lewd act charge involving a 14- or 15-year-old?
Frequently asked questions
Is it a felony for an 18-year-old to have sex with a 17-year-old?
Section 261.5(b) calls intercourse within three years of age "a misdemeanor". For oral copulation, sodomy and sexual penetration with a person under 18, Sections 287(b)(1), 286(b)(1) and 289(h) allow state prison or county jail for up to 364 days (Penal Code 18.5), so each can be a felony or a misdemeanor under Penal Code 17(b).
Can the adult be sued as well as charged?
Section 261.5(e)(2) lets the district attorney "bring actions to recover civil penalties", and subdivision (e)(1)(A) sets a penalty of up to $2,000 for an adult and a minor less than two years younger, as with an 18-year-old and a 17-year-old.
Talk to a lawyer
The Law Offices of David S. Chesley defend sex crime charges across California (see the firm's sex crimes lawyer page).
The firm offers a free consultation, is available 24/7, and offers payment plans. Se habla español. Call (800) 755-5174 or request a free consultation online.
This page is general information, not legal advice, and no outcome is guaranteed.