State guide Reviewed November 2026

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

Often not for a small shed. The 2025 California Residential Code exempts one-story detached accessory structures up to 120 square feet. Cities and counties may amend that list, and some have: Los Angeles has no shed-size exemption, and San Francisco's code and its own FAQ give different limits. Check with your local building department.

Statewide rule 2025 CRC R105.2; cities may amend it The state-adopted code exempts one-story detached accessory structures up to 120 sq ft, other than storm shelters.
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 building department enforces the state code, with any county amendments.
Size that triggers it Over 120 sq ft under the state code San Diego, San Jose, Sacramento and Long Beach use 120 sq ft; Los Angeles uses a $2,500 valuation test; San Francisco is in conflict.
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 sheds?

California has one mandatory building code for the whole state, the California Building Standards Code (Title 24). The 2025 edition took effect on January 1, 2026, and its Part 2.5, the California Residential Code (CRC), covers houses and their accessory buildings. State law says these standards apply to all occupancies throughout the state (Health and Safety Code 18938).

CRC Section R105.2 lists work exempt from permit. Its first building item covers one-story detached accessory structures whose floor area does not exceed 120 square feet, other than storm shelters. Most of Chapter 1, Division II, where R105.2 sits, is not adopted by the state, but the code's own Matrix Adoption Table, a nonregulatory aid, marks R105.2 building items 1 to 10 as adopted by the state agencies, including the housing department's HCD 1 column, which covers dwellings and their accessory buildings.

Can my city or county change the shed rule?

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

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.

Among the cities on this site, Los Angeles has no shed-size exemption and exempts only work valued at $2,500 or less that does not affect structural stability or public safety, is not under a Department order and does not change the use. San Francisco's code text sets 100 sq ft of roof area and 8 ft, while its DBI FAQ says 120 sq ft and 10 ft. San Diego, San Jose, Sacramento and Long Beach use 120 sq ft with their own conditions.

Who issues the permit, and what about unincorporated areas?

You apply to your local building department. Health and Safety Code 17960 requires the building department of every city or county to enforce the State Building Standards Code within its jurisdiction, and the CRC names the local building department or the state housing department as the enforcing agency for dwellings.

If you live outside any city's limits, your county building department enforces the code, including any amendments the county has made. Fees are set locally; the city table on this page shows examples.

What still applies if my shed is exempt?

An exemption from a building permit is not permission to ignore the rules. R105.2 itself says an exemption does not authorize work that violates the code or any other local law. The CRC adds that an exempt accessory structure may still be regulated by Part 7, the California Wildland-Urban Interface Code.

Setbacks, height limits, lot coverage, flood zones and historic districts are generally set locally by zoning. San Jose notes that plumbing, electrical and mechanical work on an exempt shed still needs its own permits. If your homeowners association's governing documents require approval for a change, Civil Code 4765 requires the association to decide in good faith and in writing; that approval is a separate step.

Can I pull the permit myself?

Usually, yes. Business and Professions Code 7044 exempts an owner who builds or improves a structure on their own property from contractor licensing when none of the improvements are intended or offered for sale and the owner personally does all the work, or uses employees paid wages as their sole compensation. Every city or county must make you sign a statement that you are licensed or the basis for your exemption (Section 7031.5).

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

Shed 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.

CityExemption?Permit-free up toFee for a permitted shed
Long BeachSize exemption120 sq ftabout $931 for a 150 sq ft shed; $1,212 for 250 sq ft (valuation $71.07/sq ft + 85% plan check + zoning plan check + $115)
Los AngelesValue rule$2,500 of work (no size rule)about $366 for a $5,000 shed; $683 at $15,000
SacramentoSize exemption ⚠120 sq ft (exempt list says 'not greater than 120'; handout CDD-0417 says 'less than 120')about $508 for a 140 sq ft owner-built shed; $679 for 240 sq ft, plus $132 design-review exemption and a $263 minimum Planning review
San DiegoSize exemption120 sq ft of roof areaabout $2,427 to $2,604 ($1,501.42 plan check + hourly inspection + $737 General Plan fee)
San FranciscoSize exemption ⚠100 sq ft of roof area and 8 ft (code text); 120 sq ft of floor and 10 ft (DBI FAQ)about $908 at DBI for a 150 sq ft shed, about $1,460 with Planning's fee
San JoseSize exemption120 sq ftabout $585 to $740 ($211 processing + tiered inspection fee + plan check)

A ⚠ marks a city whose own documents give two different answers. To compare more cities, see permit-free shed sizes in 30 cities and shed 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

Yes, as a default. The 2025 California Residential Code exempts one-story detached accessory structures up to 120 square feet from a permit. Cities and counties may amend the code for local conditions, and some have, so check your own city or county code before you build.
A 10x12 shed is 120 square feet, exactly at the state limit, so under the state code it is exempt if one story and detached. Locally it varies: Sacramento's own documents disagree at exactly 120 sq ft, San Diego counts roof area, Long Beach also limits height to 8 ft and bars utilities, and Los Angeles has no size exemption.
Call your county building department. Under Health and Safety Code 17960 the building department of every city or county enforces the state building code within its jurisdiction, so the county handles permits outside city limits, applying the state code with any county amendments and its own fees.
Yes. The code says an exemption from permit does not authorize work that violates the code or local laws. Setbacks, height limits, lot coverage, historic districts and flood rules are generally set by your city or county, and wildfire-area rules can apply even to an exempt structure.
Yes, as an owner-builder. Business and Professions Code 7044 exempts an owner who builds on their own property when the improvements are not intended or offered for sale and the owner does all the work or uses wage employees. The permit application form set by state law includes an Owner-Builder Declaration you sign.

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 1 (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
  • Health and Safety Code 19825(a) — 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 fence permit · California deck permit · California pool permit · Shed permit guide · All state guides

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