Quick summary
California Penal Code 667.71, the habitual sex offender law, requires a sentence of 25 years to life in state prison for anyone convicted of a listed sex offense who already has a prior conviction for a listed sex offense.
- Which crimes count: Only specific forms of rape, lewd acts with a child, forcible sodomy, oral copulation or sexual penetration, and certain kidnappings, plus matching out-of-state convictions.
- Penalties: 25 years to life, with no probation, and the judge cannot strike the prior. It also brings lifetime sex offender registration.
- Defenses: Fighting the new charge, showing the prior doesn’t qualify, or holding the prosecutor to proving the prior.
California Penal Code 667.71 PC imposes a prison sentence of 25 years to life on a “habitual sexual offender.” That is someone who has a prior conviction for one of the sex offenses the law lists and who is convicted again of a listed offense.1 The term is often shortened to “habitual sex offender.”
PC 667.71 applies to specific forms of sex crimes such as:
- rape by force or threat, per Penal Code 261 PC;
- lewd acts with a minor child, per Penal Code 288 PC; and
- forcible sodomy, per Penal Code 286 PC.2
Examples:
- After serving a prison term for rape by force, John is released and later convicted of another rape by force.
- After a conviction for lewd acts with a child under 14, Jerome is later convicted of forcible oral copulation, per Penal Code 287 PC.
- Alejandro is convicted twice of forcible sexual penetration, under Penal Code 289 PC.
Our California criminal defense attorneys explain the following in this article:
- 1. What is a “habitual sex offender” in California?
- 2. What are the best defenses to PC 667.71?
- 3. What is the sentencing?
- 4. Related Offenses

1. What is a “habitual sex offender” in California?
California Penal Code 667.71(a) defines a habitual sexual offender as:
a person who has been previously convicted of one or more of the offenses specified in subdivision (c) and who is convicted in the present proceeding of one of those offenses.3
In plain terms, both the old conviction and the new one must be on the law’s list. As of November 2026, subdivision (c) lists only these offenses:
- rape by force, violence, duress, menace or fear, or by threat of future retaliation (PC 261(a)(2) or (a)(6));
- spousal rape under former PC 262 (now prosecuted under PC 261);
- rape or sexual penetration in concert (PC 264.1);
- lewd or lascivious acts with a child (PC 288(a) or (b));
- forcible sexual penetration (PC 289(a) or (j));
- continuous sexual abuse of a child (PC 288.5);
- sodomy (PC 286(c) or (d));
- oral copulation (PC 287(c) or (d), or former PC 288a);
- kidnapping to commit certain sex crimes (PC 207(b), former PC 208(d) and PC 209(b));
- aggravated sexual assault of a child (PC 269); and
- an offense from another state or jurisdiction that includes all the elements of one of these crimes.4
The California Supreme Court has explained that this law is meant to target repeat sex offenders with a 25-years-to-life sentence.5 It also covers fewer offenses than California’s “One Strike” law (PC 667.61), because it lists only certain subdivisions of each crime.
2. What are the best defenses to PC 667.71?
If you are accused under Penal Code 667.71, a strong defense can often persuade a prosecutor to reduce or dismiss the allegation. Common defenses are:
- the prior conviction doesn’t qualify;
- no probable cause;
- coerced confession; and
- police arrested the wrong person.
2.1. The prior conviction doesn’t qualify
PC 667.71 applies only to the specific subdivisions listed above. A prior conviction under a different subdivision, such as a non-forcible sex offense, does not count. An out-of-state conviction counts only if it includes every element of a listed California crime.6 The prosecutor must also allege the habitual offender status in the charging papers and either get you to admit it in open court or prove it to the judge or jury.7
2.2. No probable cause
This defense aims to exclude evidence. Police need probable cause to arrest you, meaning a reasonable belief, based on all the circumstances, that you committed a crime. If you were stopped or arrested without it, evidence found as a result may be thrown out, which can lead to reduced or dismissed charges.
2.3. Coerced confession
This defense applies when the case rests on a confession. Police may not use threats, promises or other overbearing tactics to get a confession. If yours was coerced:
- the judge may exclude it from evidence; or
- the case may be dropped altogether, especially if you were pressured into confessing to something you didn’t do.
2.4. Police arrested the wrong person
False accusations and mistaken identifications happen, and sex cases often lack an independent eyewitness. If the prosecutor cannot prove beyond a reasonable doubt that you committed the new offense, the habitual offender allegation fails with it.

3. What is the sentencing?
A habitual sexual offender in California is sentenced to 25 years to life in state prison.8 The law also says:
- the judge cannot strike or dismiss the qualifying prior conviction;9 and
- probation is not allowed, and the sentence cannot be suspended.10
A habitual sex offender must also register as a sex offender for life (tier three) with local law enforcement.11
4. Related Offenses
Three crimes closely related to habitual sex offender charges are:
- rape – PC 261;
- spousal rape – former PC 262 (now part of PC 261); and
- lewd acts with a minor child – PC 288.
4.1. Rape – PC 261
California Penal Code 261 defines rape as nonconsensual sexual intercourse accomplished:
- by force, violence, duress, menace, threats or fraud; or
- with a person who is unconscious, intoxicated or otherwise unable to consent.12
Rape is a felony in California, punishable by 3, 6 or 8 years in state prison.13
The sentence is higher for forcible rape of a minor: 7, 9 or 11 years if the alleged victim is 14 to 17, and 9, 11 or 13 years if the alleged victim is under 14.14
4.2. Spousal rape – former PC 262
Since January 1, 2022, California no longer has a separate spousal rape statute. AB 1171 repealed Penal Code 262 and made rape of a spouse a crime under Penal Code 261, the same as rape of anyone else.15
The punishment for rape of a spouse is therefore the same as for any rape: 3, 6 or 8 years in state prison.16 A prior conviction under former PC 262 still counts as a qualifying prior under PC 667.71.17
4.3. Lewd Acts with a Minor Child – PC 288
California Penal Code 288 makes it a felony to commit a lewd or lascivious act on a child under 14 with the intent to arouse or gratify the sexual desires of either person. That includes touching a child for a sexual purpose.18
It also applies when the alleged victim is 14 or 15 and the accused is at least 10 years older.19 Because most prosecutions involve children under 14, the crime is often called:
- lewd acts with a child under 14,
- lewd acts on a minor under 14, or
- lewd and lascivious conduct.
The penalties for lewd acts with a minor can include years in prison and thousands of dollars in fines. The exact sentence depends on factors including:
- the age of the child;
- whether force, violence, duress or threats were alleged;
- whether there was a pattern of lewd acts; and
- if the child was 14 or 15, the age of the accused.
A conviction under Penal Code 288 also requires registration as a California sex offender.
Additional Reading:
See our related sex crimes articles on:
- sex offender registration requirements,
- pimping,
- lewd conduct in public,
- forced oral copulation,
- child pornography,
- indecent exposure,
- sexual battery (touching another person’s intimate parts against their will for sexual gratification, arousal or abuse),
- forcible sexual penetration with a foreign object,
- sodomy,
- Megan’s Law,
- expunging criminal records, and
- getting a certificate of rehabilitation.
If you or a loved one is facing a habitual sex offender allegation, our California criminal defense lawyers offer a free consultation.
Legal references:
- California Penal Code 667.71, subdivision (a): “a habitual sexual offender is a person who has been previously convicted of one or more of the offenses specified in subdivision (c) and who is convicted in the present proceeding of one of those offenses.”
- California Penal Code 667.71, subdivision (c) (list of qualifying offenses, as amended by AB 1171, effective January 1, 2022).
- California Penal Code 667.71 (see note 1 above).
- California Penal Code 667.71(c) (see note 2 above).
- People v. Hammer (2003) 30 Cal.4th 756, 766: the Habitual Sexual Offender law “is designed to target repeat sexual offenders, by imposing a sentence of 25 years to life in prison on those who commit a specified offense … after having previously been convicted of a specified offense.” Shepardized November 23, 2026: no negative treatment.
- California Penal Code 667.71(c) (see note 2 above).
- California Penal Code 667.71, subdivision (f): the section applies “only if the defendant’s status as a habitual sexual offender is alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the trier of fact.”
- California Penal Code 667.71, subdivision (b): “A habitual sexual offender shall be punished by imprisonment in the state prison for 25 years to life.”
- California Penal Code 667.71, subdivision (d) (the court may not strike a qualifying prior conviction).
- California Penal Code 667.71, subdivision (e): “probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, a person who is subject to punishment under this section.”
- California Penal Code 290, subdivision (d)(3)(E) (a person who is a habitual sex offender under Section 667.71 is a tier three registrant, required to register for life).
- California Penal Code 261.
- California Penal Code 264, subdivision (a): “rape, as defined in Section 261 or former Section 262, is punishable by imprisonment in the state prison for three, six, or eight years.”
- California Penal Code 264, subdivision (c) (7, 9 or 11 years for forcible rape of a minor 14 or older; 9, 11 or 13 years for a child under 14).
- Assembly Bill 1171 (2021), Stats. 2021, ch. 626 (repealed Penal Code 262 and folded spousal rape into Penal Code 261, effective January 1, 2022).
- California Penal Code 264 (see note 13 above).
- California Penal Code 667.71(c) (see note 2 above).
- California Penal Code 288, subdivision (a) (child under 14; 3, 6 or 8 years in state prison).
- California Penal Code 288, subdivision (c)(1) (child of 14 or 15 when the defendant is at least 10 years older).