Home › Shed setbacks

How Far Should a Shed Be From the Property Line? Setback Examples

Updated October 31, 2026

Some links on this page are affiliate links. If you buy through them we may earn a commission at no extra cost to you. How we make money.

The short answer: It depends on your town. The three official pages we opened give 3 feet from rear and side lines as the common figure, with limits on front yards and easements. Sherwood, Oregon, Hopkins, Minnesota and San Luis Obispo County, California all use 3 feet. Your town may differ. Ask your building or planning department before you set the shed.
Rules vary. These are examples from three places, not a national rule. Hire licensed pros for electrical and plumbing work.

Three places compared

PlaceRear and sideFrontOther
Hopkins, MN3 feet from rear and side property lines. If closer than 5 feet from a property line, contact Inspections for construction requirements.In most cases cannot be in the front yard.Cannot be in an easement. Maximum height 15 feet. Must be anchored at all corners.
San Luis Obispo County, CA (unincorporated)Typical: 3 feet from rear and interior side lines (shed 120 square feet or less and 12 feet or less tall).Typical: 25 feet from the front property line or road easement.Typical street side on a corner lot: 10 feet if under 1 net acre, 30 feet if 1 net acre or larger. The county says to confirm for your property.
Sherwood, ORAt least 3 feet from rear or side line for detached structures of 100 to 200 square feet under 10 feet tall.No accessory structure over 3 feet tall in a front yard.Accessory structures cannot exceed 15 feet.

Sources: city and county pages listed below. Sherwood's page is dated July 16, 2025; the others show no date.

This Old House gives one more rule of thumb for picking a site: level, not collecting water, and at least 3 feet from fences or structures. Seattle says building, land use and other codes apply whether or not you need a permit.

Steps

  1. Look up your lot lines on your survey or plat. Do not guess from a fence line.
  2. Ask your town for the accessory structure setbacks, the height limit and whether the lot has any easements.
  3. Call 811 before you dig (our note).
  4. Mark the corners with stakes and string and measure to each line before you pour or set anything.
  5. Check HOA rules if you have an HOA.

Not sure if you need a permit? See how big a shed can be without one and our permit guide.

What will your shed cost?

Our free calculator compares building it yourself, buying a kit and hiring a builder for your exact size.

Open the shed cost calculator

Common questions

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

It depends on your town. Hopkins, Minnesota says 3 feet from rear and side property lines. San Luis Obispo County, California lists typical setbacks of 3 feet from rear and interior side lines for a shed of 120 square feet or less and 12 feet or less in height. Sherwood, Oregon says at least 3 feet for detached structures of 100 to 200 square feet under 10 feet tall.

Can a shed go in the front yard?

Usually not. Hopkins says that in most cases an accessory structure cannot be in the front yard. Sherwood says no accessory structure over 3 feet in height is permitted in a front yard. San Luis Obispo County lists a typical front setback of 25 feet.

Can I build a shed on an easement?

Hopkins says accessory structures cannot be in an easement. Ask your building department and call 811 before you dig.

What about a corner lot?

San Luis Obispo County lists a typical street-side setback of 10 feet for a property under 1 net acre and 30 feet for 1 net acre or larger. It describes all of these as typical values to confirm for your property.

Does a shed that needs no permit still need setbacks?

Often yes. Sherwood's 3 foot setback applies to detached structures in the 100 to 200 square foot range, and Hopkins applies its setbacks to all accessory structures. Seattle says land use and other codes apply whether or not you need a permit.

Related guides

Sources
  1. City of Hopkins, MN: Building a Shed
  2. San Luis Obispo County, CA: Shed (accessory structures)
  3. City of Sherwood, OR: Do I need a permit to build a shed in my back yard? (page dated July 16, 2025)
  4. Seattle Department of Construction and Inspections: Sheds
  5. This Old House: Building a shed foundation

Free printable: Shed Build Checklist

From permit check to the last coat of paint, in one page. Download the one-page PDF now, or get it by email along with a short series of five helpful emails.

Download the PDF



DARCA LLC sends the emails. You can unsubscribe in one click. We never sell your address. Privacy.