Code of Civil Procedure
Code of Civil Procedure section 1021.5Private attorney general fees
Cite as Code Civ. Proc., § 1021.5. Read from the California Legislature's official code files on November 15, 2026.
What this means for your filing
A court may award attorney's fees to a successful party whose action enforced an important right affecting the public interest, when this section's conditions are met.
Before you file
- 1Quote Code Civ. Proc., § 1021.5 from the official text, as it reads today, not from memory or an AI summary.
- 2Check the assigned judge's own department rules and recent tentative rulings. A department can set an earlier briefing deadline, a shorter page limit or its own format than the code or the Rules of Court; Aristo reads them for the judge you drew.
- 3See how the assigned judge has ruled on the same kind of motion, counted from the judge's own tentative rulings where the court posts them. Aristo counts them by motion type for the judge you drew.
Official text
Upon motion, a court may award attorneys’ fees to a successful party against one or more opposing parties in any action which has resulted in the enforcement of an important right affecting the public interest if:
(a) a significant benefit, whether pecuniary or nonpecuniary, has been conferred on the general public or a large class of persons, (b) the necessity and financial burden of private enforcement, or of enforcement by one public entity against another public entity, are such as to make the award appropriate, and (c) such fees should not in the interest of justice be paid out of the recovery, if any. With respect to actions involving public entities, this section applies to allowances against, but not in favor of, public entities, and no claim shall be required to be filed therefor, unless one or more successful parties and one or more opposing parties are public entities, in which case no claim shall be required to be filed therefor under Part 3 (commencing with Section 900) of Division 3.6 of Title 1 of the Government Code.
Attorneys’ fees awarded to a public entity pursuant to this section shall not be increased or decreased by a multiplier based upon extrinsic circumstances, as discussed in Serrano v. Priest, 20 Cal. 3d 25, 49.
Source and history
- Citation
- Code Civ. Proc., § 1021.5
- Effective
- January 1, 1994
- Where it sits
- Part 2. Of civil actions / Title 14. Of miscellaneous provisions / Chapter 6. Of Costs
- History
- Amended by Stats. 1993, Ch. 645, Sec. 2. Effective January 1, 1994.
- Official copy
- Read it on the official site
- Read from
- California Legislature PUBINFO session archive pubinfo_2025.zip, on November 15, 2026
Every section in Code of Civil Procedure on Aristo · All California law
Public record, quoted from the official source. Not legal advice.
About this page
Aristo publishes these pages free, quoted from the official sources. Its service, Aristo, connects to Claude, ChatGPT or Harvey with one link and gives the AI the assigned judge's record: the department's posted rules word for word and, where the court posts them, the judge's recent tentative rulings and how the judge has ruled on each kind of motion, each with its source and date, so the draft is written for that judge from the record, not from memory. The first week is free at aristolaw.net, with no card.
See it work
The code is half the answer. Your judge is the other half.
The same AI was asked the same question twice. Alone, it answered from memory. With Aristo, it quoted the code word for word, then read the judge's own department page and found the deadline that comes first.
Draft the opening of our opposition to the defense summary judgment motion in a complex wage and hour case before Judge Nancy Fineman in San Mateo, citing the code and the Rules of Court. When is it due?
Your AI aloneFrom memory
The opposition is due at least 20 days before the hearing, counting court days, and the reply at least 11 court days before the hearing (Code Civ. Proc., § 437c, subd. (b)(2), (3)). Confirm the hearing date on the court's docket and check Judge Fineman's department for any standing order shortening or extending that schedule.
Your AI with AristoFrom Aristo's record, with sources
The opposition is due "not less than 20 days preceding the noticed or continued date of hearing"1 (Code Civ. Proc., § 437c, subd. (b)(2)1). Judge Fineman's own department page requires all briefing to be completed at least three (3) weeks before the hearing date2, so her date comes first and is the one to file by. The memorandum may not exceed 20 pages3, and the opposition must include a separate statement responding to each fact the defense claims is undisputed (Cal. Rules of Court, rule 3.1350, subd. (f)4; Code Civ. Proc., § 437c, subd. (b)(3)1). Any written evidentiary objections must be served and filed with the opposition (Cal. Rules of Court, rule 3.1354, subd. (a)5).
- 1Code Civ. Proc., § 437c (California Legislature), read November 15, 2026
- 2Department 4 (Nancy L. Fineman), read November 12, 2026
- 3California Rules of Court: Rule 3.1113. Memorandum, read November 15, 2026
- 4California Rules of Court: Rule 3.1350. Motion for summary judgment or summary adjudication, read November 15, 2026
- 5California Rules of Court: Rule 3.1354. Written objections to evidence, read November 15, 2026
What Aristo gave your AI for the whole answer
- 4 of Dept. 4's own rules on summary judgment, word for word
- 6 California Rules of Court and 1 code section, word for word
From 12 official sources, read Nov 12 to Nov 15, 2026
Aristo gave your AI: 4 of Dept. 4's own rules on summary judgment, word for word · 6 California Rules of Court and 1 code section, word for word
From 12 official sources ·