ADU Guides

How to legalize an unpermitted ADU in California

If you have a garage conversion, backyard unit, or converted room that's been used as living space for years without ever being permitted, California law now gives you a real path to fix that — without necessarily rebuilding it to today's full code.

United Build Partners Updated 2026 7 min read

Why an unpermitted ADU is a real problem, even if it's never caused an issue

An unpermitted structure being used as living space carries real risk even if nothing has gone wrong yet: it's generally not credited as legal square footage by appraisers, it can complicate or delay a future sale, your homeowners insurance may not cover it the way you assume, and if a neighbor complaint or unrelated permit application brings it to your city's attention, you could face a much more disruptive enforcement process than if you'd addressed it proactively.

The law that makes legalization realistic: Health & Safety Code 17980.12

California Health and Safety Code Section 17980.12 gives local agencies a specific legalization pathway for ADUs and Junior ADUs that were built before January 1, 2020 without permits. Under this law, in effect through January 1, 2030, a jurisdiction generally cannot deny a legalization request solely because the unit lacks permits, was built to whatever code was in effect at the time of construction rather than current code, or doesn't fully comply with current ADU standards. Cities can also grant a delay of up to five years before requiring full compliance, rather than demanding it all at once.

In plain terms: if your unpermitted ADU predates 2020, the law is generally built to help you legalize it using a more lenient standard than "meet every current code requirement immediately" — not to punish you for not having permitted it years ago.

What this doesn't mean

This isn't a blanket amnesty that ignores health and safety. Units still need to meet basic health and safety standards under Health and Safety Code Section 17920.3 — things like adequate egress, smoke detectors, and structural soundness. The relief is mainly about not requiring full current-code compliance immediately, not about skipping safety basics entirely.

What the legalization process generally looks like

01
Confirm when the unit was built
The pre-2020 cutoff matters — if you don't have a clear construction date, permit records, old listing photos, or utility connection dates can help establish it.
02
Request an inspection or pre-application consultation
Many cities offer a specific legalization or amnesty program (see our Costa Mesa city guide for one real example) — check whether yours does, since the process and any fee reductions can vary.
03
Address health and safety items identified
A contractor can help scope what actually needs to change to meet basic safety standards, separate from full current-code compliance.
04
Receive your legal permit and updated record
Once approved, your ADU becomes legally recognized square footage — relevant for insurance, resale, and any future refinancing.

What it typically costs compared to new construction

Legalization costs vary widely depending on how much work is needed to meet basic safety standards — sometimes it's a modest inspection and minor corrections, sometimes it requires more substantial work if the original construction cut real corners. It's generally less expensive than building an equivalent unit from scratch, since you're not paying for new foundation, framing, or a full new structure — but a contractor needs to actually assess your specific unit to give you a real number. See our ADU cost guide for what new construction runs, for comparison.

Where to read the actual law

  • California Health and Safety Code Section 17980.12 (legalization/amnesty framework)
  • California Health and Safety Code Section 17920.3 (basic health and safety standards for existing dwellings)
  • Your city's planning or building department, for whether a dedicated local legalization program exists

This page describes the general statewide framework, not legal advice about your specific structure. Local programs and processes vary by city, and some cities are further along in implementing this than others.

Frequently asked questions

It's specifically aimed at ADUs and JADUs built before January 1, 2020, and is in effect through January 1, 2030. Units built after that date generally need to go through the standard permitting process rather than this legalization framework.

Generally no — the law is built around allowing the unit to be evaluated against the code in effect when it was built, plus basic health and safety standards, rather than requiring full compliance with every current code provision immediately.

State law gives cities the framework and authority to grant legalization and delay enforcement, but implementation and any dedicated local program varies. Some cities have a named program; others process legalization requests through their standard planning department.

Have an unpermitted structure you'd like to address?

Get a free, no-obligation property review as your first step.

Get My Free Review →