State guide Reviewed November 2026

Do You Need a Permit to Build a Deck in California?

Under the state code, most decks need one. The 2025 California Residential Code exempts a deck only if it is 200 square feet or less, no more than 30 inches above grade at any point, not attached to the house and not serving the required exit door. Cities and counties can amend that list, and Los Angeles and San Francisco have.

Statewide rule 2025 CRC R105.2; cities may amend it The state-adopted code exempts a deck only when all four conditions hold.
Who issues it City or county building department Health and Safety Code 17960 makes each city or county building department enforce the state code.
Outside city limits Your county building department In unincorporated areas the county enforces the state code, with any county amendments and its own fees.
Height that triggers it Over 30 in, or attached, by state code Also over 200 sq ft or serving the exit door. Los Angeles and San Francisco exempt platforms to 30 in not over a basement or story below.
How California sets building rules. California has a mandatory statewide residential code, the 2025 California Residential Code (Title 24, Part 2.5), in effect since January 1, 2026, and its adoption table marks the building permit exemptions in Section R105.2 as adopted by the state, including by the state housing department for dwellings and their accessory buildings. Cities and counties enforce it and may amend it for local climatic, geological or topographical conditions (Health and Safety Code 17958.5 and 17958.7), but from October 1, 2025 to June 1, 2031 they may not make residential changes unless a listed exception applies.

What does California state code say about decks?

The 2025 California Residential Code (Title 24, Part 2.5), in effect since January 1, 2026, exempts a deck from a building permit only when all four conditions hold: it does not exceed 200 square feet, it is not more than 30 inches above grade at any point, it is not attached to a dwelling or townhouse, and it does not serve the exit door required by Section R318.4.

Fail any one and the state code expects a permit. A ledger-bolted deck fails at any size, and so does a low platform outside the back door if that door is the required exit.

This item is part of Section R105.2. The code's own Matrix Adoption Table, a nonregulatory aid, marks the R105.2 building items as adopted by the state agencies, including the housing department's HCD 1 column for dwellings and their accessory buildings.

Can my city or county use a different deck rule?

Yes. The CRC (Section 1.8.6.1) says a city or county may change the provisions the state housing department adopted, and Health and Safety Code 17958.5 allows changes reasonably necessary because of local climatic, geological or topographical conditions, effective once filed with the Building Standards Commission under Section 17958.7.

There is a time limit on new changes. From October 1, 2025 to June 1, 2031, a city or county shall not make a change or modification applicable to residential units unless one of the listed conditions is met: the change is substantially equivalent to one the city or county previously filed that was in effect on September 30, 2025; the Building Standards Commission deems it necessary as an emergency standard; it relates to home hardening; it implements a general-plan amendment approved on or before June 10, 2025 on all-electric construction; or it is an administrative-practice change that exclusively shortens permit times, alters a fee schedule, modernizes permitting software, cuts operating costs or changes code enforcement programs. The commission must reject other residential changes. The statute does not say whether this reaches a local permit exemption list.

On this site, San Diego, San Jose, Sacramento and Long Beach use the four-condition test, though San Diego and Sacramento withhold the exemption on historic or design-review sites and Long Beach's own page shortens it to decks up to 30 in. Los Angeles and San Francisco exempt a platform not more than 30 inches above grade and not over a basement or story below; Los Angeles says attached or not, and separately exempts work valued at $2,500 or less.

Who issues deck permits, and what about unincorporated areas?

Health and Safety Code 17960 requires the building department of every city or county to enforce the state building code within its jurisdiction. Inside a city, apply to the city; outside city limits, apply to the county building department. Fees are set locally; the city table on this page shows examples.

Even an exempt deck must meet the code and local law: R105.2 says an exemption does not authorize work that violates either. Setbacks, lot coverage, flood zones and wildfire-area rules are generally local. If your homeowners association's governing documents require approval, Civil Code 4765 requires a written, good-faith decision on your proposed change.

Can I build my own deck?

Yes, as an owner-builder. Business and Professions Code 7044 exempts an owner building or improving a structure on their own property from contractor licensing when the improvements are not intended or offered for sale and the owner personally does all the work or uses employees paid wages only. Your permit application includes a signed statement that you are licensed or the basis for your exemption, which every city or county must require under Section 7031.5.

A hired builder generally needs a license: the exemption in Section 7048 for one job under $1,000 covers only casual, minor work that needs no building permit, and not someone who advertises as a contractor or employs others.

Deck Permit rules in the 6 California cities we have researched

Each row is read off our page for that city, which quotes the city’s own code section and fee schedule. Follow the city link for the conditions on each rule, the worked fee examples and the sources.

CityLow deckWhere the permit line sitsCity fee for a typical deck
Long BeachExempt if small and low ⚠Exempt only when all four tests hold: no more than 200 sq ft, no more than 30 in above grade at any point, not attached to the dwelling, not serving the exit door; the Bureau's page shortens it to decks up to 30 in, but a ground-level deck bolted to the house or stepped onto from the kitchen door still needs a permit. Over 30 in: permit, guardrail and over-the-counter plan review.About $887 for a 200 sq ft raised deck (valued at $47.70 per sq ft: $277 permit + 85% plan check + $223 zoning plan check + $115 processing and small fees); about $1,271 for 400 sq ft; $0 exempt.
Los AngelesExempt below a heightNo permit for a platform or deck not more than 30 in above grade and not over a basement or story below, attached or not; work valued at $2,500 or less is separately exempt. Above 30 in, a building permit with plan check at any size.About $680 permit plus plan check for a $15,000 deck ($944 at $25,000, $1,201 at $40,000); $0 for an exempt platform.
SacramentoExempt if small and lowExempt only when all four tests hold: no more than 200 sq ft, no more than 30 in above grade at any point, not attached to the house, not serving the required exit door; never in a design review or preservation district. Any structure attached to the main dwelling needs a permit regardless of size (CDD-0417).About $477 for an $8,000 owner-built detached deck (permit $291 + plan review $122 + surcharges); about $661 for a $15,000 contractor-built attached deck, about $1,056 with the $132 design-review form and $263 Planning review.
San DiegoExempt if small and lowExempt only when all four tests hold: 200 sq ft or less, no more than 30 in above grade at any point, not attached to the dwelling, not serving the exit door; not available on a historical resource or environmentally sensitive lands. An attached deck needs a permit at any size and height.About $2,691 for a deck up to 500 sq ft ($1,677.99 plan check + $264.25 inspection + $737 General Plan fee + $12.16 mapping); about $3,840 above 500 sq ft; $1,148 plan check on a City pre-approved plan.
San FranciscoExempt below a heightNo permit for a platform not more than 30 in above grade and not over a basement or story below. From 30 to 36 in, a DBI over-the-counter permit with no Planning review; over 3 ft, Planning review too, over the counter when the deck is under 10 ft on posts, within the buildable area and 3 ft off the lines; otherwise a 30-day Section 311 neighborhood notice.About $800 at DBI for a 150 sq ft deck valued at $53 per sq ft (plan review $480 + issuance $317); about $1,093 for 300 sq ft; Planning's fee ($504 under $10,000, $516 + 5.274% above) brings a $16,000 deck to about $1,925.
San JoseExempt if small and lowExempt only when all four tests hold: not exceeding 200 sq ft, not more than 30 in above grade at any point, not attached to a dwelling, not serving the required exit door. A ledger-mounted deck fails at any size; a platform at the back door fails the exit-door test.About $585 for a small deck reviewed over the counter ($211 processing + Tier 1 inspection $210 + 30-minute plan check $162.50); about $1,220 for a raised deck plan-checked in Tier 3.

A ⚠ marks a city whose own documents give two different answers. To compare more cities, see deck permit thresholds in 30 cities and deck permit fees in 30 cities.

Not in one of these cities?

The rule that binds you is the one your own city has adopted, or your county’s if you live outside city limits. Ask the building department for its list of work exempt from permit and its zoning rules for accessory structures before you buy materials; the phone call is free and the answer is specific to your lot.

Frequently asked questions

Under the state code, only if it fails a condition: a deck is exempt when it is 200 square feet or less, no more than 30 inches above grade at any point, not attached to the house and not serving the required exit door. Your city or county may have amended that list.
Under the state code, yes: a deck attached to a dwelling or townhouse is not exempt at any size or height. Los Angeles exempts platforms up to 30 inches even when attached; San Francisco's page states the same 30 inch test without addressing attachment, so ask. Check your local code.
Your county building department. Health and Safety Code 17960 makes every city or county building department enforce the state building code within its own jurisdiction, so unincorporated areas are handled by the county, applying the state code with any county amendments, plan review and fees.
Yes. Business and Professions Code 7044 exempts an owner who builds on their own property when the work is not intended or offered for sale and is done by the owner or wage employees. The permit application asks you to sign a statement giving the basis for the exemption.
No. The 2025 California Residential Code sets the four-condition exemption statewide, but state law lets cities and counties amend the code for local conditions. Los Angeles and San Francisco use a 30 inch platform test instead, and several cities withhold the exemption on historic or design-review sites.

Sources

Every statement about state law on this page is taken from the documents below, read on the date shown at the top. Laws and adopted code editions change; the linked text is the authority, and your city or county building department has the final word on your project.

  • California Building Standards Commission, Codes page (2025 Triennial Edition of Title 24) — dgs.ca.gov
  • 2025 California Residential Code Section 1.1.1 (up.codes mirror); 2025 California Residential Code R105.2 Building item 10 (up.codes mirror); 2025 California Residential Code, Chapter 1 Division II adoption note (up.codes mirror); 2025 California Residential Code, Chapter 1 Matrix Adoption Table (nonregulatory; up.codes mirror, table rendered with column labels in src_crc_2025_matrix_ch1.txt); 2025 California Residential Code Section 1.8.2.1.1 (up.codes mirror); 2025 California Residential Code, Section 1.8.6.1 (up.codes mirror); 2025 California Residential Code R105.2 (up.codes mirror) — up.codes
  • Health and Safety Code 18938(b) — leginfo.legislature.ca.gov
  • Health and Safety Code 17958.5(a); Health and Safety Code 17958.5(c); Health and Safety Code 17958.5(c)(1); Health and Safety Code 17958.5(c)(2); Health and Safety Code 17958.5(c)(3); Health and Safety Code 17958.5(c)(5); Health and Safety Code 17958.5(c)(6) — leginfo.legislature.ca.gov
  • Health and Safety Code 17958.7(a); Health and Safety Code 17958.7(c) — leginfo.legislature.ca.gov
  • Health and Safety Code 17960 — leginfo.legislature.ca.gov
  • Civil Code 4765(a); Civil Code 4765(a)(2); Civil Code 4765(a)(4) — leginfo.legislature.ca.gov
  • Business and Professions Code 7044(a)(1); Business and Professions Code 7044(a)(1)(A); Business and Professions Code 7044(a)(1)(B) — leginfo.legislature.ca.gov
  • Business and Professions Code 7031.5 — leginfo.legislature.ca.gov
  • Business and Professions Code 7048(a); Business and Professions Code 7048(a), as amended by Stats. 2025, Ch. 67 (AB 1170); Business and Professions Code 7048(c)(2); Business and Professions Code 7048(c)(1) — leginfo.legislature.ca.gov

Related: California shed permit · California fence permit · California pool permit · Deck permit guide · All state guides

Stay up to date
Get notified when we add new cities or update permit fees.