Free guide

How far does a shed have to be from the property line?

It depends on your city, and often on the shed's height. Many cities want a shed a few feet, often 5, from the side and rear lot lines and keep it out of the front yard, while some let a small shed sit right on the back line.

Examples from city rules

A few examples, as each city's own page put it in November 2026:

So the same 8-foot shed could sit right on the back line in San Jose or Fairfax County, 2 feet from it in Sioux Falls, and 5 feet from it in Mt. Lebanon. That's why it pays to look up your own city's numbers.

How to measure it

Before you pick a spot

See the distances before you build

The Odd Jobs shed & fence site plan takes your city's setbacks and shows them as dashed lines. As you place the shed, it lists the distance to each lot line, so you can see at once whether it clears them. Then it draws the to-scale site plan many permit desks ask for, with a project data sheet, in one PDF. The preview is free, so you can check it against your city's rules before you pay $19. No account.

Start your shed plan See a sample (PDF)

Check your city

Setbacks, how they're measured and the height limits that change them all differ from city to city, and zoning districts within a city can differ too. Fairfax County notes that subdivision covenants can add their own rules, which the county doesn't enforce. Your city's zoning office has the final word, so check your city before the shed arrives.

Related guides

Something missing from this guide?