Lancaster · Building on your lot
Building on your lot in Lancaster
Lancaster's city code sets fence heights by setback and limits accessory structure height, coverage and setbacks by size. A home business needs a city business license, and many business types are not allowed at home.
Key points
- Fence height: Residential fences are limited to 4 feet in front setbacks and 6 feet in side or rear setbacks; director's review may allow 25% more.
- Accessory structures: Detached accessory structures are limited to 8 feet if 120 sq ft or less, otherwise one story or 12 feet; detached garages 20 feet.
- Home businesses: Home businesses may have 1 employee in an apartment or condominium, 2 in urban and 3 in rural residential zones.
Each rule below is marked Lancaster code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Front yard height |
|
|---|---|
| Side and rear yard height |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
| Distance from the house |
|
Running a business from home
| Customer visits |
|
|---|---|
| Employees |
|
| Permit |
|
| Businesses not allowed |
|
Lot splits under SB 9
| Standards |
|
|---|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Gates |
|
Other Lancaster rules on this
Lancaster's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Animal keeping in residential zones (§ 17.08.180)
- Street parking limits for oversized vehicles (§ 10.04.055) — on public streets
Who this affects
Frequently asked questions
How tall can a fence be in Lancaster?
Residential fences are limited to 4 feet in front setbacks and 6 feet in side or rear setbacks; director's review may allow 25% more.
How big can a shed or accessory building be in Lancaster?
Detached accessory structures are limited to 8 feet if 120 sq ft or less, otherwise one story or 12 feet; detached garages 20 feet.
Can I run a business from my home in Lancaster?
Home businesses may have 1 employee in an apartment or condominium, 2 in urban and 3 in rural residential zones.
Can I split my lot under SB 9 in Lancaster?
Lancaster's code: Only lots in a single-family zone: RR-2.5, RR-1, SRR, R-15,000, R-10,000 or R-7,000. (Applies to urban lot splits (SB 9).) (§ 16.17.050).
Do I need a permit for solar panels or an EV charger in Lancaster?
Lancaster's code: Expedited approval and all needed permits when the application meets the checklist; no energizing before final inspection and approval. (Applies to EV charging stations.) (§ 15.46.040); Administrative approval after a complete checklist application; only 1 inspection is required. (Applies to small residential rooftop solar systems.) (§ 15.45.040).
What are the pool fence and setback rules in Lancaster?
Lancaster's code: Besides doors and gates, no openings over 50 square inches, unless rectangular with no horizontal side over 4 inches. (§ 8.04.230); Wood pool fences: posts at least three by three inches, no more than ten (10) feet apart and embedded at least eighteen (18) inches; boards at least one-half inch thick on at least two rails of two by three inches (wood fences) (§ 8.04.240).
General information, not legal advice.
Ask about a specific Lancaster property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question