California Building Code Permit Exemptions: Sheds, Fences, Decks

California building permit exemptions are listed in Section 105.2 of the California Building Code, and the list is short: small detached accessory structures under 120 square feet, low fences, short retaining walls, ground-level decks and patios, cosmetic interior finish work, and a narrow set of like-for-like plumbing and electrical repairs. Everything outside those categories needs a permit before you start. The default rule under Health and Safety Code Section 19130 is that any building subject to state building standards requires a written permit from the local enforcement agency.1Justia Law. California Health and Safety Code 19130-19138 The exemptions below are carve-outs from that rule, nothing broader.

One thing to keep in mind before working through the list: an exemption from the permit is not an exemption from the code. If you build a shed that qualifies as exempt, it still has to meet applicable construction standards. You just won’t have an inspector checking the work.

Exempt Outdoor Structures

The California Building Code exempts several categories of small outdoor projects. Local jurisdictions can tighten these thresholds, so always confirm with your building department before you build.

Detached Accessory Structures Under 120 Square Feet

One-story detached accessory structures used as tool sheds, storage sheds, playhouses, and similar uses are exempt if the floor area does not exceed 120 square feet.2Alameda County Public Works Agency. Work Exempt From Permit – 2022 CBC The structure must be accessory to a residential occupancy. Cross 120 square feet and you need a permit no matter the use. Habitable space, including a home office, guest room, or accessory dwelling unit, always needs a permit regardless of size.

Fences

Light-material fences such as wood or vinyl are exempt up to 7 feet in height. Fences built from concrete, masonry, or similar heavy materials are only exempt up to 5 feet 9 inches.2Alameda County Public Works Agency. Work Exempt From Permit – 2022 CBC The lower threshold for masonry reflects the structural and seismic loads those walls carry. Repairing an existing fence in kind is also generally exempt.

Retaining Walls Up to 4 Feet

Retaining walls are exempt if the height does not exceed 4 feet, measured from the bottom of the footing to the top of the wall. That measurement includes the buried portion, not just the exposed face. The exemption also disappears if the wall supports a surcharge load, such as a driveway or structure sitting on the retained soil, or if the wall sits at or near a property line.2Alameda County Public Works Agency. Work Exempt From Permit – 2022 CBC This is one of the most commonly violated thresholds, because homeowners measure only the visible wall and underestimate the total height.

Decks, Patios, Sidewalks, and Driveways

Raised decks, platforms, sidewalks, and driveways are exempt if they sit no more than 30 inches above adjacent grade, are not built over any basement or story below, and are not part of an accessible route.2Alameda County Public Works Agency. Work Exempt From Permit – 2022 CBC A ground-level patio poured on grade easily falls inside the exemption. A deck attached to the house that sits 3 or 4 feet above the yard does not.

Other Exempt Outdoor Items

Several additional outdoor projects are exempt under CBC 105.2:

  • Prefabricated above-ground pools accessory to a residential occupancy, if less than 24 inches deep, no more than 5,000 gallons, and entirely above ground.
  • Swings and similar playground equipment accessory to one- and two-family dwellings.
  • Residential window awnings supported by an exterior wall, projecting no more than 54 inches, with no additional support required.
  • Freestanding flagpoles and antennas up to 35 feet, or up to 20 feet if attached to a building.
  • Shade cloth structures for nursery or agricultural purposes. Their service systems are not exempt.

Even where no building permit is required, zoning rules still apply. Setbacks, height limits, lot coverage, and easements can block a project that is technically permit-exempt. Check with your local planning department before building.

Exempt Interior and Finish Work

Most cosmetic interior projects do not require a permit. The CBC specifically exempts painting (other than fire-retardant coatings), wallpapering, tiling, carpeting, installing other floor coverings, and replacing cabinets and countertops.2Alameda County Public Works Agency. Work Exempt From Permit – 2022 CBC The code groups these as “similar finish work.”

The dividing line is whether the project stays on the surface. Swapping kitchen cabinets is exempt. Ripping out a wall to expand the kitchen is not. Replacing a countertop is exempt. Moving the sink to a new location during the replacement is not, because it rearranges plumbing. The exemption covers the finish layer, and the moment work reaches into framing, wiring, or piping, you’ve crossed into permit territory.

Replacement in kind of certain building components is also exempt, including roofing, siding, gutters and downspouts, fascia, private sidewalks and driveways, patios, and limited amounts of non-fire-rated gypsum board (up to 160 square feet). “In kind” means the same type of material in the same dimensions and proportions as what was there before. Change materials or alter the structure during the replacement and the exemption falls away.

Exempt Plumbing and Electrical Repairs

The exemptions for plumbing and electrical work are narrow. They cover basic maintenance and like-for-like component swaps, not new installations or system changes.

Plumbing

A plumbing permit is not required for repairing leaks in drain, waste, or vent pipes, as long as the repair doesn’t involve replacing those pipes. Clearing stoppages and repairing leaks in pipes, valves, or fixtures is also exempt, provided the work doesn’t require replacing or rearranging the valves, pipes, or fixtures themselves.3Los Angeles County Department of Public Works. Work Exempt From Permit Tightening a leaking fitting, replacing a faucet washer, or snaking a drain fits here. Cutting into concealed pipes or relocating fixtures does not.

Electrical

Minor electrical repair is exempt, including replacing light switches, receptacles, sockets, lamps, and fuses. Replacing overcurrent devices with the same type and rating is also exempt. Connecting portable appliances and motors to permanently installed receptacles doesn’t trigger a permit.3Los Angeles County Department of Public Works. Work Exempt From Permit Running new wire, adding a circuit, upgrading a panel, or installing an outlet in a location that didn’t have one all require an electrical permit.

Common Projects That Still Require a Permit

Several projects feel small enough to skip permitting but aren’t exempt. These catch homeowners constantly.

  • Water heater replacement. Even a straight swap for the same type of unit requires a permit so the venting, seismic strapping, and gas or electrical connections can be checked against current code.4Los Angeles County Public Works. Water Heater FAQ
  • Furnace and air conditioning replacement. Any major mechanical equipment swap needs a mechanical permit, even when the new unit fits the same spot.
  • Electrical panel upgrades. Going from a fuse box to a breaker panel, or raising your service amperage, involves an electrical permit and inspections from both the building department and the utility.
  • Adding or removing walls. Any change to an interior wall requires a permit. Even non-load-bearing walls may contain wiring, plumbing, or ductwork.
  • Re-roofing. Replacing a few damaged shingles in kind can be exempt. A full re-roof generally requires a building permit in most California jurisdictions.
  • Garage conversion. Turning a garage into living space pulls in structural, electrical, plumbing, and insulation work, each needing a permit.

The pattern is consistent: anything that touches a building’s structural system, changes mechanical or electrical infrastructure, or converts the use of a space needs a permit. Exemptions exist for surface-level maintenance, not upgrades.

Local Jurisdictions Can Tighten the List

The state CBC sets a baseline. California law lets cities and counties adopt stricter standards. Under Health and Safety Code Section 17958.5, a local government may modify state requirements when it finds the changes reasonably necessary because of local climatic, geological, or topographical conditions.5California Legislative Information. California Health and Safety Code 17958.5 Local amendments must be filed with the California Building Standards Commission before they take effect.6California Department of General Services. Guide to Local Amendment of Building Standards

In practice this means a city might require permits for fences over 6 feet even though the state exempts light fences up to 7 feet. A county might shrink the exempt structure size below 120 square feet, or require permits for retaining walls shorter than 4 feet in areas with unstable soil. The thresholds in this article are the state-level numbers. Confirm the actual rules with your local building department before starting.

What Happens If You Skip a Required Permit

Working without a required permit creates problems that compound. The immediate risk is a stop work order. If an inspector finds unpermitted construction underway, work stops until a permit issues, and continuing before the order lifts triggers escalating fines. The California Contractors State License Board can assess civil penalties of up to $5,000 per violation against contractors who perform work without required permits.7California Contractors State License Board. Building Permit Complaint

The longer-term costs often hurt more. Appraisers may refuse to include unpermitted additions in a home’s valuation. When you sell, California’s Transfer Disclosure Statement requires you to disclose known unpermitted work as a material fact, and failing to disclose can expose you to liability after closing, even for work done by a previous owner. Buyers who find undisclosed unpermitted improvements commonly demand price cuts or walk from the deal.

Insurance is another pressure point. Homeowner’s policies often exclude damage tied to faulty construction, and some explicitly exclude damage from unpermitted work. Even where a claim gets paid, the insurer may cap the portion related to bringing the work up to code, or drop you as a customer afterward.

Legalizing Existing Unpermitted Work

If you discover or inherit unpermitted work, most California jurisdictions let you apply for a retroactive permit. It’s more involved and more expensive than permitting up front. You submit a full building permit application with plans showing the work that was done, and staff review it against current building standards, not the standards in effect when the work was performed.

Inspection is where retroactive permits get expensive. Inspectors need to verify concealed work meets code, which usually means opening finished walls and floors to expose framing, wiring, and plumbing. If anything falls short of current standards, you pay to bring it into compliance before the permit finalizes. Many jurisdictions also charge penalty fees on top of the standard permit fee for retroactive applications.

Despite the cost, legalizing unpermitted work is usually worth doing before a sale. The alternative is discounting the price, fighting objections during escrow, or carrying legal exposure after closing. If you’re planning to sell within a few years and know about unpermitted improvements, starting the retroactive permit process early lets you spread the cost and avoid a scramble.