Skip to content

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

Lancaster code What Lancaster's code adds
Front yard height
  • No more than 4 feet.
    Applies: Residential property: front yard setback or corner lot side yard setback. A director's review may allow up to 25% more.
    § 17.08.130 · code text
    Within front yard setback or corner lot side yard setback located at or behind the property line | 4 feet
Side and rear yard height
  • No more than 6 feet.
    Applies: Residential property: side or rear yard setback, or along or behind the corner lot side yard setback. Director's review may allow up to 25% more.
    § 17.08.130 · code text
    Within side or rear yard setback or along/behind corner lot side yard setback located at or behind the property line | 6 feet

Sheds, garages and other accessory structures

Lancaster code Detached accessory structures are limited to 8 feet if 120 sq ft or less, otherwise one story or 12 feet; detached garages 20 feet.

All 11 Lancaster rules on sheds, garages and other accessory structures, with the code text →

Running a business from home

Lancaster code Home businesses may have 1 employee in an apartment or condominium, 2 in urban and 3 in rural residential zones.

All 7 Lancaster rules on running a business from home, with the code text →

Lot splits under SB 9

Lancaster code What Lancaster's code adds
Standards
  • Only lots in a single-family zone: RR-2.5, RR-1, SRR, R-15,000, R-10,000 or R-7,000.
    Applies: Applies to urban lot splits (SB 9).
    § 16.17.050 · code text
    The urban lot split must conform to all applicable objective requirements of the Subdivision Map Act (Gov. Code Section 66410 et seq., "SMA"), including implementing requirements of this Title 16, except as otherwise expressly provided in this section.

Solar panels and EV chargers

Lancaster code What Lancaster's code adds
EV charger permit
  • Expedited approval and all needed permits when the application meets the checklist; no energizing before final inspection and approval.
    Applies: Applies to EV charging stations.
    § 15.46.040 · code text
    Upon confirmation by the building official that the permit application and supporting documents meet 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.
Solar permit process
  • Administrative approval after a complete checklist application; only 1 inspection is required.
    Applies: Applies to small residential rooftop solar systems.
    § 15.45.040 · code text
    Upon confirmation by the building official of the application and supporting documentation being complete and meeting the requirements of the checklist, the building official shall administratively approve the application and issue all required permits or authorizations.

Swimming pools

Lancaster code Besides doors and gates, no openings over 50 square inches, unless rectangular with no horizontal side over 4 inches. 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

All 5 Lancaster rules on swimming pools, with the code text →

Noise and construction hours

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

Group homes and residential care

Lancaster code What Lancaster's code adds
Distance between homes
  • At least 500 feet from another group home.
    Applies: Applies to unlicensed group homes and unlicensed group facilities.
    § 5.44.120 · code text
    No unlicensed group home or unlicensed group facility shall be located within five hundred (500) of another group home.

Home alarm permits and false alarms

Lancaster code What Lancaster's code adds
How long an alarm may sound
  • An alarm must stop or reset within 30 minutes of starting.
    § 5.38.020 · code text
    An audible alarm shall terminate its operation or the audible alarm shall automatically reset within thirty (30) minutes of its being activated.
False alarm fees
  • A service charge, set by city council resolution, applies to each sheriff response to a false alarm.
    Applies: Applies after the first two false alarms.
    § 5.38.100 · code text
    A service charge in an amount established by the city council by resolution shall be levied for each sheriff department response to an alarm determined to be false, after the first two false alarms.
False alarms before a fee
  • The first 2 false alarms are free. The service charge applies from the third false alarm.
    § 5.38.100 · code text
    A service charge in an amount established by the city council by resolution shall be levied for each sheriff department response to an alarm determined to be false, after the first two false alarms.

Trash and recycling carts

Lancaster code What Lancaster's code adds
When carts must come back
  • Containers must go back to storage within 12 hours after they are emptied.
    § 13.16.040 · code text
    All containers shall be removed to storage within twelve (12) hours after the container has been emptied.
When carts may go to the curb
  • Not before six p.m. the day before collection day
    Applies: Residential premises
    § 13.16.040 · code text
    Owners of residential premises within the city shall place any refuse accumulated on the premises throughout the calendar week in a container as described herein for collection on the day designated for pickup or after six p.m. the preceding day.

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.

Who this affects

HomeownersContractorsDesigners

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.

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: Administrative approval after a complete checklist application; only 1 inspection is required. (Applies to small residential rooftop solar systems.) (§ 15.45.040); 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).

Can I run a family child care home in Lancaster?

California law sets this for every city, including Lancaster: 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)).

Where are group homes and residential care homes allowed in Lancaster?

Lancaster's code: At least 500 feet from another group home. (Applies to unlicensed group homes and unlicensed group facilities.) (§ 5.44.120).

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

Lancaster's code: An alarm must stop or reset within 30 minutes of starting. (§ 5.38.020); A service charge, set by city council resolution, applies to each sheriff response to a false alarm. (Applies after the first two false alarms.) (§ 5.38.100).

When can trash carts go out to the curb in Lancaster?

Lancaster's code: Containers must go back to storage within 12 hours after they are emptied. (§ 13.16.040); Not before six p.m. the day before collection day (Residential premises) (§ 13.16.040).

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

More on Lancaster