Skip to content

Santa Clara County · Building on your lot

Swimming pools in Santa Clara County

Santa Clara County's own rules on swimming pools, with the code text for every value.

Each rule below links to the section of the Santa Clara County Municipal Code it was read from, with the code text one click away (checked October 2026). General information, not legal advice.

What Santa Clara County's code says

Santa Clara County code What Santa Clara County's code adds
Pool barrier
  • No opening, hole or gap may be more than 4 inches wide or high.
    Applies: Doors and gates are excepted.
    § B18-2 · code text
    except for doors or gates, either the horizontal or vertical dimension of any opening, hole or gap in said enclosure shall not exceed four inches;
  • A house or accessory building may form part of the enclosure.
    § B18-2 · code text
    a dwelling house or accessory building may be used as a part of said enclosure.
  • An automatic pool cover that holds 150 pounds at any point may replace a fence.
    Applies: Only on parcels larger than 2.5 acres gross.
    § B18-2 · code text
    An automatic pool cover capable of supporting a concentrated load of 150 pounds at any point is an acceptable alternative to a fence if the parcel size is larger than 2.5 acres gross.
Barrier height
  • At least 5 feet.
    Applies: The enclosure around a private pool.
    § B18-2 · code text
    A private swimming pool as defined herein shall be completely enclosed by a fence, wall or other structure not less than five feet in height;
Gates
  • Self-closing and self-latching; latch at least 4 feet 9 inches above ground, or otherwise out of children's reach.
    Applies: Gates or doors in the required enclosure.
    § B18-3 · code text
    Any gate or door that is a part of the enclosure required by Section B18-2 shall be equipped with a self-closing and self-latching device designed to keep such gate or door securely closed at all times, with the latching device either placed at least four feet, nine inches above ground level or otherwise made inaccessible from the outside to children.
Maintenance and empty pools
  • The owner or occupant must maintain the enclosure or cover.
    § B18-2 · code text
    Every person who owns or occupies a premises on which a private swimming pool is situated shall be responsible for maintaining said enclosure or cover.
Permit
  • Final inspection and approval of a private pool are held until enclosure and gate rules are met.
    Applies: Private swimming pools.
    § B18-5 · code text
    Final inspection and approval of all private swimming pools shall be withheld until all requirements of Sections B18-2 and B18-3 have been complied with.

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

What are the pool fence and setback rules in Santa Clara County?

Santa Clara County's code: At least 5 feet. (The enclosure around a private pool.) (§ B18-2); Self-closing and self-latching; latch at least 4 feet 9 inches above ground, or otherwise out of children's reach. (Gates or doors in the required enclosure.) (§ B18-3).

General information, not legal advice.

Ask about a specific Santa Clara County property

Ask GoCodebook how Santa Clara County's swimming pools rules apply to your situation and get an answer that cites the section.

Ask your question

More on building on your lot in Santa Clara County