Government Entity Attorney Fees for Unfounded Civil Claims Attorney Fee Petition Mechanics: Court CMS Summary Judgment Grant Date as Primary Welch Anchor, CCP § 1038 Mandatory Attorney Fees
California Code of Civil Procedure § 1038 provides that in any civil proceeding under the Code of Civil Procedure or the Government Code, upon motion of the defendant or cross-defendant, a court shall at the time of granting any summary judgment, motion for judgment of nonsuit, or directed verdict in favor of the defendant or cross-defendant — or at a later time specified by the court — determine whether or not the plaintiff or cross-complainant brought or maintained the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint or cross-complaint. Section 1038(b) then provides that if the court determines the proceeding was not brought in good faith and with reasonable cause, the court shall render judgment in favor of the defendant or cross-defendant for reasonable attorney fees and costs of the defense. This statute is structurally unique among all California attorney fee provisions: it is the only California fee-shifting provision in which the fee claimant is the DEFENDANT GOVERNMENT ENTITY — not the plaintiff — and the fee flows in the reverse direction from all other statutory fee awards in this series. The primary Welch anchor for the § 1038 attorney fee petition is the COURT CASE MANAGEMENT SYSTEM SUMMARY JUDGMENT GRANT DATE: Tyler Technologies Odyssey CourtFiling records the date the court granted the defendant government entity's motion for summary judgment, motion for judgment of nonsuit, or directed verdict on the court's institutional hearing calendar — the institutional timestamp from which the government entity's right to request the § 1038 reasonable-cause-and-good-faith determination arose, entirely outside the defendant government entity's scheduling control because the ruling date is determined by the court, not by the defendant. This page is THE ONLY PAGE in the fee-petition-mechanics series where the PRIMARY CLAIM IS AN ATTORNEY FEE PETITION BY A DEFENDANT GOVERNMENT ENTITY under CCP § 1038 after prevailing on summary judgment, nonsuit, or directed verdict; the PRIMARY DEFENDANT IS THE PLAINTIFF WHO BROUGHT THE ACTION WITHOUT REASONABLE CAUSE AND IN BAD FAITH — specifically, plaintiffs in government tort claims against California cities (Los Angeles, San Diego, San Francisco, San Jose, Sacramento), counties (Los Angeles County, Orange County, San Diego County, Riverside County, San Bernardino County), state agencies (California Department of Transportation/Caltrans, California Department of Motor Vehicles, California Highway Patrol, California Department of Corrections and Rehabilitation, California Public Utilities Commission), school districts, transit authorities (LA Metro, BART, AC Transit, San Francisco MUNI), and special districts (water districts, fire protection districts, hospital districts) who filed or maintained civil actions against those entities without a good faith basis in law or fact — and the PRIMARY WELCH ANCHOR IS IN THE COURT CASE MANAGEMENT SYSTEM SUMMARY JUDGMENT GRANT DATE recorded by Tyler Technologies Odyssey on the court's institutional calendar entirely outside the defendant government entity's scheduling control. CCP § 1038 is PURE KETCHUM — there is no federal analog to § 1038, no federal statute mandates attorney fees payable to a government entity defendant that wins on summary judgment based on plaintiff's lack of reasonable cause and good faith, and therefore no City of Burlington v. Dague (505 U.S. 557 (1992)) constraint applies; the full Ketchum v. Moses (24 Cal.4th 1122 (2001)) contingency multiplier is available when government entity outside defense counsel accepted the representation on a contingency or partial contingency basis. Hensley v. Eckerhart (461 U.S. 424 (1983)) and Missouri v. Jenkins (491 U.S. 274 (1989)) govern the lodestar calculation and fees-on-fees recovery. Three identifiable billing gaps — Government Claims Act compliance tracking and pre-litigation investigation; merits defense work from complaint filing through summary judgment; and § 1038 fee petition preparation — total approximately 16.68 untracked billable hours per year equal to $5,005–$8,342 annually at median California solo/boutique government entity defense practitioner rates of $300–$500 per hour.
TL;DR
CCP § 1038 mandates attorney fees for a defendant government entity when the court determines the plaintiff brought suit without reasonable cause and in bad faith — unique in this series because the government entity is the fee claimant, not the fee respondent. Primary Welch anchor: court CMS summary judgment grant date (Tyler Odyssey/eCourt eFile CA), from which the § 1038 fee determination obligation arises. Pure Ketchum — no federal analog, no Dague constraint. Three billing gaps total 16.68 hrs = $5,005–$8,342/yr.
Billing Gap 1 — Government Claims Act Compliance Tracking and Pre-Suit Investigation Records (5.39 hrs/yr = $1,617–$2,695)
The first billing gap for a § 1038 fee petition arises from tracking and documenting the government entity's Government Claims Act compliance records — the institutional record of the pre-suit claims administration process that establishes when the plaintiff's government tort claim was received, investigated, and rejected — and from the government entity defense attorney's pre-litigation investigation work that becomes the foundation for the § 1038 reasonable-cause-and-good-faith analysis. The specific work includes:
- Government Claims Act compliance record review: Before filing a civil action against a California government entity, the plaintiff must file a government tort claim with the entity under Government Code § 945.4. The government entity's claims administration office — typically using insurance claims management software (Origami Risk, Riskonnect, or the government entity's internal claims management database) — records the claim receipt date, the investigation activities, the rejection date, and the rejection notice date. These institutional records establish the chronology that precedes the civil action and are critical to the § 1038 analysis: if the plaintiff's government claim was facially inadequate, the government entity's rejection was proper, and the plaintiff filed suit despite knowing the claim lacked merit, those facts support the § 1038 finding that the action was brought without reasonable cause. Reviewing and documenting the claims administration records generates unscheduled research time.
- Pre-litigation investigation file review: The government entity's internal investigation file — compiled before the suit was filed — typically contains incident reports, witness statements, physical inspection records, and departmental analyses that establish the objective facts of the underlying incident (dangerous condition, use-of-force event, employment action). Reviewing the pre-litigation investigation file to confirm there was no objectively reasonable basis for the plaintiff's legal theory generates substantive review time in short desk sessions without external billing triggers.
- Contemporaneous billing record preservation: From the moment the plaintiff's complaint is filed and the government entity defendant begins building its defense, the defense attorney must maintain contemporaneous billing records of all defense work — because all of those records will be incorporated into the § 1038 fee petition lodestar. Contemporaneous record creation is the foundation of the Hensley v. Eckerhart (461 U.S. 424 (1983)) fee petition, and the government entity defense attorney's failure to maintain contemporaneous records from the complaint filing date forward will result in a reduced or denied fee petition.
The court's CMS summary judgment grant date is the Welch anchor from which the § 1038 fee petition traces backward — all defense attorney work from the complaint filing date through the summary judgment ruling is within the lodestar period for the § 1038 fee petition. Under Missouri v. Jenkins (491 U.S. 274 (1989)), time spent on the § 1038 fee petition itself is recoverable as fees-on-fees, extending the lodestar period forward through the fee hearing date.
Billing Gap 2 — Summary Judgment Briefing, Merits Defense Work, and § 1038 Good Faith Analysis (7.26 hrs/yr = $2,178–$3,630)
The second billing gap arises from the merits defense work — particularly the summary judgment briefing that resulted in the § 1038-triggering ruling — and from the § 1038 reasonable-cause-and-good-faith analysis that must be developed simultaneously with the summary judgment motion. When a government entity files a motion for summary judgment, the defense attorney must build not only the substantive merits argument but also a parallel § 1038 record establishing that the plaintiff's claims lacked reasonable cause and were not brought in good faith. The specific work includes:
- Parallel § 1038 record building during summary judgment briefing: The § 1038 reasonable-cause-and-good-faith determination requires the court to find both objective unreasonableness (no reasonable attorney could have believed the claim had merit under the facts and law) and subjective bad faith (the plaintiff brought or maintained the action without believing in its justifiability). The defense attorney building the summary judgment motion must simultaneously develop the record of when and how the plaintiff learned that the claim lacked merit but continued to maintain the action anyway — establishing the chronological evidence of bad faith maintenance of the action. This dual-track analysis generates additional briefing work beyond normal summary judgment practice.
- Government Claims Act exhaustion defenses: California government tort defendants frequently file summary judgment motions on the ground that the plaintiff failed to comply with the Government Claims Act presentation requirement (Gov. Code § 945.4) or failed to present the claim within the six-month filing deadline (Gov. Code § 911.2). If the plaintiff's government claim was also factually deficient — presenting claims not supported by the objective evidence in the government entity's investigation file — the summary judgment record on both the exhaustion defense and the merits defense contributes to the § 1038 unreasonableness showing.
- Expert coordination for § 1038 analysis in dangerous condition cases: In dangerous condition of public property cases (Gov. Code § 835), government entities frequently retain engineering or safety experts to establish that no dangerous condition existed. The defense expert's opinion that there was no dangerous condition is direct evidence that the plaintiff's claim lacked reasonable cause in law and fact — making the expert's report and deposition part of the § 1038 record. Coordinating expert review in short unscheduled sessions while simultaneously building the summary judgment briefing generates unbilled coordination time.
The Tyler Technologies Odyssey CMS records the summary judgment hearing date and the ruling date as institutional anchors — the ruling date is the primary Welch anchor for the § 1038 fee petition, fixed by the court's institutional calendar entirely outside the defendant government entity's scheduling control.
Billing Gap 3 — CCP § 1038 Fee Petition Preparation and Lodestar Documentation (4.03 hrs/yr = $1,210–$2,017)
The third billing gap arises from preparing the § 1038 fee petition — which must be filed at or shortly after the time the court grants summary judgment — and documenting the lodestar for the entire defense of the action from complaint filing through the fee hearing. Unlike most California attorney fee petitions (where the fee claimant is the plaintiff who prevailed on a substantive statutory claim), the § 1038 fee petition is filed by the defendant government entity after obtaining summary judgment. The specific work includes:
- Reasonable-cause-and-good-faith brief preparation: The § 1038 motion must establish both that the plaintiff lacked reasonable cause (the objective standard — no reasonable attorney could have believed the claim was tenable under the applicable facts and law) and that the plaintiff did not bring or maintain the action in good faith (the subjective standard — the plaintiff did not actually believe there was a justifiable controversy). Developing the briefing on both prongs — typically in a motion that accompanies or immediately follows the summary judgment ruling — requires assembling the timeline of the litigation, identifying the specific moments at which the plaintiff knew or should have known the claim lacked merit, and citing the Government Claims Act exhaustion record and the merits evidence together to establish the reasonable-cause failure.
- Complete lodestar compilation from complaint filing date: The § 1038 fee petition lodestar covers all defense attorney time from the filing of the plaintiff's complaint through the § 1038 hearing — potentially spanning years of litigation across discovery, motion practice, expert coordination, and summary judgment briefing. Compiling the complete lodestar from contemporaneous billing records maintained across the entire defense period is a substantial exercise in multi-session record assembly.
- PLCM Group market rate analysis for government entity defense counsel: The § 1038 fee petition must establish the prevailing market rate for government entity defense counsel in the relevant California legal community under PLCM Group Inc. v. Drexler (22 Cal.4th 1084 (2000)). For government entity defense work — which is often handled by in-house county counsel or city attorney offices at below-market rates — the prevailing market rate analysis must compare in-house rates against private defense counsel rates for comparable work. Courts have awarded § 1038 fees at private counsel market rates even when the defense was handled in-house, recognizing that the statute entitles the government entity to fee recovery at market rates.
Three Unique Distinctions in the Fee-Petition-Mechanics Series
This page covers the only California attorney fee provision with all three of the following simultaneously:
- THE ONLY page where the PRIMARY CLAIM IS AN ATTORNEY FEE PETITION BY A DEFENDANT GOVERNMENT ENTITY under CCP § 1038 — every other page in the fee-petition-mechanics series involves a fee award to a PREVAILING PLAINTIFF under a substantive fee-shifting statute. CCP § 1038 is structurally inverted: it awards fees TO the DEFENDANT GOVERNMENT ENTITY, FROM the plaintiff who brought the action without reasonable cause and in bad faith. This is distinct from CCP § 128.7 frivolous pleading sanctions (§ 128.7 can be filed by any party against any other party for frivolous pleadings — it is not limited to government entity defendants and is not triggered by summary judgment or nonsuit); distinct from CCP § 128.5 frivolous tactics sanctions (§ 128.5 applies to frivolous actions or tactics in bad faith, but is not limited to the summary-judgment-or-nonsuit trigger of § 1038 and does not require the court to make a contemporaneous reasonable-cause-and-good-faith determination at the time of the dispositive ruling); distinct from CCP § 1021.5 private attorney general fees (§ 1021.5 flows TO the plaintiff who vindicated an important public right — the exact opposite direction of a § 1038 award flowing TO the defendant government entity); distinct from Gov. Code § 800 arbitrary government agency action fees (§ 800 flows TO the plaintiff who prevails against an arbitrary government agency action — again the opposite direction).
- THE ONLY page where the PRIMARY DEFENDANT IS THE PLAINTIFF WHO BROUGHT A CIVIL ACTION AGAINST A GOVERNMENT ENTITY WITHOUT REASONABLE CAUSE AND IN BAD FAITH — specifically, plaintiffs in California government tort proceedings who filed and maintained civil actions against California cities (Los Angeles, San Diego, San Francisco, San Jose, Oakland, Sacramento, Fresno, Long Beach, Anaheim, Riverside), counties (Los Angeles County, Orange County, San Diego County, Riverside County, San Bernardino County, Sacramento County, Contra Costa County, Fresno County), California state agencies (Caltrans, DMV, CHP, CDCR, CPUC, California Department of Education, California Department of Public Health), school districts (Los Angeles Unified, San Diego Unified, San Francisco Unified, Fresno Unified), transit authorities (Los Angeles Metro, BART, San Francisco MUNI, Sacramento Regional Transit, San Diego MTS), and special districts (water districts, fire protection districts, hospital districts) without a reasonable legal or factual basis for doing so — and the court determined at the time of granting summary judgment, nonsuit, or directed verdict in the government entity's favor that the plaintiff's lack of reasonable cause and good faith warranted mandatory attorney fee recovery under § 1038(b).
- THE ONLY page where the PRIMARY WELCH ANCHOR IS IN THE COURT CASE MANAGEMENT SYSTEM SUMMARY JUDGMENT GRANT DATE — Tyler Technologies Odyssey CourtFiling records the exact date the court granted the defendant government entity's motion for summary judgment (or judgment of nonsuit or directed verdict) on the court's institutional hearing calendar — the institutional timestamp from which § 1038(a) obligates the court to make the reasonable-cause-and-good-faith determination, entirely outside the defendant government entity's scheduling control because the ruling date is determined by the court's own institutional calendar. The Odyssey CMS records the motion filing date, the hearing date assignment by the clerk, the tentative ruling publication date, and the hearing date — all on the court's institutional calendar outside attorney control. The Government Claims Act claims administration rejection date (recorded in the government entity's claims management platform — Origami Risk, Riskonnect, or internal claims database) serves as a secondary institutional anchor establishing the pre-litigation timeline from which the § 1038 good faith analysis traces.
DISTINCT FROM CCP § 128.7 frivolous pleading sanctions (§ 128.7 applies to frivolous pleadings filed by any party, not specifically to government entity defendants; § 128.7 requires a 21-day safe harbor period; § 128.7 does not require a summary judgment or nonsuit ruling as a trigger). DISTINCT FROM CCP § 1021.5 private attorney general fees (§ 1021.5 flows TO the plaintiff who vindicates a public right — directly opposite direction to § 1038 which flows TO the defendant government entity). DISTINCT FROM Gov. Code § 800 arbitrary government action fees (§ 800 flows TO the plaintiff who prevails against an arbitrary government agency action — opposite direction; § 800 applies in administrative mandate proceedings, not in government tort claims litigation).
Total Annual Billing Gap — Three-Gap Summary
- Gap 1 (Government Claims Act compliance tracking & pre-suit investigation review): 5.39 hrs = $1,617–$2,695/yr
- Gap 2 (summary judgment briefing, merits defense & § 1038 good faith analysis): 7.26 hrs = $2,178–$3,630/yr
- Gap 3 (§ 1038 fee petition preparation & lodestar documentation): 4.03 hrs = $1,210–$2,017/yr
- Total: 16.68 hrs = $5,005–$8,342/yr untracked at $300–$500/hr median California solo practitioner rate
ClaimHour's automatic time capture logs each interaction with external institutional calendars — when the Odyssey CMS was accessed to check the summary judgment hearing date, when the Government Claims Act rejection letter was reviewed, when the government entity's claims management platform (Origami Risk, Riskonnect) was accessed to retrieve investigation file records — creating the contemporaneous time records required for a successful § 1038 lodestar under Hensley v. Eckerhart (461 U.S. 424 (1983)) and Missouri v. Jenkins (491 U.S. 274 (1989)).
How ClaimHour fits California government entity defense practice
ClaimHour captures billable moments automatically — call metadata, email activity, document edit time — without requiring a practice management system. For solo California government entity defense attorneys handling § 1038 fee petitions, that means the Government Claims Act compliance review sessions, the pre-litigation investigation file analysis, the parallel § 1038 record building during summary judgment briefing, and the fee petition lodestar compilation are all captured in the background. When you build the § 1038 lodestar from the court's Odyssey CMS summary judgment grant date Welch anchor, ClaimHour's automatically-logged entries close the gap between what you billed and what you actually did.
Get early access