Internal prototype — noindexed, not linked from public navigation yet.

Cal. CCP § 597

This is the official text of Cal. CCP § 597, part of California’s Code of Civil Procedure — sets the procedural rules for civil lawsuits in California courts, including filing deadlines, discovery, and judgments.

Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.

Official statutory text

When the answer pleads that the action is barred by the statute of limitations, or by a prior judgment, or that another action is pending upon the same cause of action, or sets up any other defense not involving the merits of the plaintiff’s cause of action but constituting a bar or ground of abatement to the prosecution thereof, the court may, either upon its own motion or upon the motion of any party, proceed to the trial of the special defense or defenses before the trial of any other issue in the case, and if the decision of the court, or the verdict of the jury, upon any special defense so tried (other than the defense of another action pending) is in favor of the defendant pleading the same, judgment for the defendant shall thereupon be entered and no trial of other issues in the action shall be had unless that judgment shall be reversed on appeal or otherwise set aside or vacated; and where the defense of another action pending or a demurrer based upon subdivision (c) of Section 430.10 is sustained (and no other special defense is sustained) an interlocutory judgment shall be entered in favor of the defendant pleading the same to the effect that no trial of other issues shall be had until the final determination of that other action, and the plaintiff may appeal from the interlocutory judgment in the same manner and within the same time as is now or may be hereafter provided by law for appeals from judgments. If the decision of the court, or the verdict of the jury, upon the special defense or defenses so tried is in favor of the plaintiff, trial of the other issues shall thereafter be had either upon the court’s own motion or upon the motion of any party, and judgment shall be entered thereon in the same manner and with the same effect as if all the issues in the case had been tried at one time. In such an event any and all decisions or verdicts upon the special defense or defenses, and all rulings on the trial thereof shall be deemed excepted to and may be reviewed on motion for a new trial or upon appeal from the judgment.

This section also applies to the trial of special defenses pleaded in an answer to a cross-complaint or a demurrer based upon subdivision (c) of Section 430.10, and if the decision of the court or the verdict of the jury upon the special defense or defenses is in favor of the cross-defendant, no further trial shall be had upon the issues raised by the cross-complaint, but trial of the other issues in the action shall thereafter be had either upon the court’s own motion or upon the motion of any party, and after the trial thereof the judgment shall be entered in the action as is justified by the decision or verdict on such other issues, considered in connection with the decision or verdict upon the trial of such an affirmative defense raised in the answer to the cross-complaint.

Status: in_force · Read it on the official government site

Need a lawyer in California?

Find a California lawyer
About this page: Statute text is reproduced from official government publishers via the Open US Law dataset (Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine (Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.