Already have an account? Sign in instead.
You stay signed in for 30 days on this browser.
Continue with Google Continue with MicrosoftNo account yet? Create a free one.
We sent a six-digit code.
It expires in ten minutes, works once, and only in this browser. Five wrong tries void it. Send another code.
Your account is live and the Cloudflare checks are off for this browser.
Courts have cited this section in 17 opinions since 2002, 2 of them in the last five years.
(a)In an unlawful detainer proceeding involving residential premises after default in payment of rent and in which the tenant has raised as an affirmative defense a breach of the landlord’s obligations under Section 1941 of the Civil Code or of any warranty of habitability, the court shall determine whether a substantial breach of these obligations has occurred. If the court finds that a substantial breach has occurred, the court (1) shall determine the reasonable rental value of the premises in its untenantable state to the date of trial, (2) shall deny possession to the landlord and adjudge the tenant to be the prevailing party, conditioned upon the payment by the tenant of the rent that has accrued to the date of the trial as adjusted pursuant to this subdivision within a reasonable period of time not exceeding five days, from the date of the court’s judgment or, if service of the court’s judgment is made by mail, the payment shall be made within the time set forth in Section 1013, (3) may order the landlord to make repairs and correct the conditions which constitute a breach of the landlord’s obligations, (4) shall order that the monthly rent be limited to the reasonable rental value of the premises as determined pursuant to this subdivision until repairs are completed, and (5) except as otherwise provided in subdivision (b), shall award the tenant costs and attorneys’ fees if provided by, and pursuant to, any statute or the contract of the parties. If the court orders repairs or corrections, or both, pursuant to paragraph (3), the court’s jurisdiction continues over the matter for the purpose of ensuring compliance. The court shall, however, award possession of the premises to the landlord if the tenant fails to pay all rent accrued to the date of trial, as determined due in the judgment, within the period prescribed by the court pursuant to this subdivision. The tenant shall, however, retain any rights conferred by Section 1174.
(b)If the court determines that there has been no substantial breach of Section 1941 of the Civil Code or of any warranty of habitability by the landlord or if the tenant fails to pay all rent accrued to the date of trial, as required by the court pursuant to subdivision (a), then judgment shall be entered in favor of the landlord, and the landlord shall be the prevailing party for the purposes of awarding costs or attorneys’ fees pursuant to any statute or the contract of the parties.
(c)As used in this section, “substantial breach” means the failure of the landlord to comply with applicable building and housing code standards which materially affect health and safety.
(d)Nothing in this section is intended to deny the tenant the right to a trial by jury. Nothing in this section shall limit or supersede any provision of Chapter 12.75 (commencing with Section 7060) of Division 7 of Title 1 of the Government Code.
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.
One bar per year. Tallest: 4 cases in 2014. 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.
Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.
Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.