Skip to content

Rocklin · Building on your lot

Sheds, garages and other accessory structures in Rocklin

Accessory structures in residential zones have city distance rules of 5 and 10 feet; barns, stables and animal buildings, 20 feet.

Key points

  • Accessory structures: Accessory structures in residential zones have city distance rules of 5 and 10 feet; barns, stables and animal buildings, 20 feet.

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

What Rocklin's code says

Rocklin code What Rocklin's code adds
Side and rear setback
  • At least 5 feet from any interior side or rear property line.
    Applies: Accessory structures in any residential zone; front and street side setbacks also apply.
    § 17.08.090 · code text
    Said structures shall be a minimum of five feet from any interior side or rear property line and shall comply with the required front and street side yard setbacks as set forth in the applicable zoning.
  • At least 20 feet from any side or rear property line, on the rear half of the lot.
    Applies: Barns, stables and other buildings for keeping animals.
    § 17.08.090 · code text
    Barns and stables, or any other building or structure used for the keeping of animals, shall be located on the rear one-half of the lot and not closer than twenty feet to any side or rear property line.
Distance from the house
  • At least 10 feet from the house, to its rear or side.
    Applies: Accessory structures in any residential zone.
    § 17.08.090 · code text
    Said structures shall be located to the rear or side of the main dwelling unit, not less than ten feet there from.

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

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

Accessory structures in residential zones have city distance rules of 5 and 10 feet; barns, stables and animal buildings, 20 feet.

General information, not legal advice.

Ask about a specific Rocklin property

Ask GoCodebook how Rocklin'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 Rocklin