§ 1032.Right of Prevailing Party to Recover Costs
Title 14. Of Miscellaneous Provisions · Chapter 6. Of Costs · Last amended 2018 · Last verified July 28, 2026
Full Text of § 1032
Plain-English Summary
Section 1032 is the workhorse of this chapter, the default rule nearly every California civil case eventually runs through when the litigation ends. Subdivision (a) starts with definitions that broaden the section's reach: a "complaint" includes a cross-complaint, a "defendant" includes a cross-defendant and anyone against whom a complaint or answer in intervention is filed, and a "plaintiff" includes a cross-complainant and anyone who files a complaint in intervention. Those definitions mean the prevailing-party framework applies just as fully to cross-actions and interventions as it does to the original complaint.
The prevailing-party definition itself, in subdivision (a)(4), covers four categories: a party with a net monetary recovery, a defendant who obtains a dismissal, a defendant where neither side obtains any relief, and a defendant against plaintiffs who recover nothing against that particular defendant. Cases that don't fit neatly into one of those categories, where a party wins something other than money, for example, get resolved by the court's own determination of who prevailed, and the court then has discretion whether to allow costs at all and how to apportion them between the sides.
Subdivision (b) is the section's central command: except where a statute expressly says otherwise, a prevailing party is entitled to costs as a matter of right, not court discretion. That entitlement is what makes § 1032 different from the many discretionary cost provisions scattered elsewhere in this chapter and the code -- once a party qualifies as prevailing under the default categories, recovering costs isn't up to the judge's discretion.
Subdivision (c) leaves room for the parties to do their own thing: nothing in this section stops parties from stipulating to alternative procedures for awarding costs, under rules the Judicial Council adopts pursuant to § 1034. And the term "prevailing party" recurs throughout this chapter and the broader code -- sections like §§ 1021.9, 1028, and 1031 all use it -- so getting the § 1032 definition right often shapes how those other fee-and-cost statutes apply as well.
Frequently Asked Questions
How does Section 1032 define a prevailing party?
Generally as the party with a net monetary recovery, a defendant who wins a dismissal, a defendant where neither side gets any relief, or a defendant against plaintiffs who recover nothing against it, with the court deciding in any other situation.
Is a prevailing party guaranteed to recover costs?
Yes, in most cases. Subdivision (b) makes cost recovery a matter of right for the prevailing party unless a specific statute provides otherwise.
What happens when the outcome doesn't fit the statute's listed prevailing-party categories?
The court determines who prevailed and has discretion whether to allow costs at all, and may apportion costs between the parties.
Does Section 1032 apply to cross-complaints?
Yes. Subdivision (a) defines "complaint," "defendant," and "plaintiff" to include cross-complaints, cross-defendants, and cross-complainants, so the same prevailing-party rules govern cross-actions.
Can parties agree to handle costs differently than Section 1032 provides?
Yes. Subdivision (c) lets parties stipulate to alternative cost-award procedures under rules the Judicial Council adopts pursuant to § 1034.
Amendment History
Amended by Stats 2017 ch 131 (AB 1693),s 2, eff. 1/1/2018.