California Codes homeSearch California
Cal. CodesCode of Civil ProcedurePart 2. Of Civil ActionsTitle 8. Of the Trial and Judgment in Civil ActionsChapter 1. Judgment in General

Cal. Code of Civil Procedure § 581 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Sept. 26, 2026 (applied Oct. 1, 2026) cited 1975–2026 400citing cases
At a glance

Courts have cited this section in 400 opinions since 1975, 79 of them in the last five years. The most litigated part is subsection (f)(2) (6 cases).

(a)As used in this section:

(1)“Action” means any civil action or special proceeding.

(2)“Complaint” means a complaint and a cross-complaint.

(3)“Court” means the court in which the action is pending.

(4)“Defendant” includes a cross-defendant.

(5)“Plaintiff” includes a cross-complainant.

(6)“Trial.” A trial shall be deemed to actually commence at the beginning of the opening statement or argument of any party or his or her counsel, or if there is no opening statement, then at the time of the administering of the oath or affirmation to the first witness, or the introduction of any evidence.

(b)An action may be dismissed in any of the following instances:

(1)With or without prejudice, upon written request of the plaintiff to the clerk, filed with papers in the case, or by oral or written request to the court at any time before the actual commencement of trial, upon payment of the costs, if any.

(2)With or without prejudice, by any party upon the written consent of all other parties.

(3)By the court, without prejudice, when no party appears for trial following 30 days’ notice of time and place of trial.

(4)By the court, without prejudice, when dismissal is made pursuant to the applicable provisions of Chapter 1.5 (commencing with Section 583.110).

(5)By the court, without prejudice, when either party fails to appear on the trial and the other party appears and asks for dismissal.

(c)A plaintiff may dismiss his or her complaint, or any cause of action asserted in it, in its entirety, or as to any defendant or defendants, with or without prejudice prior to the actual commencement of trial.

(d)Except as otherwise provided in subdivision (e), the court shall dismiss the complaint, or any cause of action asserted in it, in its entirety or as to any defendant, with prejudice, when upon the trial and before the final submission of the case, the plaintiff abandons it.

(e)After the actual commencement of trial, the court shall dismiss the complaint, or any causes of action asserted in it, in its entirety or as to any defendants, with prejudice, if the plaintiff requests a dismissal, unless all affected parties to the trial consent to dismissal without prejudice or by order of the court dismissing the same without prejudice on a showing of good cause.

(f)The court may dismiss the complaint as to that defendant when:

(1)Except where Section 597 applies, after a demurrer to the complaint is sustained without leave to amend and either party moves for dismissal.

(2)Except where Section 597 applies, after a demurrer to the complaint is sustained with leave to amend, the plaintiff fails to amend it within the time allowed by the court and either party moves for dismissal.

(3)After a motion to strike the whole of a complaint is granted without leave to amend and either party moves for dismissal.

(4)After a motion to strike the whole of a complaint or portion thereof is granted with leave to amend the plaintiff fails to amend it within the time allowed by the court and either party moves for dismissal.

(g)The court may dismiss without prejudice the complaint in whole, or as to that defendant, when dismissal is made under the applicable provisions of Chapter 1.5 (commencing with Section 583.110).

(h)The court may dismiss without prejudice the complaint in whole, or as to that defendant, when dismissal is made pursuant to Section 418.10.

(i)No dismissal of an action may be made or entered, or both, under paragraph (1) of subdivision (b) where affirmative relief has been sought by the cross-complaint of a defendant or if there is a motion pending for an order transferring the action to another court under the provisions of Section 396b.

(j)No dismissal may be made or entered, or both, under paragraph (1) or (2) of subdivision (b) except upon the written consent of the attorney for the party or parties applying therefor, or if consent of the attorney is not obtained, upon order of dismissal by the court after notice to the attorney.

(k)No action may be dismissed which has been determined to be a class action under the provisions of this code unless and until notice that the court deems adequate has been given and the court orders the dismissal.

(l)The court may dismiss, without prejudice, the complaint in whole, or as to that defendant when either party fails to appear at the trial and the other party appears and asks for the dismissal.

(m)The provisions of this section shall not be deemed to be an exclusive enumeration of the court’s power to dismiss an action or dismiss a complaint as to a defendant.

The 20 cases that cite Cal. Code of Civil Procedure § 581 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENGogri v. Jack in the Box Inc., 166 Cal. App. 4th 255 (Ct. App. 2008).
cites § 581 85×cited by 52 cases
Where it cites § 581
“*261 DISCUSSION I Voluntary Dismissals Generally Code of Civil Procedure section 581 3 allows a plaintiff to voluntarily dismiss, with or without prejudice, all or any part of an action before the “actual commencement of trial.”
The case’s holding
A voluntary dismissal of an entire action deprives the court of subject matter and personal jurisdiction except for the limited purpose of awarding costs and statutory attorney fees.
Later courts cite it for
“voluntary dismissal of an entire action deprives the court of both subject matter and personal jurisdiction in that case, except for the limited purpose of awarding costs and statutory attorney fees.” · 3 citing courts
2
GREENFranklin Capital Corp. v. Wilson, 148 Cal. App. 4th 187 (Ct. App. 2007).
cites § 581 51×cited by 44 cases
Where it cites § 581
“The statute is Code of Civil Procedure, section 581, subdivision (b)(1), which provides: "An action may be dismissed in any of the following instances: [¶] (1) With or without prejudice, upon written request of the plaintiff to the clerk, filed with papers in the case, or by…”
The case’s holding
A voluntary dismissal is ineffective only if the court provides a public and formal indication of the case merits or the plaintiff commits a procedural dereliction making dismissal inevitable.
Later courts cite it for
“a public and formal indication by the trial court of the legal merits of the case, or . . . some procedural dereliction by the dismissing plaintiff that made dismissal otherwise inevitable, then the voluntary dismissal is ineffective.” · 5 citing courts
3
GREENWells v. Marina City Props., Inc., 29 Cal. 3d 781 (1981).
cites § 581 28×cited by 133 cases
Where it cites § 581
“) Subdivision 1 gives a plaintiff a right to dismiss his action without prejudice "at any time before the actual commencement of trial.”
The case’s holding
A plaintiff loses the right to voluntary dismissal without prejudice once the time to amend a sustained demurrer expires without amendment.
Later courts cite it for
“it is fundamental that legislation should be construed so as to harmonize its various elements without doing violence to its language or spirit.” · 7 citing courts
4
GREENCal-Vada Aircraft, Inc. v. Superior Court, 179 Cal. App. 3d 435 (Ct. App. 1986).
cites § 581 64×cited by 15 cases
Where it cites § 581
“In this case we decide whether a partial adjudication of issues pursuant to Code of Civil Procedure section 437c constitutes a "trial" under Code of Civil Procedure section 581, subdivision (a), the "voluntary dismissal" statute.”
5
GREENHarding v. Collazo, 177 Cal. App. 3d 1044 (Ct. App. 1986).
cites § 581 31×cited by 36 cases
Where it cites § 581
“(Code Civ. Proc., § 581, subd. 3.) [1] & [2] FACTUAL AND PROCEDURAL BACKGROUND On July 7, 1983, plaintiff filed a complaint in propria persona against Collazo, Martines, Zenter, and Kiss.”
6
GREENSan Diego Cnty. Health & Human Servs. Agency v. Martha P., 117 Cal. App. 4th 857 (Ct. App. 2004).
cites § 581 25×cited by 20 cases
Where it cites § 581
“2 We are called upon to decide whether the voluntary dismissal provision of Code of Civil Procedure section 581, subdivision (b)(1) may be utilized by the public conservator to dismiss or withdraw a petition for the reestablishment of an LPS Act conservatorship.”
Later courts cite it for
“under the lps act statutory scheme, it is a public official that has the duty to investigate the need for reestablishment of a conservatorship which may lead to continued commitment under the act and who has the sole discretion to file a petition in light of that investigation” · 1 citing court
7
GREENOntiveros v. Constable, 27 Cal. App. 5th 259 (Ct. App. 2018).
cites § 581 20×cited by 10 cases
Where it cites § 581
“The court treated that motion as a motion for leave to file a dismissal with prejudice under Code of Civil Procedure section 581, subdivision (e).”
Later courts cite it for
“a party's right under section 2000 depends entirely on the existence of a cause of action for involuntary dissolution of a corporation” · 2 citing courts
8
GREENAetna Cas. & Sur. Co. v. Humboldt Loaders, Inc., 202 Cal. App. 3d 921 (Ct. App. 1988).
cites § 581 26×cited by 21 cases
Where it cites § 581
“Although a number *924 of other issues are raised on appeal, we conclude that Aetna had the absolute right to dismiss under former Code of Civil Procedure section 581, subdivision l.”
Later courts cite it for
“the presence of estoppel is a question of fact to be pleaded and proved.” · 1 citing court
9
GREENGroth Bros. Oldsmobile v. Gallagher, 97 Cal. App. 4th 60 (Ct. App. 2002).
cites § 581 15×cited by 23 cases
Where it cites § 581
“At that time plaintiff’s counsel advised the court that because the clerk had rejected his attempt to file a second amended complaint, 2 plaintiff earlier that morning had filed a dismissal without prejudice of the entire action as to Gallagher pursuant to Code of Civil…”
The case’s holding
A plaintiff may not voluntarily dismiss an action after an adverse tentative ruling sustaining a demurrer without leave to amend, where no opposition was filed and the dismissal would defeat the ruling.
10
GREENGray v. Superior Court, 52 Cal. App. 4th 165 (Ct. App. 1997).
cites § 581 19×cited by 25 cases
Where it cites § 581
“* —In this case we hold that a plaintiff’s right to dismiss his complaint “at any time before the actual commencement of trial” (Code Civ. Proc., § 581, subd. (b)(1)) 1 is cut off by the commencement of evidentiary proceedings before a referee appointed in a partition action.”
The case’s holding
A plaintiff's right to voluntarily dismiss a partition action is cut off once evidentiary proceedings begin before a referee, because trial has then commenced, regardless of whether the referee's report is advisory.
Later courts cite it for
“as used in this section: f . . . f (6) 'trial.' a trial shall be deemed to actually commence at the beginning of the opening statement or argument of any party or his or her counsel, or if there is no opening statement, then at the time of the administering of the oath or affirmation to the first witness, or the introduction of any evidence.” · 2 citing courts
11
GREEN321 Henderson Receivables Origination LLC v. Sioteco, 173 Cal. App. 4th 1059 (Ct. App. 2009).
cites § 581 23×cited by 7 cases
Where it cites § 581
“Judge Simpson denied Henderson’s *1068 unilateral requests for voluntary dismissal because he held that Henderson could not dismiss the petitions under Code of Civil Procedure section 581 (because Henderson was not a “plaintiff’) or under Code of Civil Procedure section 581,…”
12
GREENShapira v. Lifetech Res., 22 Cal. App. 5th 429 (Ct. App. 2018).
cites § 581 34×subsections: (d) (e)cited by 2 cases
Where it cites § 581
“Before Shapira submitted his closing argument brief, he requested that the court dismiss the case pursuant to Code of Civil Procedure, section 581, subdivision (e) ( section 581(e) ), which provides, "After the actual commencement of trial, the court shall dismiss the complaint .”
Later courts cite it for
“because this case involves neither a dismissal without prejudice nor issues involving the commencement of trial, much of franklin capital's 'complex body of case law' is inapplicable here” · 1 citing court
13
GREENMesa Shopping Ctr.-East v. O Hill, 232 Cal. App. 4th 890 (Ct. App. 2014).
cites § 581 11×cited by 21 cases
Where it cites § 581
“(b)(2)), *893 something plaintiffs may do without prejudice before “the actual commencement of trial” (Code Civ. Proc., § 581, subds. (b)(1), (c)).”
The case’s holding
A plaintiff may not voluntarily dismiss without prejudice once trial has commenced, and an arbitration hearing on the merits of a contract dispute counts as commencement of trial.
Later courts cite it for
“that an order taxing costs following a nonappealable voluntary dismissal was not appealable. 7” · 2 citing courts
14
GREENTorrey Pines Bank v. Superior Court, 216 Cal. App. 3d 813 (Ct. App. 1989).
cites § 581 11×cited by 52 cases
Where it cites § 581
“In February 1989 under Code of Civil Procedure section 581, White filed a dismissal with prejudice of his lawsuit in case number 597676.”
The case’s holding
A voluntary dismissal with prejudice operates as a judgment on the merits and precludes a party from relitigating those issues as affirmative defenses in a subsequent action.
Later courts cite it for
“is determinative of the issues in the action and precludes the dismissing party from litigating those issues again.” · 5 citing courts
15
GREENPeople v. Lee C. (In re Est. of Lee C.), 18 Cal. App. 5th 1072 (Ct. App. 2017).
cites § 581 8×cited by 11 cases
Where it cites § 581
“The Public Guardian confirmed that he had asked the conservatorship court to dismiss the petition pursuant to Code of Civil Procedure section 581. 1 Order to Disqualify County Counsel In response to county counsel's reluctance to file and prosecute the petition, the People…”
16
GREENLaw Offices of Andrew L. Ellis v. Yang, 178 Cal. App. 4th 869 (Ct. App. 2009).
cites § 581 6×cited by 35 cases
Where it cites § 581
“Pursuant to Code of Civil Procedure section 581, subdivisions (b) and (c), plaintiffs have the right to voluntarily dismiss an entire action, or causes of action within a pleading, before the commencement of trial.”
The case’s holding
A request for voluntary dismissal is effective upon filing and requires no further action by the clerk or the court to divest the court of jurisdiction.
Later courts cite it for
“a request for a dismissal is usually effective upon filing, and no other action by the clerk or the court is required.” · 3 citing courts
17
GREENPittman v. Beck Park Apts. Ltd., 20 Cal. App. 5th 1009 (Ct. App. 2018).
cites § 581 2×cited by 82 cases
Where it cites § 581
“On June 18, 2009 Pittman voluntarily dismissed Kimball Tirey, and on November 6, 2009 he voluntarily dismissed Beck Apartments and Goldrich & Kest Industries pursuant to Code of Civil Procedure section 581. 1 Pittman filed a first amended complaint on December 2, 2009 that…”
The case’s holding
A trial court retains jurisdiction to rule on a motion to declare a party a vexatious litigant even after the underlying action is voluntarily dismissed.
Later courts cite it for
“section 473, subdivision (d), provides a trial court 'may, on motion of either party after notice to the other party, set aside any void judgment or order.' 'inclusion of the word "may” · 11 citing courts
18
GREENHerbert Hawkins Realtors, Inc. v. Milheiser, 140 Cal. App. 3d 334 (Ct. App. 1983).
cites § 581 7×cited by 36 cases
Where it cites § 581
“The Realtors Were Not Entitled to Dismiss Without Prejudice The Milheisers contend an arbitration before an arbiter appointed pursuant to the judicial arbitration statutes must be construed as a “trial” for purposes of denying a plaintiff the absolute right to dismiss an action…”
The case’s holding
A party cannot use a voluntary dismissal without prejudice in judicial arbitration to avoid an unfavorable award and circumvent the legislative purpose of efficient dispute resolution.
Later courts cite it for
“be construed in a reasonable and common sense manner consistent with their apparent purpose and the legislative intent underlying them-one practical, rather than technical, and one promoting a wise policy rather than mischief or absurdity.” · 4 citing courts
19
GREENM & R Props. v. Thomson, 11 Cal. App. 4th 899 (Ct. App. 1992).
cites § 581 8×cited by 22 cases
Where it cites § 581
“Code of Civil Procedure section 581, subdivision (b)(1), 1 sets forth the right of the plaintiff: “An action may be dismissed in any of the following instances: .”
The case’s holding
A trial court has a mandatory duty to dismiss an action and a defendant has an absolute right to dismissal once five years have elapsed from commencement.
Later courts cite it for
“(a) an action shall be dismissed by the court on its own motion or on motion of the defendant, after notice to the parties, if the action is not brought to trial within the time prescribed by this article. (b) the requirements of this article are mandatory and are not subject to extension, excuse, or exception except as expressly provided by statute.” · 2 citing courts
20
GREENSadler v. Turner, 186 Cal. App. 3d 245 (Ct. App. 1986).
cites § 581 10×cited by 14 cases
Where it cites § 581
“In the event Sadler failed to amend, the minute order indicated Turner could seek an ex parte dismissal pursuant to former Code of Civil Procedure section 581, subdivision (3).”

Show all 400 citing cases (list view) →

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
197520002026

One bar per year. Tallest: 23 cases in 2014. 2026 is a partial year. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.376Cal.15C.D. Cal.4N.D. Cal.3Cal. App. Dep’t Super. Ct.2
By subsection
(a)4 cases
Cucci v. Edwards, 510 F. Supp. 2d 479 (C.D. Cal. 2007).
Mike Silverman & Assocs. v. Drai, 659 F. Supp. 741 (C.D. Cal. 1987).
Weatherby v. Van Diest, 233 Cal. App. 3d 506 (Ct. App. 1991).
(b)2 cases
In re John C., No. G051189 (Cal. Ct. App. Apr. 28, 2016).
In re Michelle K., No. G051177 (Cal. Ct. App. Apr. 28, 2016).
(b)(1)1 case
321 Henderson Receivables Origination LLC v. Ramos, 172 Cal. App. 4th 305 (Ct. App. 2009).
(b)(3)1 case
Tenchil v. Scott, No. B338663 (Cal. Ct. App. Jan. 30, 2026).
(b)(5)1 case
United States v. Sutter Health, No. 5:18-cv-02067 (N.D. Cal. Nov. 6, 2020).
(c)1 case
Carroll v. Imp. Motors, Inc., 33 Cal. App. 4th 1429 (Ct. App. 1995).
(d)3 cases
Shapira v. Lifetech Res., 22 Cal. App. 5th 429 (Ct. App. 2018).“Before Shapira submitted his closing argument brief, he requested that the court dismiss the case pursuant to Code of Civil Procedure, section 581, subdivision (e) ( section 581(e) ), which provides, "After the actual commencement of trial, the court shall dismiss the complaint .”
Arthur Putt v. CBS Corp., No. 2:19-cv-06909 (C.D. Cal. Aug. 9, 2019).
Shapira v. Lifetech Resources, No. B283445 (Cal. Ct. App. Apr. 17, 2018).
(e)2 cases
Shapira v. Lifetech Res., 22 Cal. App. 5th 429 (Ct. App. 2018).
Shapira v. Lifetech Resources, No. B283445 (Cal. Ct. App. Apr. 17, 2018).
(f)1 case
Henschel v. Mortg. Elec. Reg. Syst., No. B248487 (Cal. Ct. App. June 11, 2014).
(f)(2)6 cases
Brehm v. 21st Century Ins., 166 Cal. App. 4th 1225 (Ct. App. 2008).
Datig v. Dove Books, Inc., 73 Cal. App. 4th 964 (Ct. App. 1999).
Nuno v. Cal. State Univ., Bakersfield, 47 Cal. App. 5th 799 (Ct. App. 2020).
Sandhu v. Wells Fargo Bank, No. A136361 (Cal. Ct. App. Oct. 7, 2013).
Montgomery v. Los Angeles Cnty., No. B244168 (Cal. Ct. App. Feb. 19, 2014).
Showing the top 5 of 6. More in the list view →

Show all 400 citing cases (list view) →

Enactment and amendments
Amended by Stats. 1993, Ch. 456, Sec. 9. Effective January 1, 1994.
Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com