As AI-powered applications have become commonplace, so has the potential for their abuse.

One such method of abuse is the creation of child pornography.

California law covers specified AI-generated and digitally altered sexual material involving minors. The route differs between material involving a real child and wholly generated material: under PC 311.11(a)(2), apparent-minor material must also be obscene. AB 1831 and SB 1381 took effect January 1, 2025; the current statutes, rather than an “AI” label alone, determine the offense.

This guide provides an overview of the current legal framework surrounding AI-generated child pornography, including the recent updates to California law.

Legal information on this page was checked October 10, 2026. The conduct date and the version of each statute in effect then matter.

With that in mind, if you have a specific situation or case that you need immediate help with, it is best to speak directly with a skilled criminal defense lawyer. They can give you the most up-to-date information for your situation.

AI-generated child pornography and the law

Child pornography laws have historically focused on material created using real children, but recent advancements in AI have created a new category of content.

Recognizing a gap in existing laws, California enacted two new measures that went into effect on January 1, 2025, explicitly criminalizing AI-generated child pornography.

These laws, Assembly Bill 1831 (AB 1831) and Senate Bill 1381 (SB 1381), expand the definition of child pornography under California law to include digitally altered and AI-generated content.

The amendments cover specified digitally altered and AI-generated material. They do not eliminate each subsection’s knowledge, conduct and obscenity requirements.

Key provisions of the new laws

Assembly Bill 1831

This legislation amended Sections 311, 311.2, 311.11, and 311.12 of the California Penal Code to include AI-generated and digitally altered material under the definition of obscene matter.

AB 1831 added express treatment of AI-generated and digitally altered material. For possession, PC 311.11(a)(1) addresses material produced using a real minor; PC 311.11(a)(2) addresses obscene material depicting what appears to be a minor. Distribution provisions in PC 311.2 likewise distinguish real-minor material from obscene apparent-minor material.

Senate Bill 1381

Complementing AB 1831, SB 1381 amended Sections 311.1, 311.3, 311.4, and 312.3 of the Penal Code to further address the sexual exploitation of children through AI-generated content. It specifically targets individuals who knowingly develop, duplicate, print, or exchange any representation of information, data or image, including those generated or altered by AI, that depicts a person under 18 years of age engaged in sexual conduct.

These laws aim to close loopholes in California’s child pornography statutes and ensure that individuals using advanced technology to exploit minors can be held accountable.

Penalties for creating or distributing AI-generated child pornography

California Penal Code 311 governs the possession, distribution, and creation of obscene material involving minors, including child pornography.

With the passage of Assembly Bill 1831 and Senate Bill 1381, the law extends to include AI-generated and digitally altered material.

Possessing, creating or distributing child pornography can carry significant legal consequences depending on the specific offense and the individual’s prior criminal record.

Possession of child pornography – Penal Code 311.11

Knowingly possessing or controlling the specified material, with the real-minor or apparent-minor and obscenity requirements of PC 311.11(a).

Penalties

  • First offense:
    • Charged as a misdemeanor or a felony depending on the circumstances.
    • Misdemeanor penalties:
      • Up to 1 year in county jail.
      • Fines up to $2,500.
    • Felony penalties:
      • 16 months, 2 years, or 3 years in state prison.
      • PC 311.11(a) specifies a fine up to $2,500. Fines under another statute must be identified separately.
  • Subsequent offenses or aggravating factors:
    • A qualifying prior conviction under PC 311.11(b) requires felony punishment of two, four or six years.
    • PC 311.11(c) identifies specific image-count and sadism/masochism factors and authorizes its different custody alternatives. The statutory allegations must be checked, rather than assuming any large collection receives the same enhancement.

Aggravating factors
Possessing large quantities of material or images of particularly egregious content can lead to harsher sentences.

Creation of child pornography – Penal Code 311.2(b), 311.3 and 311.4

Creating, producing or using AI tools to generate sexually explicit material involving minors. This includes both commercial production and noncommercial distribution of such material.

Penalties

  • These statutes cover different acts and do not all impose the same classification or sentence. PC 311.3 permits county-jail or state-prison punishment. PC 311.4(b), commercial use of a minor in production, carries three, six or eight years; other subsections differ.
  • The charged subsection, real-minor involvement and commercial purpose must be identified before stating a prison range. There is no single three-to-eight-year term for every use of an AI tool.
  • The applicable fine must be tied to the specific creation or production statute; the possession fine does not supply a universal production penalty.
  • PC 290 lists specified PC 311 convictions for registration. A felony PC 311.11 conviction is tier three; a misdemeanor generally falls in tier one unless another tier rule applies. Residency, employment and internet conditions need a separate statutory or supervision analysis.

Aggravating factors

  • Involvement of real minors as models or source material.
  • Creating or producing material for profit or mass distribution.

Distribution or sale of child pornography – Penal Code 311.2

Distributing, selling, or exhibiting material depicting minors in sexually explicit conduct, whether through physical media or digital platforms.

Penalties

  • Felony charges:
    • PC 311.2(b) specifies two, three or six years for its commercial offense. Other distribution subsections have different classifications and custody rules.
    • PC 311.2(b) authorizes up to $100,000 for its specified commercial offense, subject to the statute’s ability-to-pay provision. Other distribution subsections have different penalties; collection size alone is not the test for this fine.
  • Using an internet platform may support federal jurisdiction under the applicable commerce provision. It is not a universal California sentence enhancement simply because distribution occurred online.

Federal implications for child pornography offenses

Many cases involving child pornography fall under federal jurisdiction due to the internet’s role in distributing content.

The linked enforcement report discusses federal prosecutions. The relevant federal statutes must still be analyzed individually; a generated image is not automatically a production offense under 18 U.S.C. 2251.

Federal penalties for child pornography offenses are often harsher, including:

  • Mandatory minimum sentences of 5 years for distribution.
  • For a first conviction under 18 U.S.C. 2251, production involving a real minor generally carries a 15-year minimum and 30-year maximum. Receipt or distribution under the ordinary 2252A provisions generally carries five to 20 years. Wholly virtual obscene depictions may instead be charged under 18 U.S.C. 1466A, which has different elements.
  • Federal fines, restitution and any increased terms depend on the conviction and statutory facts; there is no single fine amount for all generated-material cases.

Additional consequences

  1. Sex Offender Registration
    • Registration duration is governed by the conviction and tier rules. Registration itself is distinct from a court’s or supervising agency’s conditions on housing, travel or technology use.
    • Technology restrictions or monitoring must be traced to the applicable law or supervision conditions; they do not automatically arise in identical form from every registration duty.
  2. Civil Penalties
    • An identifiable real person affected by sexual exploitation or an intimate-image fabrication may have civil remedies when the relevant statute’s requirements are met. A wholly fictional person cannot be assumed to be a claimant, and not every AI allegation creates the same civil cause of action.
  3. Professional and Personal Repercussions
    • Loss of professional licenses or employment opportunities.
    • Permanent damage to reputation and relationships.

Aggravating factors for sentencing

The severity of penalties under PC 311 can be influenced by aggravating factors, including:

  • Volume of material – Large collections of images or videos can lead to enhanced sentences.
  • Nature of content – Material involving very young children or violent/abusive depictions often results in harsher penalties.
  • Repeat offenses – Prior convictions for similar crimes significantly increase sentencing severity.
  • Commercial intent – Selling or profiting from the material exacerbates the offense.

What to do if you face accusations

If you have been accused of creating, distributing or possessing AI-generated child pornography, it’s critical to act quickly.

The legal and reputational consequences of these charges are serious, and an experienced criminal defense attorney can help you navigate the complexities of the law.

Attorney Robert M. Helfend has more than 40 years of experience defending clients against complex criminal charges in California, including internet crimes and child pornography cases. His knowledge of state and federal law, combined with his commitment to protecting clients’ rights, makes him a trusted advocate in high-stakes cases.

Don’t leave your future to chance. Contact the Helfend Law Group today at 800-834-6434 for a confidential consultation.

Published January 23, 2025.

Federal law can also reach specified generated or altered depictions through child-pornography and obscenity provisions. Whether a real child was used, an identifiable child was depicted, the image is indistinguishable from an actual minor, or the material is obscene affects which provision applies.

A wholly generated image can fall within the law, but its content and the elements of the charged provision still must be proven. It is inaccurate to treat every fictional depiction as automatically violating the same offense.

MaterialQuestions counsel must resolve
Produced using a real minorWho was used, their age at production, what conduct is shown and the defendant’s role and knowledge.
Altered depiction of an identifiable real childSource material, identity, the alteration and the precise state or federal definition.
Wholly generated apparent-minor materialWhether the applicable obscenity or indistinguishability standard is satisfied; the software label does not answer that question.

A defense review may require source-file provenance, metadata, generation history, access logs and a forensic account of who controlled the files. Describe the allegation and bring legal paperwork to the consultation. Do not upload or forward the material to the firm, delete devices or generate new examples. Counsel should direct lawful preservation and examination.

Legal information checked October 10, 2026. The charge, evidence and applicable version of the law control the analysis of an individual case.

References

  1. California Penal Code § 311. “Obscene Matter Defined.” https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN&sectionNum=311
  2. California Penal Code § 311.2. “Distribution of Obscene Matter.” https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN&sectionNum=311.2