§ 1174.21.Landlord's Liability For Attorney's Fees and Costs
Title 3. Of Summary Proceedings · Chapter 4. Summary Proceedings for Obtaining Possession of Real Property in Certain Cases · Enacted 2003 · no amendments on record · Last verified July 29, 2026
Full Text of § 1174.21
Plain-English Summary
Civil Code § 1942.4 bars a landlord from demanding or collecting rent for a unit with serious, uncorrected habitability problems without giving the required notice. Section 1174.21 attaches a consequence to bringing an eviction case for nonpayment while also being liable under that provision: the landlord owes the tenant reasonable attorney's fees and costs, with the court fixing the amount.
This fee-shifting rule stands on its own, separate from the fee award a tenant might also win under § 1174.2's habitability defense, which depends on a statute or the lease itself authorizing fees. Here, the fee liability flows directly from the § 1942.4 violation once the landlord has filed a nonpayment case against that tenant.
Frequently Asked Questions
When is a landlord liable for my attorney's fees in an eviction case?
When the landlord sues for unlawful detainer based on nonpayment of rent while also being liable for violating Civil Code § 1942.4.
What is a Civil Code Section 1942.4 violation?
It generally involves demanding or collecting rent for a unit with serious, uncorrected habitability problems without giving the tenant the required notice.
Does this fee rule apply to every eviction case?
No. It's specific to nonpayment cases where the landlord is also liable under Civil Code § 1942.4, not to eviction cases generally.
Amendment History
Added by Stats 2003 ch 109 (AB 647),s 2, eff. 1/1/2004.