Free guide

How far does a shed have to be from a septic tank?

Often about 5 feet from the tank, and 5 to 10 feet from the drain field, but these distances come from your county's health rules, not just the zoning. Check them before you pick a spot, because sheds, decks and pools all have their own numbers.

Why septic setbacks are separate

Zoning setbacks keep a shed away from your lot lines. Septic setbacks protect the system itself: the tank, the pipes and the drain field (also called the leach field or disposal field) need open ground to work, and room to be pumped, repaired or replaced. That's why they're usually set by the county's environmental health office, and why many counties want the system shown on the site plan for a shed or garage permit.

Examples from county rules

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

So the same shed might need 5 feet from the system in Wake County but 8 feet from the leach lines in El Dorado County. Use your own county's table.

Find your system before you pick a spot

  1. Find the records. Your county's health department often has the system's permit and a drawing of where the tank and field are. Your closing papers may have them too.
  2. Find the parts on the ground. Tank lids, cleanouts and inspection ports mark the tank; the field is usually the open stretch of lawn downhill from it.
  3. Measure from the system's edges, not its center, to where the shed would go.
  4. Keep the repair area clear too, if your county reserves one, like Wake County does.
  5. Mind the weight. Don't park, pave or build over the field; El Dorado County bans paving and traffic over leach lines.

What to show on the site plan

Draw the tank and field on your plan

The Odd Jobs site plan maker draws a septic tank and a drain field as their own shapes, alongside your house, the new shed and anything else on the lot, and lists every distance to the lot lines on a to-scale PDF. The preview is free, so you can see the gaps before you pay $29. It shows what you measure; it doesn't locate or assess the system. No account.

Start your site plan See a sample (PDF)

Check your county

Septic setbacks differ by county and state, and some depend on soil and slope. Your county's environmental health office has the final word, so check your city and county before the shed goes in.

Related guides

Something missing from this guide?