How much room does each fixture actually need? The residential code most towns enforce asks for 15 inches from the center of the toilet to any wall or fixture beside it. It also wants 21 inches of clear floor in front of the toilet and sink, and 24 inches in front of a shower.
Those are the floor, though. Most people find 18 inches at the toilet and about 30 inches in front of everything far more comfortable.
A good bathroom layout hits those numbers and keeps the toilet, sink and shower close to the plumbing that’s already in the wall. That second part matters more than people expect. Under the floor there’s a 3 inch pipe that decides which of your layout ideas are cheap and which ones get expensive, and it’s almost always staying where it is.
Bathroom Layout Clearances: Code Minimum vs Comfortable Spacing
Two sets of numbers get mixed together in layout advice. One is the code minimum, which an inspector can hold you to. The other is the National Kitchen and Bath Association’s recommendation, which is about how the room feels when you use it every morning.
| Clearance | Code minimum | NKBA recommendation |
|---|---|---|
| Toilet center to side wall or fixture | 15 in | 18 in |
| Clear floor in front of the toilet | 21 in | 30 in |
| Sink center to side wall | 15 in | 20 in |
| Clear floor in front of the sink | 21 in | 30 in |
| Two sinks, center to center | 30 in | 36 in |
| Clear floor in front of the shower | 24 in | 30 in |
| Shower interior | 30 x 30 in | 36 x 36 in |
The code column follows Building Code Trainer’s summary of the 2021 residential code, a February 2026 North Carolina code interpretation and Supply House Times’ side by side comparison. The NKBA column is the association’s planning guidelines, as Supply House Times and Hunker report them. Pennsylvania towns enforce the 2021 code, and your local permit office has the final word on how it’s applied.
If a layout can’t reach the code numbers, it doesn’t work. If it can reach the NKBA numbers, take them, because the extra 3 inches beside a toilet is what keeps your elbow off the vanity.
A room can still pass every number in that table and be miserable to use, and the door is usually why.
Find the Wet Wall Before You Move Anything
The wet wall is the wall that carries the plumbing: the water lines, the drains and the vent pipe that runs up through the roof. In most bathrooms the toilet sits on or near it, because the toilet has the biggest drain in the room.
A standard toilet drains through a 3 inch pipe, Angi notes, and that pipe runs into the main stack, the vertical pipe that carries everything down to the sewer. Sinks and showers use smaller drains that fit through the framing more easily. The toilet line is big, it has to slope the whole way, and it won’t travel far.
Plumber Shaylin King told The Spruce he keeps toilets within about 6 feet of the stack. Smaller drains have limits too.
Glenn Mathewson, writing in the Journal of Light Construction, gives the example of a 2 inch drain. It can run up to 8 feet to its vent at a quarter inch of slope per foot, and only about 5 feet if it’s steeper. Past that, the water can siphon the trap dry and let sewer gas into the room.
So moving fixtures costs real money, and the farther they go, the more it costs:
- Moving a fixture to a different wall adds $500 to $1,500 per fixture in plumbing, according to Block Renovation’s single wall layout guide (July 2026).
- A bigger move, like sliding the toilet across the room, runs $1,000 to $5,000 in Block’s line item cost guide (May 2026).
- The floor joists decide a lot of it. A drain that runs the same direction as the floor joists can travel between them. One that has to cross them means cutting into the framing, and cutting joists is a job for an engineer, often with a permit.
Older houses add one more wrinkle. Luzerne County’s housing has a median build year around 1960, and This Old House notes cast iron toilet flanges were typical in homes built before 1980. So a new connection can mean cutting into old cast iron that’s been in the wall for 60 years.
None of this means you can’t move anything. It means the cheapest good layout usually keeps the toilet where it is and moves the things around it.
One Wall, L Shaped or Galley: Which Layout Fits Your Room
Most bathrooms fall into one of three plans, and the width of the room usually picks one for you.
| Layout | How it’s plumbed | Best fit | Cost to plumb |
|---|---|---|---|
| One wall | Toilet, sink and tub or shower all on one wet wall | Rooms under about 6 feet wide | Lowest |
| L shaped | Fixtures on two walls that meet at a corner | Squarer rooms, or keeping the toilet out of view from the door | Middle |
| Galley | Fixtures on two facing walls | Rooms 6 feet wide or more | Highest, about double the rough in work |
The table follows Block Renovation’s comparison. The one wall plan is the classic hall bath, and the math is tight. Block figures a 60 inch tub, a 30 inch toilet space and a 24 inch vanity need about 9.5 feet of wall, and it treats 7 feet as the minimum for any one wall bath.
Once a one wall room is roughed in, the fixture order is locked. So decide whether the vanity or the toilet sits nearest the door before the plumber shows up.
If your bathroom is the usual 5 by 8 or 5 by 7, you’re almost certainly looking at a one wall plan, and the small bathroom ideas that work in tight rooms are where you get space back.
Where the Toilet, Vanity and Shower Go
With the wet wall found and the layout type picked, each fixture has a natural spot.
The toilet
Put it on the wet wall, close to the stack, and out of the straight line of sight from the doorway if you can. Check the rough in, which is the distance from the finished wall to the bolts at the base of the toilet. Twelve inches is standard, according to Home Depot, but older homes often have 10 or 14, and that number decides which toilets will fit without moving the drain.
The vanity
The vanity usually goes nearest the door. It’s the fixture people use most, and it’s the nicest thing to see first. Keep the sink’s center at least 15 inches from the side wall (20 feels better), and if you want two sinks, space their centers 36 inches apart so two people can brush their teeth without bumping.
The shower or tub
The shower or tub usually takes the far end of the room, where it can run the full width. Leave at least 24 inches of open floor in front of the entry, and 30 if you want room to dry off. If you’re sizing a new shower, our guide to how big a walk in shower needs to be goes through each size and what it fits.
Doors and Walkways: Where Good Layouts Fail
The door is the part of a layout people forget to draw, and it’s the reason a room that passes every clearance can still feel wrong. A door that swings into the room sweeps an arc about as wide as the door itself. If that arc hits the toilet, clips the vanity or blocks the space you need to step out of the shower, you’ll bump into it every day.
The Journal of Light Construction’s bath guide says to draw every door swing on the plan and make sure none of them cross. That includes the shower door. NKBA guidelines and the code both have hinged shower doors opening out, into the room, so its swing needs open floor too.
A few numbers help here:
- Bathroom door: NKBA recommends at least 32 inches wide. In older homes, 24 inches is common and usually acceptable when you’re not changing the opening.
- Walkway: about 30 inches lets one person through comfortably. NKBA’s guidelines, as Supply House Times reports them, put it at 48 inches if you want someone to stand at a fixture while another person walks behind them.
- When the swing won’t fit: swing the door out into the hall, or use a pocket door. A pocket door slides into the wall, though, so it can’t go in the wet wall where the pipes are.
Test Your Layout Before Anyone Prices It
Before you fall for a floor plan, run it through these steps. The first one takes two minutes.
- Measure the width of the room. Under about 6 feet, plan on a one wall layout. Our guide to measuring your bathroom before a remodel shows where to put the tape.
- Find the wet wall and the toilet drain. The toilet’s current spot is your anchor. Every foot you move it away from the stack adds cost.
- Check every clearance against the numbers above. Hit the code column at minimum, and the NKBA column wherever you can.
- Draw the door swings, including the shower door, and make sure nothing sits in the arc.
- Decide the fixture order before rough in, because it’s locked once the pipes go in.
If a layout passes all five, it’s ready to price. If it only works by moving the toilet, get that move priced on its own first, because it’s usually the biggest number on the plan. For the rest of the project, from scope to budget, the complete bathroom remodeling guide walks through each stage.
When you’re ready to have someone check a layout against what’s actually inside your walls, 570 Remodeling can look at your bathroom and give you a free quote.
Frequently Asked Questions
How much space do you need in front of a toilet?
The residential code asks for at least 21 inches of clear floor in front of the toilet. The National Kitchen and Bath Association recommends 30 inches, which leaves room to stand up and turn without hitting the vanity or the door.
How far should a toilet be from the wall?
At least 15 inches from the center of the toilet to the side wall or the nearest fixture, under the code most towns enforce. NKBA recommends 18 inches. The distance from the back wall to the toilet bolts, called the rough in, is usually 12 inches, though older homes may have 10 or 14.
What is the minimum space in front of a shower?
The code minimum is 24 inches of clear floor in front of the shower opening. NKBA recommends 30 inches. If the shower has a hinged door, that door has to open out, so leave room for its swing too.
How wide should a bathroom walkway be?
About 30 inches lets one person move through comfortably. If you want one person at the sink while another walks behind them, plan on about 48 inches.
How far apart should two sinks be?
The code’s minimum is 30 inches between the centers of two sinks, and you’ll feel crowded at that spacing. NKBA recommends 36 inches, which gives each person enough elbow room to use their sink at the same time.
Is it worth changing a bathroom layout?
It depends on how far the plumbing moves. Rearranging fixtures along the same wet wall usually isn’t expensive. Moving the toilet across the room or onto another wall can add $500 to $5,000, depending on the distance and the floor framing, so it’s worth doing only when the current layout truly doesn’t work.
Get Your Free Quote
Tell us about your project and we will get back to you with a real number for your space. No pressure, no obligation.



