> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# N.Y. Penal Law § 230.01 — Prostitution; affirmative defense

- **Citation**: N.Y. Penal Law § 230.01
- **Node Type**: section
- **Jurisdiction**: New York (state)
- **Code Body**: Laws of New York (NY Senate Open Legislation, as published 2026-10-26) (N.Y. Laws)
- **Official Source**: [https://www.nysenate.gov/legislation/laws/PEN/230.01](https://www.nysenate.gov/legislation/laws/PEN/230.01)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-230/section-230-01](https://corpuslaw.us/codes/new-york/penal-law/article-230/section-230-01)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-230/section-230-01](https://corpuslaw.us/codes/new-york/penal-law/article-230/section-230-01)

## Hierarchy

Division PEN — Penal Law > Article 230 — PROSTITUTION OFFENSES

## Text

§ 230.01.

Prostitution; affirmative defense.

In any prosecution under section 230.00, section 230.03, section 230.19, section 230.20, subdivision 2 of section 230.25, subdivision 2 of section 230.30 or section 230.34-a of this article, it is an affirmative defense that the defendant's participation in the offense was a result of having been a victim of compelling prostitution under section 230.33 of this article, a victim of sex trafficking under section 230.34 of this article, a victim of sex trafficking of a child under section 230.34-a of this article or a victim of trafficking in persons under the trafficking victims protection act (United States Code, Title 22, Chapter 78).
