California Penal Code
§ 2900.5
PEN § 2900.5 Effective Jan 1, 2017Title 1 · Part 3 · Ch. 7 · Art. 1
Statute text
View on leginfo.ca.gov(a)In all felony and misdemeanor convictions, either by plea or by verdict, when the defendant has been in custody, including, but not limited to, any time spent in a jail, camp, work furlough facility, halfway house, rehabilitation facility, hospital, prison, juvenile detention facility, or similar residential institution, all days of custody of the defendant, including days served as a condition of probation in compliance with a court order, credited to the period of confinement pursuant to Section 4019, and days served in home detention pursuant to Section 1203.016 or 1203.018, shall be credited upon his or her term of imprisonment, or credited to any base fine that may be imposed, at the rate of not less than one hundred twenty-five dollars ($125) per day, or more, in the discretion of the court imposing the sentence. If the total number of days in custody exceeds the number of days of the term of imprisonment to be imposed, the entire term of imprisonment shall be deemed to have been served. In any case where the court has imposed both a prison or jail term of imprisonment and a fine, any days to be credited to the defendant shall first be applied to the term of imprisonment imposed, and thereafter the remaining days, if any, shall be applied to the base fine. If an amount of the base fine is not satisfied by jail credits, or by community service, the penalties and assessments imposed on the base fine shall be reduced by the percentage of the base fine that was satisfied.
(b)For the purposes of this section, credit shall be given only where the custody to be credited is attributable to proceedings related to the same conduct for which the defendant has been convicted. Credit shall be given only once for a single period of custody attributable to multiple offenses for which a consecutive sentence is imposed.
(c)For the purposes of this section, “term of imprisonment” includes any period of imprisonment imposed as a condition of probation or otherwise ordered by a court in imposing or suspending the imposition of any sentence, and also includes any term of imprisonment, including any period of imprisonment prior to release on parole and any period of imprisonment and parole, prior to discharge, whether established or fixed by statute, by any court, or by any duly authorized administrative agency.
…
Legislative history
Amended by Stats. 2016, Ch. 769, Sec. 2. (AB 2839) Effective January 1, 2017.