Skip to content

Sonora · Building on your lot

Building on your lot in Sonora

Sonora sets its own limits on fences, accessory structures and home businesses. Fence height depends on the yard and corner location, and home businesses need a permit.

Key points

  • Fence height: Sonora limits fences, walls and hedges in required yards to 6 feet, and to 3 feet at residential street corners.
  • Accessory structures: Sonora limits detached accessory structures in the required rear yard to one story or 12 feet, at least 5 feet from the rear line.
  • Home businesses: Sonora limits a home business to one room and 25% of the floor area, with at most 3 visits a day and no employees.

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

Fences and walls

Sonora code What Sonora's code adds
Corner visibility
  • Fences, walls and hedges can be at most 3 feet above natural ground.
    Applies: Residential corner parcels: the triangle formed by the street rights-of-way and a line between points 30 feet from their intersection.
    § 17.40.040 · code text
    provided, that in all residential zones such fence, wall or hedge is not higher than three feet above the natural ground level on corner parcels fronting on two or more intersecting streets, within a triangle formed by the intersecting rights-of-way and a line drawn between points on such rights-of-way thirty feet distance from their point of intersection.
Height anywhere on the lot
  • Fences, walls and hedges can be up to 6 feet above natural ground.
    Applies: In required yards; a lower limit applies at residential street corners.
    § 17.40.040 · code text
    A fence, wall or hedge not higher than six feet above the natural ground level may be located on the required yards;

Sheds, garages and other accessory structures

Sonora code What Sonora's code adds
Maximum height
  • At most 1 story or 12 feet tall.
    Applies: Detached accessory structures in the required rear yard.
    § 17.40.050 · code text
    Detached accessory structures not higher than one story or twelve feet may be located on the required rear yard up to five feet of the rear parcel line.
Side and rear setback
  • Can be as close as 5 feet to the rear parcel line.
    Applies: Detached structures of 1 story or 12 feet or less in the required rear yard.
    § 17.40.050 · code text
    Detached accessory structures not higher than one story or twelve feet may be located on the required rear yard up to five feet of the rear parcel line.

Running a business from home

Sonora code Sonora limits a home business to one room and 25% of the floor area, with at most 3 visits a day and no employees.

All 6 Sonora rules on running a business from home, with the code text →

Solar panels and EV chargers

Sonora code What Sonora's code adds
EV charger permit
  • Electronic submittal and electronic signatures are accepted.
    § 15.11.040 · code text
    the building official shall allow for electronic submittal of permit applications covered by this article and associated supporting documentations. In accepting such permit applications, the building official shall also accept electronic signatures
  • Approved, all permits issued, when the application meets the city checklist and all applicable laws and health and safety standards.
    Applies: EV charging stations; the building official decides; the station may not be energized until the city approves.
    § 15.11.040 · code text
    the building official shall, consistent with Government Code Section 65850.7, approve the application and issue all necessary permits.

Tree removal

Sonora code What Sonora's code adds
Penalty
  • The city may remove the trees and charge the owners the cost of removal.
    Applies: When owners do not remove notified dead or diseased trees within 60 days.
    § 12.20.100 · code text
    In the event of failure of owners to comply with such provisions, the city may remove such trees and charge the cost of removal to the owners.
Protected trees
  • Any tree with a trunk at least 6 inches in diameter.
    Applies: On any undeveloped lot in the city, when removal is done in anticipation of developing it.
    § 12.20.110 · code text
    Removal of any trees having a minimum trunk diameter of six inches, on any undeveloped parcel within the city, in anticipation of developing that parcel is strictly prohibited.

Pets, chickens and bees

Sonora code Yes; up to 3 chickens and rabbits combined; no roosters. Yes; up to 1/2 of a small non-hoofed animal unit (1 unit is 12 poultry or rabbits); no roosters.

All 7 Sonora rules on pets, chickens and bees, with the code text →

Building in a flood zone

Sonora code What Sonora's code adds
Floodplain permit
  • A development permit is needed before any construction or development, including manufactured homes, in a special flood hazard area.
    § 15.36.150 · code text
    A development permit shall be obtained before any construction or other development, including manufactured homes, within any area of special flood hazard established in section 15.36.070.
Building in a floodway
  • No new construction or development, including fill, unless all development combined raises base flood levels no more than 1 foot.
    Applies: Applies in zones A1-30 and AE until a regulatory floodway is adopted. The limit applies at any point in the city.
    § 15.36.220 · code text
    Until a regulatory floodway is adopted, no new construction, substantial development, or other development (including fill) shall be permitted within zones A1-30 and AE, unless it is demonstrated that the cumulative effect of the proposed development, when combined with all other development, will not increase the water surface elevation of the base flood more than 1 foot at any point within the City of Sonora.
  • No encroachments, including fill, new construction and substantial improvements, unless a registered civil engineer certifies no flood level rise.
    Applies: Applies within an adopted regulatory floodway, for flood levels during the base flood discharge.
    § 15.36.220 · code text
    Within an adopted regulatory floodway, the City of Sonora shall prohibit encroachments, including fill, new construction, substantial improvements, and other development, unless certification by a registered civil engineer is provided demonstrating that the proposed encroachment shall not result in any increase in flood levels during the occurrence of the base flood discharge.
Height of the lowest floor
  • The lowest floor must be 2 feet above the base flood elevation.
    Applies: New or substantially improved homes in AE, AH and A1-30 zones.
    § 15.36.170 · code text
    In AE, AH, A1-30 zones, elevated two feet above the base flood elevation.
  • The lowest floor must be 2 feet above the flood map's depth number, measured from the highest adjacent grade.
    Applies: New or substantially improved homes in an AO zone where the flood map (FIRM) shows a depth number.
    § 15.36.170 · code text
    In an AO zone, elevated above the highest adjacent grade to a height two feet above the depth number specified in feet on the FIRM, or elevated at least four feet above the highest adjacent grade if no depth number is specified.
  • The lowest floor must be at least 4 feet above the highest adjacent grade.
    Applies: New or substantially improved homes in an AO zone where the flood map (FIRM) shows no depth number.
    § 15.36.170 · code text
    In an AO zone, elevated above the highest adjacent grade to a height two feet above the depth number specified in feet on the FIRM, or elevated at least four feet above the highest adjacent grade if no depth number is specified.
  • The lowest floor must be 2 feet above the base flood elevation.
    Applies: New or substantially improved homes in an unnumbered A zone, where the flood map (FIRM) shows no base flood elevation.
    § 15.36.170 · code text
    In an A zone, without BFE's specified on the FIRM [unnumbered A zone], elevated two feet above the base flood elevation; as determined under section 15.36.140(C).

Building on a hillside

Sonora code Cut slopes disturbing 15 feet or more of width must be retained at the toe, limiting disturbance to 15 feet. Fill slopes should be no steeper than 2:1.

All 4 Sonora rules on building on a hillside, with the code text →

Family child care homes

CA state law California law
Zoning
A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning
Business license or fee
A city or county may not charge a business license, fee or tax to run a family child care home
Local rules
Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone
Small home
Up to eight children, counting the provider's own children under 10 who live there
Large home
7 to 14 children, counting the provider's own children under 10 who live there

Home alarm permits and false alarms

Sonora code What Sonora's code adds
False alarms before a fee
  • 3 false alarms per alarm system in each 6-month assessment period carry no penalty. A fee applies from the fourth.
    Applies: Per alarm system, during the bi-annual assessment periods.
    § 8.24.100 · code text
    There are no penalties assessed for the first three false alarm activations per alarm system during the bi-annual assessment periods.

Signs on homes

Sonora code One sign, up to 6 square feet and 6 feet high. No permit. Address or name sign: up to 2 square feet per sign for single-family or duplex structures, 3 for other uses.

All 7 Sonora rules on signs on homes, with the code text →

Other Sonora rules on this

Sonora'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 tall can a fence be in Sonora?

Sonora limits fences, walls and hedges in required yards to 6 feet, and to 3 feet at residential street corners.

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

Sonora limits detached accessory structures in the required rear yard to one story or 12 feet, at least 5 feet from the rear line.

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

Sonora's code: Electronic submittal and electronic signatures are accepted. (§ 15.11.040); Approved, all permits issued, when the application meets the city checklist and all applicable laws and health and safety standards. (EV charging stations; the building official decides; the station may not be energized until the city approves.) (§ 15.11.040).

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

Sonora's code: Any tree with a trunk at least 6 inches in diameter. (On any undeveloped lot in the city, when removal is done in anticipation of developing it.) (§ 12.20.110).

What are the rules for building in a Sonora flood zone?

Sonora's code: A development permit is needed before any construction or development, including manufactured homes, in a special flood hazard area. (§ 15.36.150); The lowest floor must be 2 feet above the base flood elevation. (New or substantially improved homes in AE, AH and A1-30 zones.) (§ 15.36.170).

Can I run a family child care home in Sonora?

California law sets this for every city, including Sonora: Zoning: A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning (Health & Safety Code § 1597.45(a)); Business license or fee: A city or county may not charge a business license, fee or tax to run a family child care home (Health & Safety Code § 1597.45(b)); Local rules: Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone (Health & Safety Code § 1597.45(e)); Small home: Up to eight children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(c)); Large home: 7 to 14 children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(b)).

Do I need a permit for a home alarm in Sonora?

Sonora's code: 3 false alarms per alarm system in each 6-month assessment period carry no penalty. A fee applies from the fourth. (Per alarm system, during the bi-annual assessment periods.) (§ 8.24.100).

General information, not legal advice.

Ask about a specific Sonora property

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

Ask your question

More on Sonora