Skip to content

San Pablo · Building on your lot

Building on your lot in San Pablo

San Pablo sets its own rules for accessory structures and home businesses. A home business needs a home occupation permit and a city business license, and vehicle repair and trucking businesses are not allowed.

Key points

  • Accessory height: Sheds, pool houses and detached garages are limited to 12 feet and 1 story; 12 to 16 feet needs a conditional use permit.
  • Home businesses: A home business may use at most 300 square feet, with no customer visits and only resident family members working (city rule).

Each rule below is marked San Pablo code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.

Sheds, garages and other accessory structures

San Pablo code What San Pablo's code adds
Maximum height
  • No more than 12 feet (1 story).
    Applies: Closed-roof structures such as sheds, pool houses, detached garages and gazebos. Between 12 and 16 feet needs a conditional use permit.
    § 17.42.040 · code text
    Closed-Roof Structure (including but not limited to sheds, pool houses, detached garages, accessory dwelling units, gazebos, etc.) | Same as primary structure | 3 feet; increase to 5 feet for high-density residential | 3 feet rear; 5 feet alley | 6 feet | 12 feet (one story) 2 | Located on rear half of lot
  • No more than 12 feet high.
    Applies: Open-roof structures.
    § 17.42.040 · code text
    Open-Roof Structure | Same as primary structure | 3 feet | 3 feet | 6 feet | 12 feet | Located on rear half of lot
  • No more than 12 feet high.
    Applies: Carports.
    § 17.42.040 · code text
    Carports 7 | Same as primary structure | 5 feet | 5 feet | 6 feet | 12 feet | Located on rear half of lot and meets setbacks (see Section 17.54.020(E))
Size or lot coverage
  • No more than 45% of the net lot area.
    Applies: Main and accessory structures combined.
    § 17.42.040 · code text
    Maximum aggregate lot coverage by primary and accessory structures is not to exceed forty-five percent of the net lot area.
  • No more than 50% of the main building's floor area.
    Applies: Total floor area of all accessory buildings, unless an approved use permit allows more.
    § 17.42.040 · code text
    The total floor area of all accessory buildings shall not exceed fifty percent of the floor area of the main building, except as provided by an approved use permit.
  • No larger than 600 square feet.
    Applies: One-story detached garages or storage buildings below base flood elevation, in special flood hazard areas other than coastal high hazard areas.
    § 15.28.110 · code text
    Are one story and not larger than six hundred square feet in area when located in special flood hazard areas other than coastal high hazard areas.
  • No larger than 120 square feet.
    Applies: Detached garages or storage buildings below base flood elevation, in coastal high hazard areas (Zone V/VE).
    § 15.28.110 · code text
    Are not larger than one hundred twenty square feet in area when located in coastal high hazard areas (Zone V/VE).
Side and rear setback
  • At least 3 feet from the interior side and rear, and 5 feet from an alley.
    Applies: Closed-roof structures, including sheds and detached garages.
    § 17.42.040 · code text
    Closed-Roof Structure (including but not limited to sheds, pool houses, detached garages, accessory dwelling units, gazebos, etc.) | Same as primary structure | 3 feet; increase to 5 feet for high-density residential | 3 feet rear; 5 feet alley | 6 feet | 12 feet (one story) 2 | Located on rear half of lot
  • At least 5 feet from the interior side and 3 feet from the rear (5 feet on an alley).
    Applies: Closed-roof structures in high-density residential areas.
    § 17.42.040 · code text
    Closed-Roof Structure (including but not limited to sheds, pool houses, detached garages, accessory dwelling units, gazebos, etc.) | Same as primary structure | 3 feet; increase to 5 feet for high-density residential | 3 feet rear; 5 feet alley | 6 feet | 12 feet (one story) 2 | Located on rear half of lot
  • At least 3 feet from the interior side and rear.
    Applies: Open-roof structures.
    § 17.42.040 · code text
    Open-Roof Structure | Same as primary structure | 3 feet | 3 feet | 6 feet | 12 feet | Located on rear half of lot
  • At least 5 feet from the interior side and rear.
    Applies: Pools and spas, measured at the water's edge. All mechanical equipment must be behind the setback.
    § 17.42.040 · code text
    Pool/Spa 3, 4, 5, 6 | Same as primary structure | 5 feet 8 | 5 feet 8 | 6 feet | 2 feet | Located on rear half of lot
  • At least 5 feet from the side and rear.
    Applies: Carports.
    § 17.42.040 · code text
    Carports 7 | Same as primary structure | 5 feet | 5 feet | 6 feet | 12 feet | Located on rear half of lot and meets setbacks (see Section 17.54.020(E))

Running a business from home

San Pablo code What San Pablo's code adds
Space used
  • No more than 300 square feet.
    Applies: Administrative home occupation permit. A multi-unit live-work project may get more with a planning commission use permit.
    § 17.60.030 · code text
    The total area of the residence to be used for the operation of the business shall not exceed three hundred square feet.
Customer visits
  • No customers or clients may visit.
    Applies: Administrative home occupation permit. A multi-unit live-work project may get client visits with a planning commission use permit.
    § 17.60.030 · code text
    No customers or clients shall visit the home business.
Employees
  • Only family members who live on the premises.
    Applies: Administrative home occupation permit. A multi-unit live-work project may get other employees with a planning commission use permit.
    § 17.60.030 · code text
    No person other than members of the family residing on the premises shall be engaged in such occupation.
Permit
  • A home occupation permit and a city business license are required.
    § 17.18.050 · code text
    A home occupation permit shall be required for all home occupations.
Businesses not allowed
  • repair or modification of automobiles, trucks, motorcycles, and similar types of vehicles or equipment; businesses involving operation of a tow truck; trucking businesses
    § 17.60.030 · code text
    The repair or modification of automobiles, trucks, motorcycles, and similar types of vehicles or equipment, any business involving the operation of a tow truck, and any trucking business is prohibited as a home occupation.
  • home occupations requiring, using, or expecting to receive materials or supplies of over three tons from a vehicle
    § 17.60.030 · code text
    Any home occupation that requires, uses, or expects to receive materials or supplies of over three tons from a vehicle is prohibited.

Solar panels and EV chargers

San Pablo code What San Pablo's code adds
EV charger permit
  • Administrative, nondiscretionary permit once checklist and standard plan are met; same day over the counter, else 1 to 3 days.
    § 15.63.060 · code text
    The building official shall implement an administrative, nondiscretionary review process to expedite approval of small residential rooftop solar energy systems and electrical vehicle charging stations.
  • Only 1 inspection is required; another inspection is allowed if the station fails.
    Applies: Applies to charging stations eligible for expedited review.
    § 15.63.060 · code text
    Only one inspection shall be required and performed by the building division for small residential rooftop solar energy systems or electrical vehicle charging stations eligible for expedited review.
Solar permit process
  • Administrative, nondiscretionary review; the permit is issued when the approved checklist and standard plan are met. Only 1 inspection.
    § 15.63.060 · code text
    Where the application is complete, the building division shall complete the building permit approval or denial process on the same day for over-the-counter applications or between one and three days where such over-the-counter approval is not authorized or feasible.
Review time
  • The permit is approved or denied the same day.
    Applies: Applies to complete over-the-counter applications.
    § 15.63.060 · code text
    Where the application is complete, the building division shall complete the building permit approval or denial process on the same day for over-the-counter applications
  • The permit is approved or denied within 1 to 3 days.
    Applies: Applies to complete applications where over-the-counter approval is not authorized or feasible.
    § 15.63.060 · code text
    or between one and three days where such over-the-counter approval is not authorized or feasible.

Tree removal

San Pablo code What San Pablo's code adds
Exemptions
  • Trees prohibited on the city's plant list may be removed regardless of size.
    Applies: Applies to trees prohibited on the city's plant list.
    § 17.48.120 · code text
    Trees that are prohibited on the city’s plant list (these may be removed regardless of size).
  • Exempt: unsafe, unhealthy, structurally distressed or dead trees.
    Applies: Applies to trees that are unsafe, in poor health, structurally distressed or dead.
    § 17.48.120 · code text
    Trees that are unsafe, in poor health, structurally distressed, or dead.
  • Exempt: trees whose main trunk is partly in the right-of-way or on an adjoining site outside the land division.
    Applies: Applies when the main trunk is partly in the right-of-way or on an adjoining site not part of the land division site.
    § 17.48.120 · code text
    Trees where the primary trunk is partially located in the right-of-way or on an adjoining site that is not part of the land division site.
  • Exempt: trees less than 6 inches in diameter.
    Applies: Applies to trees less than 6 inches in diameter.
    § 17.48.120 · code text
    Trees that are less than six inches in diameter.
Permit to remove
  • Yes. Zoning administrator approval is required.
    Applies: Applies to removing 3 or fewer trees identified for protection in the tree evaluation.
    § 17.48.120 · code text
    For the removal of three or fewer trees, the zoning administrator’s approval is required.
  • Yes. Minor design review before the planning commission is required.
    Applies: Applies to removing 4 or more trees identified for protection in the tree evaluation.
    § 17.48.120 · code text
    For the removal of four or more trees, a minor design review before the planning commission is required.
Protected trees
  • Native trees at least 6 inches in diameter, measured 3 feet above natural grade.
    Applies: Applies to residential properties.
    § 17.48.120 · code text
    Residential properties removing native trees at least six inches in diameter measured three feet above natural grade.

Swimming pools

San Pablo code What San Pablo's code adds
Pool barrier
  • Openings, holes or gaps no larger than 4 inches, measured horizontally.
    Applies: Applies to pools or outdoor bodies of water deeper than 18 inches or larger than 250 square feet in surface area.
    § 15.24.050 · code text
    with openings, holes or gaps therein no larger than four inches measured horizontally, except for doors or gates
  • No pool fence is needed if all conditions are met, including a lot of at least 20,000 square feet.
    Applies: At most 4 homes within 250 feet; pool at least 300 feet from a school or public playground and 55 feet from a neighbor's home.
    § 15.24.070 · code text
    The fence required by this chapter need not be erected or maintained when all of the following conditions exist:
  • The fence must be installed before a newly built pool is put into use.
    § 15.24.060 · code text
    The fence required by this chapter shall be installed around all pools within ninety days from and after the effective date of this chapter and before any newly constructed pool is put into use.
  • The fence may be omitted if existing vegetation, landscaping or topography is a suitable barrier to keep children out.
    Applies: Applies when the building inspector grants an exception.
    § 15.24.080 · code text
    The building inspector may grant an exception to the requirements of fencing a swimming pool when he finds that there is a barrier existing on the premises by reason of vegetation, landscaping or topography suitable to protect children from straying into the pool.
Barrier height
  • At least four and one-half feet
    Applies: Pools or other outdoor bodies of water deeper than eighteen inches or with a surface area exceeding two hundred fifty square feet
    § 15.24.050 · code text
    a fence or wall not less than four and one-half feet in height, with openings, holes or gaps therein no larger than four inches measured horizontally
Gates
  • Gates and doors through the enclosure must be self-closing.
    Applies: House doors that form part of the enclosure are exempt, except breezeways, back garage doors and similar structures.
    § 15.24.050 · code text
    All gates or doors opening through such enclosure shall be equipped with a self-closing device designed to keep, and capable of keeping, such door or gate securely closed at all times when not in actual use;
  • Must be self-closing and self-latching, with the latch at least 4 feet above ground or out of children's reach.
    Applies: Applies to breezeways, back garage doors and similar structures that give access to pools.
    § 15.24.050 · code text
    back doors of garages, and similar structures, affording access to pools which shall be self-closing and self-latching, with such latching placed at least four feet above the ground level, or otherwise made inaccessible from the outside to small children.

Other San Pablo rules on this

San Pablo's code also has these chapters. We have not summarized their values on this page yet; read them in the library.

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

How big can a shed or accessory building be in San Pablo?

Sheds, pool houses and detached garages are limited to 12 feet and 1 story; 12 to 16 feet needs a conditional use permit.

Can I run a business from my home in San Pablo?

A home business may use at most 300 square feet, with no customer visits and only resident family members working (city rule).

Do I need a permit for solar panels or an EV charger in San Pablo?

San Pablo's code: Administrative, nondiscretionary permit once checklist and standard plan are met; same day over the counter, else 1 to 3 days. (§ 15.63.060); Only 1 inspection is required; another inspection is allowed if the station fails. (Applies to charging stations eligible for expedited review.) (§ 15.63.060).

Do I need a permit to remove a tree in San Pablo?

San Pablo's code: Trees prohibited on the city's plant list may be removed regardless of size. (Applies to trees prohibited on the city's plant list.) (§ 17.48.120); Exempt: unsafe, unhealthy, structurally distressed or dead trees. (Applies to trees that are unsafe, in poor health, structurally distressed or dead.) (§ 17.48.120).

What are the pool fence and setback rules in San Pablo?

San Pablo's code: Openings, holes or gaps no larger than 4 inches, measured horizontally. (Applies to pools or outdoor bodies of water deeper than 18 inches or larger than 250 square feet in surface area.) (§ 15.24.050); At least four and one-half feet (Pools or other outdoor bodies of water deeper than eighteen inches or with a surface area exceeding two hundred fifty square feet) (§ 15.24.050).

General information, not legal advice.

Ask about a specific San Pablo property

Ask GoCodebook how these rules apply to your address and get an answer that cites the section.

Ask your question

More on San Pablo