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:
- Wake County, NC lists accessory structures by name: detached garages, sheds, gazebos and barns keep 5 feet from the septic system and its repair area, 5 feet from the supply line, and 25 feet from a well. Pools keep 15 feet from the system. A site plan is required with a building or accessory structure permit.
- El Dorado County, CA keeps a septic tank 5 feet from any building, and the leach lines 8 feet from buildings, lot lines and driveways and 10 feet from a pool. Leach lines can't go under concrete, asphalt or areas cars drive on.
- Imperial County, CA lists 5 feet from a building or structure to the septic tank and 8 feet to the disposal field, and counts carports, covered patios and porches as structures.
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
- 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.
- 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.
- Measure from the system's edges, not its center, to where the shed would go.
- Keep the repair area clear too, if your county reserves one, like Wake County does.
- 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
- Your lot lines and the house
- The septic tank and the drain field, with the repair area if there is one
- Any well, and the water supply line
- The new shed, with its distance to the tank, the field and the well
- Its distance to the lot lines too, for the zoning setbacks
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.
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.