Swimming pool rules in Los Altos, California
Yes. In Los Altos single-family zones, pools, hot tubs and spas can go in the buildable area or rear yard, at least 5 feet from any property line, but not in front or side setbacks. Any pool deeper than 24 inches must be fully enclosed by a barrier at least 5 feet high with self-closing, self-latching gates.
| Where allowed | Buildable area or rear setback; not in front or side setbacks [1] |
| Setback from property lines | 5 ft, measured from the pool's outside edge [1] |
| Pool equipment | In a noise-attenuating enclosure; not in the interior side setback [3] |
| Barrier height | At least 5 ft, completely enclosing the pool [5] |
| Gates | Self-closing, self-latching; latch at least 4 ft 9 in high [6] |
| Pools covered | Any depth over 24 in, above or below ground [4] |
| Final inspection | Withheld until the enclosure complies [7] |
Where a pool can go
In the R1-10 single-family district, swimming pools, hot tubs and spas may go within the house's buildable area or in the required rear yard setback, at least 5 ft from any property line. They can't be in the required front or side setbacks [1]. The 5 ft is measured from the outside edge of the pool structure [2]. Pool motors and equipment must be in a noise-attenuating enclosure and can't sit in the interior side setback [3]. Other single-family districts are expected to have similar sections; check the chapter for your zone.
Fence and barrier rules
The barrier rule applies to any artificial pool, wading pool or fish pond deeper than 24 inches, above or below ground, temporary or permanent [4]. That covers above-ground pools and most hot tubs. The pool must be completely enclosed by a fence, wall or other structure at least 5 ft high, with no holes or gaps that would let children climb it. The house or an accessory building can form part of the enclosure [5]. Gates and doors in the enclosure (other than doors into a building) must be self-closing and self-latching, with the latch at least 4 ft 9 in above the ground or otherwise out of children's reach [6].
Permits and inspection
The enclosure counts as a structure under the city's Building Code, and the city withholds final inspection of a new pool until the barrier complies [7]. Plan the fence as part of your pool permit.
State safety rules
California's Swimming Pool Safety Act also requires drowning-prevention features for new pools and spas and sets gate-latch heights of at least 60 inches. That's higher than the city's 4 ft 9 in, so state law may override the local latch height. State law also treats water deeper than 18 inches (not the city's 24) as a pool for its safety rules.
See how Los Altos compares with 8+ other California towns on swimming pools →
Next steps
- Draw a site plan showing the pool at least 5 ft from all property lines and outside the front and side setbacks, with equipment in a sound enclosure.
- Apply for a pool building permit with the Building Division (see the city website for contact details), including the barrier/fence design and drowning-prevention features.
- Install a 5-ft (or taller) enclosure with self-closing, self-latching gates before final inspection.
Common questions
- Can I build a pool in Los Altos, California?
- Yes. In Los Altos single-family zones, pools, hot tubs and spas can go in the buildable area or rear yard, but not in front or side setbacks.
- How far must a pool be from the property line in Los Altos, California?
- At least 5 feet from any property line, measured from the pool's outside edge.
- What fence is required around a pool in Los Altos, California?
- Any pool deeper than 24 inches must be fully enclosed by a barrier at least 5 feet high with self-closing, self-latching gates.
- Where can pool equipment go in Los Altos, California?
- In a noise-attenuating enclosure, and not in the interior side setback.
California state rules for swimming pools
Pools need a city or county building permit, and local zoning sets setbacks. The state's Swimming Pool Safety Act (Health & Safety Code §115920 et seq.) adds safety rules:
- Drowning prevention features: when a building permit is issued for a new pool or spa, or to remodel one, at a private single-family home, it must have at least two of seven safety features (§115922):
- an enclosure that isolates the pool from the house
- removable mesh fencing (ASTM F2286) with a self-closing, self-latching gate
- a safety pool cover (ASTM F1346-23)
- exit alarms on doors and windows that open directly to the pool
- self-closing, self-latching devices on those doors, released at least 54 inches up
- a pool alarm (ASTM F2208; child-worn alarms don't count)
- other equally protective, independently verified means
- Some pairs don't count, such as a safety cover plus a pool alarm. The building official inspects before final approval.
- Enclosure standards (§115923): at least 60 inches high, no more than 2 inches of clearance at the bottom, gaps that won't pass a 4-inch sphere, no handholds or footholds, and gates that open away from the pool with self-latches at least 60 inches up.
- What counts as a pool: any structure with water over 18 inches deep, including above-ground pools, hot tubs and spas (§115921). Spas with a locking ASTM F1346 cover, apartment complexes and public pools are exempt (§115925).
- Small pools: the 2025 Residential Code exempts prefabricated pools under 24 inches deep from a building permit.
What the ordinance says
- Sec. 14.06.120(B) Swimming pools, Municipal Code Chapter 14.06 - R1-10 Single-Family District, p. 1
Swimming pools, hot tubs, and spas shall be allowed within the main structure's building envelope, and the required rear yard setback with a minimum setback of five feet from any property line. Said structures shall not be located in a required front or side yard setback area.
- Sec. 14.06.120(B)(1), Municipal Code Chapter 14.06 - R1-10 Single-Family District, p. 1
The setback shall be measured from the outside edge of the pool structure.
- Sec. 14.06.120(B)(2), Municipal Code Chapter 14.06 - R1-10 Single-Family District, p. 1
Swimming pool motors and equipment shall be enclosed in a noise attenuating structure, as proscribed in Chapter 6.16, and shall not be located in a required interior side yard setback area.
- Sec. 14.72.050(A) Fencing of private swimming pools, Municipal Code Chapter 14.72 - Fence Regulations, p. 1
A private swimming pool is defined for the purposes of this section as a swimming pool, wading pool, fish pond, or other outside body of water created by artificial means and maintained in connection with a single-family or multifamily residence, apartment house, motel, hotel, or any other type of building, which pool has any depth in excess of twenty-four (24) inches, whether above or below grade, and whether intended to be temporary or permanent in nature.
- Sec. 14.72.050(B), Municipal Code Chapter 14.72 - Fence Regulations, p. 1
Every person who shall own or be in possession of any premises, whether as purchaser under contract, lessee, tenant, or licensee, on which there is situated a private swimming pool, as defined in subsection A of this section, shall maintain on such premises and completely enclosing such private swimming pool a fence, wall, or other structure not less than five feet in height; provided, however, there shall be no holes or gaps in the enclosure or gate, which normally should be solid, except as may be approved by the building inspector, who shall be guided in approving or disapproving the same by the principle that the construction of the enclosure should not be such that the enclosure would be readily climbable by children; and provided, further, that a dwelling house or accessory building or any other type of building may be used as a part of such enclosure.
- Sec. 14.72.050(B), Municipal Code Chapter 14.72 - Fence Regulations, p. 1
Any gate or door in such enclosure shall be equipped with a self-closing and self-latching device designed to keep such gate or door (except a door leading to the interior of a building) 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.
- Sec. 14.72.050(D), Municipal Code Chapter 14.72 - Fence Regulations, p. 1
The enclosure referred to in this section shall be deemed to be a structure within the meaning of the Building Code of the city. The final inspection and approval of all private swimming pools constructed shall be withheld until all the requirements of subsection B of this section have been complied with.