> 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).

# Cal. Penal Code - PEN § 1540. — Section 1540.

- **Citation**: Cal. Penal Code - PEN § 1540.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-12/chapter-3/section-1540](https://corpuslaw.us/codes/california/penal-code/part-2/title-12/chapter-3/section-1540)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-12/chapter-3/section-1540](https://corpuslaw.us/codes/california/penal-code/part-2/title-12/chapter-3/section-1540)

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 12. — TITLE 12. OF SPECIAL PROCEEDINGS OF A CRIMINAL NATURE [1473. - 1564.] > Chapter 3. — CHAPTER 3. Of Search Warrants [1523. - 1542.5.]

## Text

If it appears that the property taken is not the same as that described in the warrant, or that there is no probable cause for believing the existence of the grounds on which the warrant was issued, the magistrate must cause it to be restored to the person from whom it was taken.
