Skip to content

Stockton · Building on your lot

Building on your lot in Stockton

Stockton sets its own limits on fences, accessory structures, home businesses, pools and pets, and its own steps for SB 9 lot splits, rooftop solar and heritage trees. Fence and accessory limits depend on the yard and the type of structure.

Key points

  • Fence height: City rule: fences in front and street-side setbacks are limited to 3 feet, or 4 feet if open; interior side and rear, 8 feet.
  • Accessory buildings: City rule: detached accessory structures, not ADUs, are limited to 15 feet and may come within 3 feet of interior side and rear lines.
  • Home businesses: City rule: a home business may use at most 10 percent of the habitable area; no non-resident employees; client visits only for lessons.
  • Pool barriers: City rule: pool and spa barriers must be at least 60 inches high; pools deeper than 18 inches need self-closing, self-latching gates.
  • Pets: City rule: at most 3 dogs per premises and 3 cats, each over 4 months old; bees and fowl only where zoning allows.
  • Rooftop solar: City rule: complete small rooftop solar applications get a permit the same day over the counter, or in 1 to 3 business days electronically.

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

Fences and walls

Stockton code What Stockton's code adds
Corner visibility
  • The corner sight triangle must be clear of obstructions from 30 inches to 8 feet above the curb.
    Applies: Sides: 30 feet uncontrolled intersections, 20 feet controlled, 15 feet commercial driveways or alleys, 10 feet home driveways; listed exceptions and exemptions apply.
    § 16.36.140 · code text
    § 16.36.140. Traffic sight area. A. The triangular traffic sight area created by the minimum dimensions in Table 3-4 (Traffic Sight Area Dimensions), measured along the edge of each right-of-way, alley, or driveway, shall be kept free of visual obstructions from the height of 30 inches to eight feet above the nearest street curb elevation. 1. **Exceptions.** The requirements for traffic sight areas shall not apply to: a. CD Zoning District, the Miracle Mile, and other areas determined by the Director and the City Engineer; b. Public utility poles; c. Trees trimmed (to the trunk) to a line at least six feet above the level of the intersection; d. Saplings or plant species of open growth habits and not planted in the form of a hedge, which are so planted and trimmed as to leave a clear and unobstructed crossview year round; e. Supporting members of appurtenances to permanent structures existing on the effective date of the ordinance codified in this Development Code; and f. Official warning signs or signals. B. **Traffic Sight Area Dimensions.** TABLE 3-4 TRAFFIC SIGHT AREA DIMENSIONS | Location | Minimum Dimension | | --- | --- | | Street intersection without stop sign or traffic signal | 30 ft | | Street intersection with stop sign or traffic signal | 20 ft | | Commercial driveway or alley | 15 ft | | Residential driveway | 10 ft | | FIGURE 3-8 TRAFFIC SIGHT AREA | | --- | C. **Exemptions.** Exemptions from the identified standards for traffic sight areas may be granted when reviewed and approved, based on totality of circumstances, by both the Director and the City Engineer. (Prior code § 16-310.140; Ord. 2025-06-03-1601, 6/3/2025)
Front yard height
  • No more than 3 feet high.
    Applies: Front and street-side setbacks; open fences up to 4 feet; some decorative metal fences up to 5 feet, or 6 feet in -MHD.
    § 16.48.050 · code text
    Fences, walls, dense hedges, and similar structures shall not exceed three feet in height within the required front and street-side setback, except as follows.
  • No more than 4 feet high.
    Applies: Front and street-side setbacks, for open grillwork or similar fences with at least 33% see-through.
    § 16.48.050 · code text
    Fences constructed of open grillwork or other allowed material that allows at least 33% view penetration through the fence may be a maximum of four feet tall.
  • No more than 6 feet high.
    Applies: Applies to decorative open wrought-iron or tubular-steel fences in the Magnolia Historic (-MHD) Overlay District.
    § 16.48.050 · code text
    A decorative, open wrought-iron or tubular-steel fence not exceeding six feet in height in the Magnolia Historic (-MHD) Overlay District and five feet in height outside of the -MHD Overlay District may be placed along the front and street side property lines or within the front-yard and street side-yard setback areas.
  • No more than 5 feet high.
    Applies: Applies to decorative open wrought-iron or tubular-steel fences outside the Magnolia Historic (-MHD) Overlay District.
    § 16.48.050 · code text
    A decorative, open wrought-iron or tubular-steel fence not exceeding six feet in height in the Magnolia Historic (-MHD) Overlay District and five feet in height outside of the -MHD Overlay District may be placed along the front and street side property lines or within the front-yard and street side-yard setback areas.
Side and rear yard height
  • No more than 8 feet high.
    Applies: Applies in interior side and rear setbacks and outside required setbacks.
    § 16.48.050 · code text
    Fences, walls, dense hedges, and similar structures located outside of required setback areas or within required interior side or rear setback areas shall not exceed eight feet in height.

Sheds, garages and other accessory structures

Stockton code What Stockton's code adds
Maximum height
  • No more than 15 feet high.
    Applies: Applies to detached accessory structures, and open decks or trellises over 24 inches high; not ADUs.
    § 16.36.035 · code text
    Accessory structures shall not exceed a height of 15 feet.
  • May exceed 15 feet, but no higher than the main building.
    Applies: Residential infill projects, if the Director finds it fits the neighborhood and the main building.
    § 16.52.030 · code text
    The height of an accessory structure may exceed 15 feet if it is in keeping with the character of the neighborhood and the primary structure as determined by the Director, but no higher than the height of the primary structure.
Side and rear setback
  • May extend into interior side and rear setbacks to within 3 feet of the property line.
    Applies: Not into front or street-side setbacks or a public utility easement.
    § 16.36.110 · code text
    May encroach up to 3 feet from the property line
  • No rear or interior side setback is required.
    Applies: Applies to other accessory structures in residential infill projects; front and street side rules still apply.
    § 16.52.030 · code text
    Other accessory structures shall meet the front yard and street side yard requirements for primary structures, but shall have no setback requirements for rear and interior side yards.

Running a business from home

Stockton code What Stockton's code adds
Space used
  • No more than 10% of the home's living area, including storage and equipment.
    § 16.80.160 · code text
    No more than 10 percent of the habitable area of the dwelling shall be used for the home occupation, including storage of items used or produced and equipment.
Customer visits
  • Clients, customers or students may not visit or do business at the home.
    Applies: Except permitted lessons, such as art, music, swimming and tutoring, that do not exceed normal residential traffic.
    § 16.80.160 · code text
    Clients, customers, patrons, or students shall not visit or conduct business at the residence, except as provided by Chapter 16.132 (Home Occupation Permits);
Employees
  • Only people living in the home may work in the business.
    § 16.80.160 · code text
    Persons engaged in the business shall be limited to persons residing on the premises;
Businesses not allowed
  • Adult entertainment activities
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    A. Adult entertainment activities;
  • Animal hospitals and grooming facilities
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    B. Animal hospitals and grooming facilities;
  • Automotive and other vehicle repair, reconditioning, servicing, engine manufacture, painting, or storage
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    C. Automotive and other vehicle (boats, motorcycles, or trucks) repair (body or mechanical), reconditioning, servicing, manufacture of any internal combustion or diesel engine, painting, or storage;
  • Caterers
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    D. Caterers;
  • Commercial cabinet or furniture making businesses
    Applies: Activity beyond office-only use; woodworking as a hobby excluded
    § 16.132.060 · code text
    E. Commercial cabinet or furniture making businesses (Does not include woodworking as a hobby);
  • Contractor's storage yards
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    F. Contractor's storage yards;
  • Dismantling, junk, or scrap yards
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    G. Dismantling, junk, or scrap yards;
  • Exercise studios
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    H. Exercise studios;
  • Massage, acupressure, fortune telling, and related activities, including offices
    § 16.132.060 · code text
    I. Massage, acupressure, fortune telling, and related activities, including offices for such uses;
  • Medical clinics, laboratories, and offices
    § 16.132.060 · code text
    J. Medical clinics, laboratories, and offices;
  • Non-office activities routinely conducted in commercial and industrial zoned areas
    § 16.132.060 · code text
    K. Non-office activities which are routinely conducted in commercial and industrial zoned areas;
  • Sales of building materials and home furnishing materials
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    L. Sales of building materials and home furnishing materials including carpeting, floor covering, tile, lumber, and other similar materials;
  • Uses requiring explosives, flammable, highly combustible, or toxic materials, including guns and ammunition
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    M. Uses which require explosives, flammable, or highly combustible or toxic materials, including guns and ammunition;
  • Welding, industrial, and machine shop operations
    Applies: Activity beyond office-only use
    § 16.132.060 · code text
    N. Welding, industrial, and machine shop operations; or

Lot splits under SB 9

Stockton code What Stockton's code adds
Setbacks
  • No setback is required.
    Applies: Urban lot split parcels: an existing structure, or one rebuilt in the same location and to the same dimensions.
    § 16.210.040 · code text
    No setback shall be required for an existing structure or a structure constructed in the same location and to the same dimensions as an existing structure.
  • At least 3 feet from side and rear lot lines.
    Applies: Urban lot split parcels in the RL zone; none for an existing structure or one rebuilt in the same place and size.
    § 16.210.040 · code text
    Side and rear setbacks shall be three feet from the property lines.
Standards
  • No more than 2 parcels.
    Applies: Applies to the result of an urban lot split.
    § 16.210.040 · code text
    An urban lot split shall result in no more than two parcels.
  • Easements are required for public services and facilities.
    Applies: Applies to urban lot splits.
    § 16.210.040 · code text
    Easements shall be required for the provision of public services and facilities.
  • Each new parcel must have access to, provide access to, or border the public right-of-way.
    § 16.210.040 · code text
    The proposed parcels shall have access to, provide access to, or adjoin the public right-of-way.
  • Allowed only in the RL (Residential, Low Density) zone; new parcels may be used only for homes.
    § 16.210.040 · code text
    Urban lot split are only permitted in the RL (Residential, Low Density) Zoning District. Parcels created by an urban lot split shall only be used for residential uses, notwithstanding the fact that other uses may be permitted in the zoning district in which the parcels are located.

Solar panels and EV chargers

Stockton code What Stockton's code adds
EV charger permit
  • The Building Official issues all permits when the application meets the city checklist, laws, and health and safety standards.
    Applies: Applies to electric vehicle charging stations.
    § 15.90.040 · code text
    Upon confirmation by the Building Official that the permit application and supporting documents meets the requirements of the City adopted checklist, and is consistent with all applicable laws and health and safety standards, the Building Official shall, consistent with Government Code Section 65850.7, approve the application and issue all necessary permits.
  • Electronic applications and electronic signatures are accepted.
    § 15.90.040 · code text
    Consistent with Government Code Section 65850.7, the Building Official shall allow for electronic submittal of permit applications covered by this chapter and associated supporting documentations. In accepting such permit applications, the Building Official shall also accept electronic signatures on all forms, applications, and other documentation in lieu of a wet signature by any applicant.
Solar permit process
  • Administrative, nondiscretionary review; a permit is issued when a complete application meets the checklist and standard plan; one inspection.
    Applies: Applies to small residential rooftop solar systems eligible for expedited review.
    § 15.78.050 · code text
    The City Building Department shall adopt an administrative, nondiscretionary review process to expedite approval of small residential rooftop solar energy systems within 30 days of the adoption of the ordinance codified in this chapter.
Review time
  • Same day.
    Applies: Complete over-the-counter rooftop solar applications meeting the checklist and standard plan; an adverse safety finding may require a use permit.
    § 15.78.050 · code text
    The Building Department shall issue a building permit or other nondiscretionary permit (the same day for over-the-counter applications or within one to three business days for electronic applications) of receipt of a complete application and meets the requirements of the approved checklist and standard plan.
  • 1 to 3 business days.
    Applies: Complete electronic rooftop solar applications meeting the checklist and standard plan; an adverse safety finding may require a use permit.
    § 15.78.050 · code text
    The Building Department shall issue a building permit or other nondiscretionary permit (the same day for over-the-counter applications or within one to three business days for electronic applications) of receipt of a complete application and meets the requirements of the approved checklist and standard plan.

Tree removal

Stockton code What Stockton's code adds
Exemptions
  • No hearing, fee or replacement in an emergency, but a signed Director permit is still needed before removal.
    Applies: Applies when the Director finds a heritage tree an imminent threat to public health, safety or welfare.
    § 16.130.050 · code text
    § 16.130.050. Emergency. In circumstances where the condition of a heritage tree poses an imminent threat to public health, safety, or welfare requiring immediate removal, as determined by the Director, a public hearing in compliance with Section 16.130.030 (Permit) shall not be required; a permit to remove the heritage tree, signed by the Director, shall be obtained prior to the removal of the heritage tree. In such case where a person has been granted a permit for an emergency removal, payment of the permit fee shall not be required. Emergency removals do not require replacement. (Ord. 015-09 C.S., eff. 12-3-09; Ord. 2020-12-01-1502 C.S. § 34)
Permit to remove
  • Yes, a permit is required to remove or effectively remove a heritage tree.
    Applies: Applies to city heritage trees; emergency removal still needs a signed Director permit first.
    § 16.72.245 · code text
    Removed, cause to be removed, effectively removed (as defined in Division 8 (Glossary)), without first obtaining a permit from the Department in compliance with Chapter 16.130 (Heritage Tree Permit), except for emergencies in compliance with Section 16.130.050 (Emergency).

Swimming pools

Stockton code What Stockton's code adds
Barrier height
  • At least 60 inches above grade, measured on the side away from the pool or spa.
    Applies: Applies around the whole barrier and for 3 feet horizontally outside it.
    § 15.64.020 · code text
    The top of the barrier shall be not less than 60 inches (1,219 mm) above grade where measured on the side of the barrier that faces away from the pool or spa.
Equipment and alarms
  • Pool equipment may not be in required front or side yards and must be screened from off-site view.
    Applies: Applies to pools fully or partly below grade holding more than 24 inches of water.
    § 15.64.030 · code text
    Pool equipment shall not be located in required front or side yards and shall be screened from view when viewed from off the property.
Gates
  • A self-closing, self-latching gate on the pool side.
    Applies: Applies to outdoor pools and spas deeper than 18 inches.
    § 16.36.135 · code text
    Swimming pools and spas shall be fenced with a self-closing, self-latching gate on the pool side and be in compliance with the latest edition of the Building Code.
Permit
  • Yes; the permit drawing must show where the pool fencing or enclosure goes.
    Applies: Applies to pools fully or partly below grade holding more than 24 inches of water.
    § 15.64.030 · code text
    Pools shall be located to allow for adequate fencing and the location of such fencing or enclosure shall be indicated on drawing provided with each permit application.
Setback from property lines
  • At least 3 feet from any property line.
    Applies: Applies to in-ground pools and spas.
    § 16.36.135 · code text
    In-ground pools and spas shall be located a minimum of three feet from any property line.
  • No rear or side setback is required.
    Applies: Applies to above-ground pools and spas on finished grade and less than 30 inches high.
    § 16.36.135 · code text
    Pools and spas placed directly upon finished grade and less than 30 inches in height above finished grade are exempt from rear and side setback requirements.
  • At least 3 feet from any property line.
    Applies: Applies to above-ground pools and spas 30 inches or more high at any point.
    § 16.36.135 · code text
    Pools and spas placed directly upon finished grade and 30 inches or more in height above the surrounding finished grade at any point shall be located a minimum of three feet from any property line.
  • At least 3 feet from any property line.
    Applies: Pool and spa equipment, unless muffled by a sound barrier, or under 6 feet high next to a solid rear fence or wall.
    § 16.36.135 · code text
    Pool and spa equipment, including pumps, shall be located a minimum of three feet from any property line unless the equipment is:
  • Not allowed in a required front yard.
    Applies: Applies to pools, spas, and pool equipment.
    § 16.36.135 · code text
    Swimming pools, spas, and pool equipment shall not be located within a required front yard.

Pets, chickens and bees

Stockton code What Stockton's code adds
Bees
  • Only where the zone allows it under the Development Code.
    Applies: Applies to keeping an apiary in the city.
    § 6.04.420 · code text
    It is unlawful for any person, firm, or corporation to keep any domestic or wild animal (excluding dogs, cats and other household pets), reptile, apiary, or fowl, within the City except where permitted within a particular zone or district as provided in the Development Code of the City.
Chickens
  • Only where the zone allows it under the Development Code.
    Applies: Applies to keeping fowl in the city.
    § 6.04.420 · code text
    It is unlawful for any person, firm, or corporation to keep any domestic or wild animal (excluding dogs, cats and other household pets), reptile, apiary, or fowl, within the City except where permitted within a particular zone or district as provided in the Development Code of the City.
Large animals
  • Only where the zone allows it under the Development Code.
    Applies: Applies to domestic or wild animals other than dogs, cats and household pets.
    § 6.04.420 · code text
    It is unlawful for any person, firm, or corporation to keep any domestic or wild animal (excluding dogs, cats and other household pets), reptile, apiary, or fowl, within the City except where permitted within a particular zone or district as provided in the Development Code of the City.
Pet limit
  • No more than 3 cats.
    Applies: Applies to cats over 4 months old on one premises, not counting community cats.
    § 6.04.400 · code text
    It is unlawful for any person to keep on any one premises more than three cats (excluding community cats) if such cats are more than four months old.
  • No more than 3 dogs over 4 months old.
    Applies: Per premises.
    § 6.04.390 · code text
    It is unlawful for any person to keep on any one premises more than three dogs if said dogs are more than four months old.

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

How tall can a fence be in Stockton?

City rule: fences in front and street-side setbacks are limited to 3 feet, or 4 feet if open; interior side and rear, 8 feet.

How big can a shed or accessory building be in Stockton?

City rule: detached accessory structures, not ADUs, are limited to 15 feet and may come within 3 feet of interior side and rear lines.

Can I run a business from my home in Stockton?

City rule: a home business may use at most 10 percent of the habitable area; no non-resident employees; client visits only for lessons.

Can I split my lot under SB 9 in Stockton?

Stockton's code: No setback is required. (Urban lot split parcels: an existing structure, or one rebuilt in the same location and to the same dimensions.) (§ 16.210.040); At least 3 feet from side and rear lot lines. (Urban lot split parcels in the RL zone; none for an existing structure or one rebuilt in the same place and size.) (§ 16.210.040).

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

City rule: complete small rooftop solar applications get a permit the same day over the counter, or in 1 to 3 business days electronically.

Do I need a permit to remove a tree in Stockton?

Stockton's code: No hearing, fee or replacement in an emergency, but a signed Director permit is still needed before removal. (Applies when the Director finds a heritage tree an imminent threat to public health, safety or welfare.) (§ 16.130.050); Yes, a permit is required to remove or effectively remove a heritage tree. (Applies to city heritage trees; emergency removal still needs a signed Director permit first.) (§ 16.72.245).

What are the pool fence and setback rules in Stockton?

City rule: pool and spa barriers must be at least 60 inches high; pools deeper than 18 inches need self-closing, self-latching gates.

Can I keep chickens or bees at my home in Stockton?

City rule: at most 3 dogs per premises and 3 cats, each over 4 months old; bees and fowl only where zoning allows.

General information, not legal advice.

Ask about a specific Stockton property

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

Ask your question

More on Stockton