> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Code of Civil Procedure - CCP § 666. — Section 666.

- **Citation**: Cal. Code of Civil Procedure - CCP § 666.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Code of Civil Procedure - CCP (CCP)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-2/title-8/chapter-8/section-666](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-2/title-8/chapter-8/section-666)
- **Semantic URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-2/title-8/chapter-8/section-666](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-2/title-8/chapter-8/section-666)

## Hierarchy

Title CCP — Code of Civil Procedure - CCP > Part 2. — PART 2. OF CIVIL ACTIONS [307. - 1062.34.] > Title 8. — TITLE 8. OF THE TRIAL AND JUDGMENT IN CIVIL ACTIONS [577. - 674.] > Chapter 8. — CHAPTER 8. The Manner of Giving and Entering Judgment [664. - 674.]

## Text

If a claim asserted in a cross-complaint is established at the trial and the amount so established exceeds the demand established by the party against whom the cross-complaint is asserted, judgment for the party asserting the cross-complaint must be given for the excess; or if it appears that the party asserting the cross-complaint is entitled to any other affirmative relief, judgment must be given accordingly.

When the amount found due to either party exceeds the sum for which the court is authorized to enter judgment, such party may remit the excess, and judgment may be rendered for the residue.
