In Short
The Situation: Under current California law, a contractor who is not "duly licensed" at any point during performance of a contract (i) may not bring an action to recover on the contract and (ii) may be subject to disgorgement of all amounts paid. No other state has a disgorgement penalty this harsh, which California courts have called "draconian."
The Development: California Senate Bill 342 ("SB 342"), signed on September 30, 2026, replaces this all-or-nothing approach with consequences tied to the period of non-licensure. On covered public works, and on covered commercial, institutional, and certain common interest and multifamily projects, contractors licensed at contract execution may recover for work performed while licensed and must disgorge only compensation for work performed while unlicensed.