RulesofCivilProcedure.com Civil Procedure · Every State

§ 1038.Reasonable Cause and Good Faith Belief As to Justifiable Controversy Determination In Government Claims Act Proceedings

Title 14. Of Miscellaneous Provisions · Chapter 6. Of Costs · Last amended 2018 · Last verified July 28, 2026

In one sentenceSection 1038 requires a court, on a defendant's motion after winning summary judgment, a directed verdict, judgment under § 631.8, or a nonsuit in a Government Claims Act or indemnity or contribution action, to decide if the plaintiff proceeded in good faith and with reasonable cause, and to award defense costs if not.

Full Text of § 1038

Text sizeJump to: (a) (b) (c) (d)

(a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a party's papers and an opportunity to be heard.
(b) "Defense costs," as used in this section, shall include reasonable attorney's fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.
(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.
(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.

Plain-English Summary

This section targets a specific category of case where the Legislature wanted an extra check on plaintiffs who sue the government, or sue for indemnity or contribution, without a solid basis: Government Claims Act proceedings and actions for express or implied indemnity or contribution. When a defendant or cross-defendant wins a dispositive motion -- summary judgment, a directed verdict, judgment under § 631.8, or a nonsuit -- the court must, on that party's motion, determine whether the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that a justifiable controversy existed.

If the court finds the case wasn't brought in good faith and with reasonable cause, it moves to a second question: the defense costs reasonably and necessarily incurred by the party who won. Those defense costs, defined in subdivision (b) to include reasonable attorney's fees, expert witness fees, and the expense of experts, advisers, and consultants, get awarded in a judgment favoring that party, on top of the costs it would ordinarily recover as the prevailing party.

The timing and tradeoffs matter. Subdivision (c) requires the motion before the jury is discharged or judgment is entered, and it exacts a price for using this remedy: any party who requests relief under this section waives the right to bring a later malicious prosecution action over the same case, though not requesting relief under this section doesn't itself waive that separate remedy. Subdivision (d) limits the whole section to cases where the defendant's dispositive motion was granted -- a defendant who loses that motion, or never brings one, can't use this section at all.

Frequently Asked Questions

What kinds of cases does Section 1038 apply to?

Civil proceedings under the Government Claims Act, and actions for express or implied indemnity or contribution.

What triggers the court's good-faith determination under this section?

A defendant or cross-defendant's motion, made at the time the court grants summary judgment, a directed verdict, judgment under § 631.8, or a nonsuit dismissing the plaintiff or similar party.

What happens if the court finds the case wasn't brought in good faith and with reasonable cause?

The court awards the winning party its reasonably and necessarily incurred defense costs, including attorney's fees, expert witness fees, and related expenses, in addition to ordinary prevailing-party costs.

Is there a tradeoff for seeking relief under Section 1038?

Yes. A party who requests relief under this section waives any right to later pursue a malicious prosecution action over the same case.

Can this motion be brought if the defendant's dispositive motion was denied?

No. Subdivision (d) limits the section to cases where the defendant's motion for summary judgment, judgment under § 631.8, directed verdict, or nonsuit was granted.

Amendment History

Amended by Stats 2017 ch 131 (AB 1693),s 3, eff. 1/1/2018. Amended by Stats 2012 ch 759 (AB 2690),s 2, eff. 1/1/2013.

Source & verification. Section text is reproduced verbatim from the Deering's California Codes Annotated / vLex. Enacted by the California Legislature. Last verified July 28, 2026. · Official source
Also known as: ccp 1038 government claims act defense costsgood faith reasonable cause determination california lawsuitdefense costs government tort claim california