> 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 § 1375.5. — Section 1375.5.

- **Citation**: Cal. Penal Code - PEN § 1375.5.
- **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-10/chapter-6/section-1375-5](https://corpuslaw.us/codes/california/penal-code/part-2/title-10/chapter-6/section-1375-5)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-10/chapter-6/section-1375-5](https://corpuslaw.us/codes/california/penal-code/part-2/title-10/chapter-6/section-1375-5)

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 10. — TITLE 10. MISCELLANEOUS PROCEEDINGS [1268. - 1424.5.] > Chapter 6. — CHAPTER 6. Inquiry into the Competence of the Defendant Before Trial or After Conviction [1367. - 1376.]

## Text

(a)

Time spent by a person in a treatment facility or county jail as a result of proceedings under this chapter shall be credited against the sentence, if any, imposed in the underlying criminal case or revocation matter giving rise to the competency proceedings.

(b)

As used in this section, “time spent in a treatment facility” includes days a person is treated as an outpatient pursuant to Title 15 (commencing with Section 1600) of Part 2.

(c)

A person subject to this chapter shall receive credits pursuant to Section 4019 for all time during which he or she is confined in a county jail and for which he or she is otherwise eligible.
