> 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 § 222.20 — Licensing of cannabis production and distribution; defense

- **Citation**: N.Y. Penal Law § 222.20
- **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/222.20](https://www.nysenate.gov/legislation/laws/PEN/222.20)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-222/section-222-20](https://corpuslaw.us/codes/new-york/penal-law/article-222/section-222-20)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/penal-law/article-222/section-222-20](https://corpuslaw.us/codes/new-york/penal-law/article-222/section-222-20)

## Hierarchy

Division PEN — Penal Law > Article 222 — CANNABIS

## Text

§ 222.20.

Licensing of cannabis production and distribution; defense.

In any prosecution for an offense involving cannabis under this article or an authorized local law, it is a defense that the defendant was engaged in such activity in compliance with the cannabis law.
