Skip to content
Advice for Buyers

Can You Put a Bathroom in a Shed? What to Check Before You Plan One

Randi Sherman··bathroom in a shed

A bathroom can make a backyard building far more useful. A workshop or guest space with its own toilet and sink saves a lot of trips back to the house. Putting a bathroom in a shed is also one of the harder upgrades, because it means bringing water in and taking waste out, usually with a permit.

This guide explains what a shed bathroom usually requires, the options that do not need a sewer connection, and what to check before you choose a building.

Quick Answer

In many places, you can put a bathroom in a shed, but it almost always needs a plumbing permit. Most portable sheds are sold as storage buildings without plumbing, so the bathroom is something you plan and add after you buy. The building needs a water line and a drain connected to your sewer or septic system, and the fixtures need enough space to meet code clearances. Some areas also limit bathrooms in accessory buildings, since a bathroom can make the building look like a second home. Check with your local building and zoning offices before you buy, and ask the dealer how a bathroom would affect the warranty and any rent-to-own agreement.

Start With Zoning

Before you plan the plumbing, find out whether your area allows a bathroom in an accessory building at all. Some local codes are strict about anything that could turn a backyard building into living space. In Clinton County, Illinois, for example, the zoning code states that using any accessory structure as a dwelling is strictly prohibited.

A half bath in a workshop is usually treated differently from a full bathroom in a building where someone sleeps. If you plan to use the building as living space, the rules for homes apply, and our guide on turning a shed into a tiny home explains what that involves. Ask your zoning office how the use you have in mind is classified.

What a Shed Bathroom Needs

A water line

Fresh water has to reach the building, usually through a buried line from the house. The line must sit deep enough to stay below your area’s frost line, which varies a lot from one region to the next. Your building department can tell you the depth required where you live.

A way to get rid of waste

This is the biggest piece of the project. A standard toilet, sink, or shower drain has to connect to your home’s sewer line or septic system, with the right slope to drain and a vent so the drain works properly. The farther the building sits from the house, the longer that run becomes.

Room for the fixtures

Plumbing codes set minimum clearances around fixtures. Under the model code many areas use, the center of a toilet must be at least 15 inches from a side wall or other fixture, with at least 21 inches of open space in front. That means a toilet alone needs a space at least 30 inches wide. A shower must have at least 900 square inches of floor area and measure at least 30 inches in each direction. Plan the bathroom layout before you pick a building size, so the rest of the space still works for its main purpose.

Power and heat

Most bathrooms need electricity for lights and a vent fan, and a water heater adds another load. In colder areas, the pipes also need protection from freezing, which usually means insulation and a heat source. Our guide on how to insulate a studio shed covers the insulation side.

If You Have a Septic System

A septic system has a limited capacity. Septic tanks are usually sized by the number of bedrooms in a home, and local officials can require a larger tank when a property’s use calls for it. Adding a bathroom in a backyard building, especially one where people may sleep, can raise questions about whether your system is large enough. Talk to your county health department before you plan the connection.

Placement matters too. The EPA advises homeowners not to park or drive on a drainfield, since most are not designed to handle vehicles or heavy equipment. Know where your tank and drainfield are before the delivery truck arrives, and keep the building and the delivery path clear of them.

Options Without a Sewer Connection

If running a drain line is not practical, there are alternatives.

  • Composting toilets. These do not use water to flush. In the United States, composting toilets are tested under a standard called NSF/ANSI 41, and some states require that certification. Ask your health department whether one is allowed on your property.
  • A sink without a toilet. Some owners add only a utility sink for washing up. The drain water from a sink still needs an approved place to go, so ask your building department before you plan one.

Even without a full bathroom, either option needs a permit check before you install it.

What to Ask the Dealer

  • How would adding plumbing affect the warranty on this building?
  • If I buy through rent-to-own, can I add plumbing before the agreement is paid off? Terms vary by dealer, and many agreements limit changes until the building is paid for.
  • Can the delivery crew place the building where my plumber needs it, and keep clear of my septic system?
  • Is insulation or an electrical package available as a factory option for this model?

You can browse sheds for sale by size and style, and SpaceFit can help you see how much room is left once you set aside space for a bathroom.

Frequently Asked Questions

Do I need a permit to put a bathroom in a shed?

Almost always. Adding plumbing usually requires a plumbing permit and inspection, and electrical work for lights or a fan needs its own permit in most places. Check with your local building department before you start.

Can a shed bathroom connect to a septic system?

In many cases, yes, if your system has the capacity and the connection meets local rules. Your county health department can tell you whether your system can handle the added use.

Is a composting toilet allowed in a shed?

It depends on your state and county. Some areas require composting toilets to be certified under NSF/ANSI 41, and some do not allow them at all. Ask your health department first.

How much space does a shed bathroom need?

The model plumbing code requires at least 15 inches from the center of a toilet to a side wall and 21 inches of clear space in front. A shower needs at least 30 inches in each direction. Your local code may differ, so confirm the clearances with your building department.

Plan the Bathroom Before You Buy

A bathroom is far easier to plan before the building arrives than after. Check your zoning and septic rules first. Then decide where the building will sit and talk to a licensed plumber about the water and drain lines. Then compare buildings from local dealers with the bathroom layout in mind.

This article explains general rules and is not legal advice. For your property, check with your local building and health offices.

Sources: International Residential Code Section P2705.1, toilet clearances (Jaspector summary). International Residential Code Section P2708.1, minimum shower size (Jaspector summary). San Bernardino County Environmental Health Services, septic system sizing FAQ. U.S. Environmental Protection Agency, “How to Care for Your Septic System”. NSF, “Composting Toilets”. Clinton County, Illinois, Accessory Structures.

bathroom in a shed