Skip to content

Lompoc · Building on your lot

Sheds, garages and other accessory structures in Lompoc

In residential zones, detached accessory structures in side or rear setbacks are limited to 9 feet at the line, 20 feet 5 feet away.

Key points

  • Accessory structures: In residential zones, detached accessory structures in side or rear setbacks are limited to 9 feet at the line, 20 feet 5 feet away.

Each rule below links to the section of the Lompoc Municipal Code it was read from, with the code text one click away (checked October 2026). General information, not legal advice.

What Lompoc's code says

Lompoc code What Lompoc's code adds
Maximum height
  • No more than 20 feet, measured 5 feet from the property line.
    Applies: Detached accessory structures in interior side or rear setbacks, residential zones.
    § 17.304.020 · code text
    Residential Zones. In residential zones, a detached accessory structure may extend into the interior side and rear setbacks provided no portion of the accessory structure exceeds nine feet in height at the property line, increasing progressively to the maximum height of 20 feet at a point five feet from the property line
  • No more than 9 feet at the property line.
    Applies: Detached accessory structures in interior side or rear setbacks, residential zones.
    § 17.304.020 · code text
    provided no portion of the accessory structure exceeds nine feet in height at the property line
No permit needed up to
  • Up to 120 square feet is exempt from a building permit.
    Applies: One-story detached sheds, playhouses and similar uses with no plumbing or electric, under the California Building Code.
    § 17.304.020 · code text
    with a floor area no more than 120 square feet (and no plumbing or electric), that are exempt from Building Permit requirements in accordance with the California Building Code
Distance from the house
  • At least 5 feet from the main building.
    Applies: Detached accessory structures. Carports are not subject to this rule.
    § 17.304.020 · code text
    a minimum of five feet shall be maintained between a primary structure and a detached accessory structure and between accessory structures on the same lot

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

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

In residential zones, detached accessory structures in side or rear setbacks are limited to 9 feet at the line, 20 feet 5 feet away.

General information, not legal advice.

Ask about a specific Lompoc property

Ask GoCodebook how Lompoc's sheds, garages and other accessory structures rules apply to your situation and get an answer that cites the section.

Ask your question

More on building on your lot in Lompoc