HyreADU

Quick answer

A zoning code is a city or county law that sets what may be built on each piece of land, and how big, how tall and how far from the lot lines it may be.

It is often called the zoning ordinance or development code. It has a map of districts and a written rule book. For an ADU, you read the chapter for your district and the ADU section.

Quick facts

Also called
Zoning ordinance, development code, land use code
Adopted by
The city council or county board of supervisors
What it can regulate in California
Use, building size and height, lot use, coverage, parking, setbacks 1
Must match
The city or county general plan, in California 2
ADU limits in California
State law caps what the code may require for an ADU 4

Key takeaways

  • The zoning code is the local rule book for land use.
  • It has two halves: a map of districts and the written rules for each one.
  • You rarely read it front to back. You read the definitions, your district chapter and the ADU section.
  • In California, state ADU law sets the maximum standards a code may use for an ADU 4.
  • Codes change often. Always check the date of the version you are reading.

What a zoning code means, in plain English

A zoning code is a set of local laws about land. It says what kind of building can go where.

It works with a map. The map shows each zoning district. The text tells you the rules for each district.

It is not the building code. The building code covers how a structure is built safely. The zoning code covers where it goes and how big it is.

Why the zoning code matters to you

Every ADU starts with a zoning check. If the code does not allow your plan, the building plans do not matter yet.

The code sets the local numbers for setbacks, height, coverage and parking. Your designer draws to those numbers.

In California, some of those numbers give way to state law for ADUs. You need to know both to avoid designing too small or too big.

The parts of a typical zoning code

Chapter names and order vary by city.
PartWhat it holdsWhy it matters for an ADU
DefinitionsWhat words like “story” or “lot coverage” meanChanges how you measure everything
District chaptersUses and standards for each zoneYour starting numbers
Use tablesWhich uses are allowed, need a permit, or are bannedShows whether a second unit is listed
ADU sectionThe local ADU ordinanceThe rules written just for ADUs
Parking chapterSpace counts and designOften overridden for ADUs in California
Nonconforming usesRules for older buildings that no longer fitMatters for garage conversions
ProceduresHow permits, variances and appeals workTells you who decides and how

How to read a zoning code for an ADU

  1. Find your district on the zoning map.
  2. Open the code online. Most cities publish it on their website or a code-hosting site.
  3. Read the definitions for height, story, lot coverage and floor area.
  4. Open your district chapter and copy the standards table.
  5. Open the ADU section, often titled “Accessory Dwelling Units.”
  6. Note where the ADU section says it overrides the district rules.
  7. In California, compare each local number with state ADU law.
  8. Write down the code date or ordinance number you used.

Worked example: two rules that disagree

A hypothetical code, for illustration only. The district chapter asks for a rear setback for all buildings. The owner is in California and plans a new detached ADU.

SourceWhat it saysWhich wins for the ADU
District chapter (hypothetical)A rear setback larger than 4 feet for buildingsApplies to the house
Local ADU section (hypothetical)Points to state law for ADU setbacksApplies to the ADU
California Gov. Code §66314A city may require no more than 4 feet side and rear for a new ADU 3Caps the ADU setback
ResultHouse follows the district ruleADU can sit as close as 4 feet
Layers Which rule wins for a California ADU, top to bottom
  1. State ADU lawGov. Code Chapter 13 sets the maximum standards a city may apply to an ADU 4
  2. Local ADU sectionThe city’s ADU ordinance; it may be looser than state law, not stricter
  3. District chapterSetbacks, height and coverage for your zone; applies to the ADU where the ADU section is silent
  4. DefinitionsHow height, story and floor area are measured; they apply at every level above

California order of precedence for ADUs only. In other states, the local ADU section and district chapter usually decide; check your state law. Source: [4]

Reading only the district chapter would have pushed the ADU too far forward. The ADU section and state law gave more room. The guide to setback distances shows how that distance is measured. The diagram shows the order to read the rules in when they seem to clash.

Kinds of zoning code you may meet

General planning categories. Many cities mix them.
StyleHow it worksWhat you read for an ADU
Use-based (often called Euclidean)Separates land into districts by use, such as homes or shopsThe district chapter and use table
Form-basedFocuses on building shape and how it meets the streetBuilding type and frontage rules
Performance-basedSets limits on effects, such as noise or trafficThe standards that apply to homes
HybridMixes the styles aboveBoth the district and any form rules

Second example: an old garage that no longer fits the code

A hypothetical lot, for illustration only. An old detached garage sits closer to the side line than today’s district rule allows. The code calls it a nonconforming structure. The owner in California wants to turn it into an ADU.

QuestionWhere the answer livesWhat the owner learns
Can the garage stay where it is?Nonconforming structures chapterOlder buildings that met old rules can usually stay
Can it become an ADU?Local ADU section and state lawCalifornia lets an existing structure be converted with no setback required 3
Can it get bigger?ADU section and state lawNew parts must meet the state setback caps
What does plan check need?Procedures chapterDrawings showing the existing walls and lines

Three chapters answered one plan. That is normal. A zoning code is a set of linked rules, not one page.

How a zoning code gets changed

A city changes its zoning code by passing an ordinance. Staff draft it. A planning commission often reviews it. The city council or county board adopts it.

Hearings are usually part of the process, so neighbors can speak. Once adopted, the change takes effect on a set date. The steps below show where you can follow or comment on a change.

In California, cities have had to update ADU sections many times as state law changed. Our ordinance change log tracks that pattern. A code that has not been updated may still print rules that state law no longer allows for ADUs.

Process How a zoning code change usually moves through city hall
  1. Staff draftPlanning staff write the ordinance, often after a state law change
  2. Public noticeThe hearing date is published so residents can follow it
  3. Planning commissionIn many cities it holds a hearing and makes a recommendation
  4. Council or board voteThe city council or county board adopts the ordinance
  5. Effective dateThe new rule applies from a set date; note it beside any code section you rely on

A common pattern. The exact steps and notice periods are set by state and local law.

An old code page can be wrong

In California, state ADU law sets the maximum standards a city may apply 4. If a city’s posted ADU section has not caught up with a state change, ask the planning counter which rule they apply today, and get the answer in writing.

Where you will see the zoning code

  • The city website, often under planning or municipal code.
  • Your plan set, where the designer cites code sections.
  • Plan check comments, which quote the section you missed.
  • A denial or correction letter, which must name the rule in many states.
  • A lender or appraiser report, which may note legal use.

California’s rules on zoning codes and ADUs

California lets each city and county adopt a zoning code. Section 65850 lists what it may regulate. That list includes use of land, the size and height of buildings, lot use, coverage, parking and setback lines 1.

The code must be consistent with the city or county general plan 2. The general plan is the long-range vision. Zoning is the detailed rule set that carries it out.

For ADUs, state law sets limits. A local ADU ordinance may use objective standards such as parking, height and setback. It may not set a minimum lot size 3.

Section 66315 says Section 66314 sets the maximum standards for an ADU on a lot with a single-family home, and no other standards may be added 4.

So a California zoning code can be stricter for houses than for ADUs. When the two clash for an ADU, state law controls. The California ADU law page covers the full set.

Sources: [1] [2] [3] [4]

Zoning codes in other states

Every state lets cities zone, under its own enabling law. Many still follow the 1920s model act described by the American Planning Association 5.

States differ on how far they let cities limit ADUs. Some have state ADU laws. Many do not. See ADU laws by state, then read your local code.

Costs and what drives them

Reading the code is free. Getting it wrong is not.

A design drawn to the wrong section can need a redraw. A plan check correction adds time. A variance, if you need one, adds a fee and a hearing in many places.

Hiring a designer who knows your code can save rounds of review. See the ADU cost hub for soft-cost drivers.

Benefits and limits of zoning codes

What it does well

  • Written rules you can read before you spend money.
  • Same rules for every lot in a district.
  • Protects light, air and neighborhood form.

Where it falls short

  • Long and full of cross-references.
  • Updated often, so old copies mislead.
  • May lag behind state ADU law in what it prints.

Zoning code compared with related rule books

Rule bookWho writes itWhat it controls
Zoning codeCity or countyWhere and how big
Local ADU ordinanceCity or county, often inside the zoning codeADU-specific rules
Residential building codeState, adopted locallyHow it is built safely
General planCity or countyLong-range land use goals
HOA rules (CC&Rs)A private associationPrivate limits recorded on title

Common misreadings

Myth The zoning code and building code are the same thing.
Reality Zoning is about place and size. Building code is about safe construction. You need both.
Myth If the printed code says no, the answer is no.
Reality In California, state ADU law can override a local rule that the code still prints.
Myth The code online is always current.
Reality Online codes can lag behind new ordinances. Ask the city if a recent change is pending.

What to ask the city about the code

  • Which code chapter covers ADUs?
  • Is the online code current, or is an update pending?
  • Which definitions matter most for my ADU?
  • Where does your ADU ordinance defer to state law?
  • Do you have a handout or checklist for ADUs?

Checklist for your project

  1. Confirm your district.
  2. Save a copy of the district chapter and ADU section with the date.
  3. List every standard: setbacks, height, coverage, floor area, parking.
  4. Mark each one that state ADU law caps.
  5. Draw the lot in the size envelope calculator.
  6. Share your notes with your designer before drawings start.

Related guides and research

Questions about zoning code

What is a zoning code?

A zoning code is a local law that controls land use. It sets what may be built in each district and how big, how tall and how far from lot lines. Cities and counties adopt their own.

Is a zoning code the same as a zoning ordinance?

Mostly, yes. Many places use the terms interchangeably. Some call the whole set of rules a development code. In each case it is the local law on land use.

Where can I find my city’s zoning code?

Most cities post their municipal code online. Look on the city website under planning or municipal code. You can also ask the planning counter for the ADU section.

What is the difference between zoning code and building code?

The zoning code controls where a building goes and how big it is. The building code controls how it is built so it is safe. An ADU must meet both.

Can a city zoning code ban ADUs in California?

Not in residential zones. State law requires local ordinances to allow ADUs in areas zoned for single-family or multifamily homes, and limits the standards a city may apply.

What happens if the zoning code conflicts with state ADU law?

In California, state law controls for ADUs. A local rule that goes beyond the state maximum standards cannot be applied to an ADU on a lot with a single-family home.

How often do zoning codes change?

It varies. Many California cities have updated their ADU sections several times as state law changed. Always check the date of the version you read and ask about pending updates.

What sections of the zoning code matter for an ADU?

The definitions, your district chapter, the ADU section, the parking chapter and the nonconforming-use rules. Those cover most limits on size and placement.

Who enforces the zoning code?

The city or county planning department applies it at permit time. Code enforcement staff handle violations. Appeals go to a hearing body set by the local code.

Do I need a lawyer to read a zoning code?

Usually not for an ADU. Most owners can read the district table and ADU section. For a dispute or an unusual lot, a land-use attorney can help. This page is not legal advice.

Sources

  1. California Legislature, Government Code §65850, zoning powers, retrieved .
  2. California Legislature, Government Code §65860, consistency with the general plan, retrieved .
  3. California Legislature, Government Code §66314, ADU ordinance requirements, retrieved .
  4. California Legislature, Government Code §66315, maximum ADU standards, retrieved .
  5. American Planning Association, Standard State Zoning Enabling Act and Standard City Planning Enabling Act, retrieved .

Expert review

Written by the HyreADU Research team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.

How the numbers were checked: California Government Code §§65850, 65860, 66314 and 66315 were read on leginfo.legislature.ca.gov on 8 October 2026. The national history comes from the American Planning Association page on the Standard Acts. The worked example uses a hypothetical local code; only the state rule is quoted.

Suggest a correction. We fix errors and say what changed.