California Codes homeSearch California
Cal. CodesPenal CodePart 3. Of Imprisonment and the Death PenaltyTitle 4. County Jails, Farms and CampsChapter 1. County Jails

Cal. Penal Code § 4019 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
VersionsThe text below is in force today and remains in effect only until Jan. 1, 2028.
CURRENTleginfo export of Sept. 26, 2026 (applied Oct. 1, 2026) cited 1949–2026 348citing cases
At a glance

Courts have cited this section in 348 opinions since 1949, 33 of them in the last five years. The most litigated part is subsection (b) (1 case).

(a)This section applies in all of the following cases:

(1)When a prisoner is confined in or committed to a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp, including all days of custody from the date of arrest to the date when the sentence commences, under a judgment of imprisonment or of a fine and imprisonment until the fine is paid in a criminal action or proceeding.

(2)When a prisoner is confined in or committed to a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp as a condition of probation after suspension of imposition of a sentence or suspension of execution of sentence in a criminal action or proceeding.

(3)When a prisoner is confined in or committed to a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp for a definite period of time for contempt pursuant to a proceeding other than a criminal action or proceeding.

(4)When a prisoner is confined in a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp following arrest and prior to the imposition of sentence for a felony conviction.

(5)When a prisoner is confined in a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp as part of custodial sanction imposed following a violation of postrelease community supervision or parole.

(6)When a prisoner is confined in a county jail, industrial farm, or road camp or a city jail, industrial farm, or road camp as a result of a sentence imposed pursuant to subdivision (h) of Section 1170.

(7)When a prisoner participates in a program pursuant to Section 1203.016 or Section 4024.2. Except for prisoners who have already been deemed eligible to receive credits for participation in a program pursuant to Section 1203.016 prior to January 1, 2015, this paragraph shall apply prospectively.

(8)When a prisoner is confined in or committed to a state hospital or other mental health treatment facility, or to a county jail treatment facility in proceedings pursuant to Chapter 6 (commencing with Section 1367) of Title 10 of Part 2.

(9)When a prisoner participates in a treatment program pursuant to Section 1203.44.

(b)Subject to subdivision (d), for each four-day period in which a prisoner is confined in or committed to a facility as specified in this section, one day shall be deducted from the prisoner’s period of confinement unless it appears by the record that the prisoner has refused to satisfactorily perform labor as assigned by the sheriff, chief of police, or superintendent of an industrial farm or road camp.

(c)For each four-day period in which a prisoner is confined in or committed to a facility as specified in this section, one day shall be deducted from the prisoner’s period of confinement unless it appears by the record that the prisoner has not satisfactorily complied with the reasonable rules and regulations established by the sheriff, chief of police, or superintendent of an industrial farm or road camp.

(d)This section does not require the sheriff, chief of police, or superintendent of an industrial farm or road camp to assign labor to a prisoner if it appears from the record that the prisoner has refused to satisfactorily perform labor as assigned or that the prisoner has not satisfactorily complied with the reasonable rules and regulations of the sheriff, chief of police, or superintendent of an industrial farm or road camp.

(e)A deduction shall not be made under this section unless the person is committed for a period of four days or longer.

(f)It is the intent of the Legislature that if all days are earned under this section, a term of four days will be deemed to have been served for every two days spent in actual custody.

(g)The changes in this section as enacted by the act that added this subdivision shall apply to prisoners who are confined to a county jail, city jail, industrial farm, or road camp for a crime committed on or after the effective date of that act.

(h)The changes to this section enacted by the act that added this subdivision shall apply prospectively and shall apply to prisoners who are confined to a county jail, city jail, industrial farm, or road camp for a crime committed on or after October 1, 2011. Any days earned by a prisoner prior to October 1, 2011, shall be calculated at the rate required by the prior law.

(i)(1)This section shall not apply, and no credits may be earned, for periods of flash incarceration imposed pursuant to Section 3000.08 or 3454.

(2)Credits earned pursuant to this section for a period of flash incarceration pursuant to Section 1203.35 shall, if the person’s probation or mandatory supervision is revoked, count towards the term to be served.

(j)This section shall remain in effect only until January 1, 2028, and as of that date is repealed, unless a later enacted statute, that is enacted before January 1, 2028, deletes or extends that date.

The 20 cases that cite Cal. Penal Code § 4019 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Kennedy, 209 Cal. App. 4th 385 (Ct. App. 2012).
cites § 4019 24×cited by 115 cases
Where it cites § 4019
“On appeal, appellant contends that he is entitled to additional presentence custody credits, and pursuant to equal protection principles the amendment to Penal Code section 4019, effective October 1, 2011, must be applied to him retroactively.”
The case’s holding
A criminal defendant is entitled to accrue both actual presentence custody credits and conduct credits for the period of incarceration prior to sentencing.
Later courts cite it for
“a criminal defendant is entitled to accrue both actual presentence custody credits . . . and conduct credits . . . for the period of incarceration prior to sentencing.” · 2 citing courts
2
GREENPeople v. Guzman, 40 Cal. App. 4th 691 (Ct. App. 1995).
cites § 4019 17×cited by 14 cases
Where it cites § 4019
“On September 28, 1994, the 6-year prison term was “reimposed,” and defendant was found to be entitled to 1,242 days of credit for actual custody time and 104 days of custody credit pursuant to Penal Code section 4019 for a total of 1,346 total days of credit.”
3
GREENPeople v. Caddick, 160 Cal. App. 3d 46 (Ct. App. 1984).
cites § 4019 8×cited by 32 cases
Where it cites § 4019
“Code, § 496) and was sentenced to state prison for the upper term of three years. He was credited with 66 days presentence time served in county jail (Pen.”
The case’s holding
Presentence detainee-felons are not similarly situated to state prisoners for section 2933 worktime credit, so denying them one-for-one credit does not violate equal protection.
4
GREENPeople v. Bipialaka, 34 Cal. App. 5th 455 (Ct. App. 2019).
cites § 4019 2×cited by 67 cases
Where it cites § 4019
“It must be amended to reflect that Bipialaka's presentence credits were calculated according to Penal Code section 4019 and not section 2933.”
The case’s holding
Assault occurs if a reasonable person viewing the facts known to the defendant would find the act would directly, naturally, and probably result in physical force being applied.
Later courts cite it for
“the test for assault is whether a reasonable person, viewing the facts known to bipialaka, would find that the act in question would directly, naturally, and probably result in physical force being applied to another . . . .” · 4 citing courts
5
GREENPeople v. House, 183 Cal. App. 4th 1049 (Ct. App. 2010).
cites § 4019 10×cited by 8 cases
Where it cites § 4019
“Appellant filed supplemental briefing, contending that the recent amendment to Penal Code section 4019, concerning the calculation of presentence custody credits, applies retroactively to her sentence.”
6
GREENPeople v. Myers, 69 Cal. App. 4th 305 (Ct. App. 1999).
cites § 4019 3×cited by 280 cases
Where it cites § 4019
“On remand, the court denied appellant’s motion to strike prior convictions, granted his request to strike 4 one-year enhancements, and awarded appellant 360 days of presentence custody credits pursuant to stipulation of the parties. Appellant contends he is entitled to be…”
The case’s holding
A trial court is presumed to have considered all relevant factors when deciding a motion to strike prior convictions unless the record demonstrates otherwise.
Later courts cite it for
“the court is presumed to have considered all of the relevant factors in the absence of an affirmative record to the contrary.” · 51 citing courts
7
GREENIn re Jackson, 182 Cal. App. 3d 439 (Ct. App. 1986).
cites § 4019 10×cited by 16 cases
Where it cites § 4019
“Is petitioner entitled to good behavior and work performance time credit pursuant to Penal Code section 4019? Petitioner’s second argument is that, having been committed to jail for a ten-day sentence, he is entitled to two days of work performance and good behavior time credit…”
8
GREENPeople v. Jacobs, 6 Cal. App. 4th 101 (Ct. App. 1992).
cites § 4019 9×cited by 15 cases
Where it cites § 4019
“Penal Code section 4019 allows a presentence detainee to earn two days of conduct credits for each four-day period actually served.”
Later courts cite it for
“equal protection requires the state to treat similarly situated persons alike, with some exceptions in which the disparate treatment is sufficiently related to the purpose of the law in question.” · 4 citing courts
9
GREENPeople v. Smith, 98 Cal. App. 3d 793 (Ct. App. 1979).
cites § 4019 10×cited by 9 cases
Where it cites § 4019
“) At that time, Penal Code section 4019 provided, in relevant part, as follows: "(a) The provisions of this section shall apply in all of the following cases: ".”
Later courts cite it for
“prisoner is ineligible for any good time credit if it appears from the record he has not satisfactorily complied with the reasonable rules and regulations established by the sheriff at all times during his stay in the jail.” · 2 citing courts
10
GREENIn re Marquez, 30 Cal. 4th 14 (2003).
cites § 4019 2×cited by 89 cases
Where it cites § 4019
“515 explained the applicable method of calculation: "`Penal Code section 4019, specifies how prisoners may obtain certain credits.”
The case’s holding
A but for causation requirement applies to cases involving duplicate credits to prevent a windfall for the defendant.
Later courts cite it for
“once santa cruz county dismissed its charges, all custody following monterey county's hold, including the period between petitioner's sentencing in santa cruz county and his monterey county sentencing, is properly characterized as 'attributable to the monterey county proceedings related to the same conduct for which the defendant has been convicted.” · 3 citing courts
11
GREENPeople v. Brown, 54 Cal. 4th 314 (2012).
cites § 4019 1×cited by 683 cases
Where it cites § 4019
“Since 1976, Penal Code section 4019 1 has offered prisoners in local custody the opportunity to earn “conduct credit” against their sentences for good behavior.”
The case’s holding
A statute providing behavioral incentives rather than mitigating punishment for a specific crime operates prospectively unless the legislature clearly expresses an intent for retroactivity.
Later courts cite it for
“estrada is today properly understood, not as weakening or modifying the default rule of prospective operation codified in penal code section 3, but rather as informing the rule's application in a specific context by articulating the reasonable presumption that a legislative act mitigating the punishment for a particular criminal offense is intended to apply to all nonfinal judgments.” · 38 citing courts
12
GREENPeople v. Duesler, 203 Cal. App. 3d 273 (Ct. App. 1988).
cites § 4019 6×cited by 18 cases
Where it cites § 4019
“II Under Penal Code section 4019, certain prisoners are entitled to good behavior credit for time spent in county jail, “unless it appears by the record that the prisoner has not satisfactorily complied with .”
Later courts cite it for
“before a sentencing court may withhold conduct credits, the defendant is entitled to prior notice and an opportunity to (1) rebut the findings of his jail violations, and (2) present any mitigating factors.” · 3 citing courts
13
GREENPeople v. Boyd, 95 Cal. App. 3d 577 (Ct. App. 1979).
cites § 4019 6×cited by 18 cases
Where it cites § 4019
“” The question presented is that of the proper interpretation of Penal Code sections 4019 and 2900.”
Later courts cite it for
“proof that no prejudice actually resulted.” · 2 citing courts
14
GREENPeople v. Castro, 99 Cal. App. 3d 191 (Ct. App. 1979).
cites § 4019 6×cited by 17 cases
Where it cites § 4019
“) Appellant contends that under Penal Code sections 4019 and 2900.”
15
GREENPeople v. Eastman, 13 Cal. App. 4th 668 (Ct. App. 1993).
cites § 4019 3×cited by 50 cases
Where it cites § 4019
“Finally, he argues that he should be credited with an appropriate amount of presentence conduct credit pursuant to Penal Code section 4019, subdivision (a)(2).”
The case’s holding
A waiver of presentence custody credits must be clear, voluntary, and informed to be valid.
Later courts cite it for
“clear, voluntary, and informed” · 2 citing courts
16
YELLOWPeople v. Ricky H., 30 Cal. 3d 176 (1981).
cites § 4019 11×cited by 160 cases
Superseded by statute on other grounds: 10 citing opinions limit it to other grounds. As recognized in People v. Michael D.
Where it cites § 4019
“Appellant contends that the Youth Authority commitment was an abuse of discretion because the judge did not give adequate consideration to less restrictive alternatives such as placement in the local county youth center. He also challenges the superior court’s denial of credit…”
The case’s holding
An appellate court may correct a sentence not authorized by law whenever the error is discovered, even if the correction results in a more severe punishment.
Later courts cite it for
“authority exists for an appellate court to correct a sentence that is not authorized by law whenever the error comes to the attention of the court, even if the correction creates the possibility of a more severe punishment.” · 4 citing courts
17
GREENPayton v. Superior Court, 202 Cal. App. 4th 1187 (Ct. App. 2011).
cites § 4019 4×cited by 10 cases
Where it cites § 4019
“Payton contends he should have been awarded day-for-day conduct credits under the January 25, 2010, amendment to Penal Code section 4019. 2 The trial court denied Payton the additional conduct credits because his crime was committed before the effective date of the amendment.”
18
GREENPeople v. Edwards, 195 Cal. App. 4th 1051 (Ct. App. 2011).
cites § 4019 2×cited by 29 cases
Where it cites § 4019
“She also contends that an amendment to Penal Code section 4019, which would result in additional credit for time served before sentencing, should apply retroactively.”
Later courts cite it for
“prior prison term enhancements are status enhancements which can be imposed only once, on the aggregate sentence.” · 3 citing courts
19
GREENPeople v. Romo, 248 Cal. App. 4th 682 (Ct. App. 2016).
cites § 4019 2×cited by 10 cases
Where it cites § 4019
“Defendant is therefore entitled to 168 days of actual credit and 168 days of conduct credit under Penal Code section 4019, subdivision (f), for a total of 336 days.”
20
GREENPeople v. Ellis, 207 Cal. App. 4th 1546 (Ct. App. 2012).
cites § 4019 1×cited by 119 cases
Where it cites § 4019
“In this opinion, we hold the amendment to Penal Code section 4019 that became operative October 1, 2011 (hereafter the October 1, 2011, amendment) applies only to eligible prisoners whose crimes were committed on or after that date.”
Holding on this section
The amendment to Penal Code section 4019 applies prospectively only to prisoners whose crimes were committed on or after October 1, 2011.
Later courts cite it for
“the legislature's clear intent was to have the enhanced rate apply only to those defendants who committed their crimes on or after october 1, 2011. the second sentence does not extend the enhanced rate to any other group, but merely specifies the rate at which all others are to earn conduct credits.” · 15 citing courts

Show all 348 citing cases (list view) →

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
194819872026

One bar per 2 years. Tallest: 88 cases in 2012–2013. 2026 is a partial year. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.328Cal.8E.D. Cal.4C.D. Cal.26th Cir.19th Cir.1Cal. Att'y Gen.1Cal. Ct. App. 5th1

The 8 courts with the most citing cases, of 10 courts in all.

By subsection
(b)1 case
Buckley v. Terhune, 266 F. Supp. 2d 1124 (C.D. Cal. 2002).
(f)1 case
United States v. Ramirez-Perez, 643 F.3d 173 (6th Cir. 2011).

Show all 348 citing cases (list view) →

Enactment and amendments

Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.

Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Another version of this section is on file: see the note under the citation at the top of the page.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com