Skip to main content
CityRuleLookup
🏗️ Accessory Structures/Shed Rules

Shed Rules: Hesperia vs Ontario

How do shed rules rules compare between Hesperia, CA and Ontario, CA?

Ontario has fewer restrictions than Hesperia.

Hesperia, CA

San Bernardino County

Some Restrictions

Hesperia Municipal Code §16.20.390 caps total enclosed accessory buildings (sheds, workshops) at 1,000 sq ft plus 7.5% of net lot area in residential zones. Sheds count as 'accessory buildings' under §16.08.005 when at least 50% enclosed. Building permits are required for sheds over 120 sq ft per the California Building Code.

View full Hesperia rules →

Ontario, CA

San Bernardino County

Few Restrictions

Ontario follows CRC Section R105.2, exempting one-story detached sheds under 120 sq ft from a building permit. Sheds must still meet zoning setbacks, height limits, and trade permits for electrical.

View full Ontario rules →

Key Facts Comparison

FactHesperiaOntario
Permit ThresholdOver 120 sq ft (CBC); zoning rules apply at any size-
Max Aggregate Area1,000 sq ft + 7.5% of net lot area (§16.20.390)-
Max Height35 ft / 2.5 stories; 20 ft within 30 ft of side/rear (§16.20.410)-
Metal ShedsA, RR, R1-18,000 zones only; rear-yard placement (§16.20.420)-
Code AuthorityHesperia MC §§16.08.005, 16.20.390, 16.20.410, 16.20.420-
Permit trigger-Over 120 square feet
State code-CRC R105.2 exemption
Setbacks-Typically 3-5 ft rear/side
Electrical/plumbing-Trade permit required
Coverage-Rear-yard cap, often 30 percent

Highlighted rows indicate differences between cities.

Hesperia FAQ

Do I need a permit for a shed in Hesperia?

California Building Code exempts utility sheds 120 sq ft or smaller from a building permit, but Hesperia zoning setbacks, height limits, and aggregate area caps under §16.20.390 still apply. Anything over 120 sq ft needs a building permit from the Building & Safety Division.

Can I put a metal shed in my backyard in Hesperia?

Only if your property is in the A (Agricultural), RR (Rural Residential), or R1-18,000 zone district. Even then, metal accessory buildings must be placed between the rear of the primary residence and the rear property line (§16.20.420).

Ontario FAQ

Can I put a 10 by 12 shed in my Ontario backyard without a permit?

A 10 by 12 shed is exactly 120 square feet, which is at the exemption line. Going one foot larger triggers a permit. Keep it at or under 120 square feet and follow setbacks to avoid the permit.

Does a shed with a light fixture need a permit?

Yes. Even a permit-exempt shed requires a separate electrical permit for any wiring beyond a standard cord drop.

Compare other topics

See how Hesperia and Ontario compare on other ordinance categories.

Want to add a third city?

Use our full comparison tool to compare up to three cities.

Open Comparison Tool