§ 1021.7.Attorney's Fees In Action Against Peace Officer Or For Libel and Slander Not Filed In Good Faith and With Reasonable Cause
Title 14. Of Miscellaneous Provisions · Chapter 6. Of Costs · Enacted 1981 · no amendments on record · Last verified July 28, 2026
Full Text of § 1021.7
Plain-English Summary
This section protects a narrow set of defendants from litigation that never had a good-faith basis. It reaches two situations: damages actions against a peace officer, as defined by the Penal Code, or against a public entity that employs one, arising out of the officer's duties, and libel or slander actions brought under Civil Code §§ 45 and 46.
Winning the case isn't enough on its own to trigger a fee award. The court has to make an additional finding, that the plaintiff's action wasn't filed or maintained in good faith and with reasonable cause. That's a meaningfully higher bar than losing alone, and it puts the fee decision squarely in the court's discretion.
When the court does make that finding, the attorney's fees it awards to the defendant become part of the costs of the action, folding into the broader cost-recovery framework the rest of this chapter sets out.
Frequently Asked Questions
Can a peace officer recover attorney's fees from a plaintiff who sues and loses?
Only if the court also finds that the action was not filed or maintained in good faith and with reasonable cause -- losing the case alone isn't enough.
Does Section 1021.7 apply to libel and slander cases generally?
It applies to libel or slander actions brought under Civil Code §§ 45 and 46, on the same good-faith-and-reasonable-cause standard.
Is an award of fees under this section mandatory?
No. The statute gives the court discretion to award reasonable attorney's fees as part of costs once it makes the required finding.
Amendment History
Added by Stats. 1981, Ch. 980, Sec. 1.