ApplianceCutout

Toilet Clearance Code Visualizer (IPC / IRC)

IPC §405.3.1 / IRC R307.1 & NKBA

Verify minimum 15" side wall centerline (18" NKBA), 21" front clearance (24"–30" NKBA), and 10" / 12" / 14" rough-in flange distance.

Last verified: Dec 2026Basis: International Plumbing Code §405.3.1, IRC R307.1 & NKBA100% Free & Local · Methodology

Toilet Centerline & Front Space

16"
in
16"
in
24"
in
Flange Rough-In Distance (Rear Wall to Bolts)
Worked Example

14-1/2" Side Centerline Fails Inspection vs 16" × 24" Code Pass

A bathroom vanity upgrade narrows the left side wall centerline distance of a 12" rough-in toilet to 14-1/2", with 24" clearance in front.

  1. Minimum side centerline required by IPC §405.3.1 & IRC R307.1 is 15" on BOTH left and right sides (30" total compartment width).
  2. At 14-1/2" side distance, the layout fails inspection by 1/2" → Fails Minimum (15" required).
  3. Shifting the vanity 1-1/2" (creating 16" side centerline and 24" front) switches the result to Code Compliant.
Field Takeaway: Measure from the finished side wall or vanity countertop overhang—not bare wall studs—before anchoring the flange.
Geometry & Code Reference

IPC / IRC vs NKBA Toilet Clearance Standards

  • Side Centerline Clearance: Minimum 15" from toilet flange centerline to any side wall, bathtub, or vanity edge (30" total clear width). NKBA recommends 18" per side (36" total).
  • Front Bowl Clearance: Minimum 21" from front edge of toilet bowl to any opposite wall, vanity, or door swing (24" under some local codes; 30" NKBA recommended).
  • Rough-In Distance: Measured from the finished rear wall (excluding baseboard) to the center of the closet bolts—12" is standard in 95% of US homes (older homes may use 10" or 14").

US Toilet Clearance & Rough-In Reference Chart

MeasurementIPC / IRC MinimumNKBA RecommendedInspection Pitfall
Side Wall to Centerline15" min each side18" each sideMeasure from vanity overhang, not box
Total Compartment Width30" clear min36" clearWater closet enclosures need 30"×60"
Front of Bowl to Wall/Fixture21" min (24" local)30" recommendedCheck elongated (+2") vs round bowl
Rear Wall to Flange Bolts12" US Standard10" or 14" specialtyMeasure from finished drywall, not trim
Frequently Asked Questions

Common Installation & Code Questions

What is the minimum side clearance for a toilet under US building code?+

Both the International Plumbing Code (IPC §405.3.1) and International Residential Code (IRC R307.1) require at least 15 inches from the centerline of the toilet to any side wall, partition, vanity, or bathtub—yielding a 30-inch minimum clear width.

How much front clearance is required in front of a toilet?+

IRC and IPC require at least 21 inches of clear floor space in front of the toilet bowl, though several jurisdictions (such as UPC states) require 24 inches and NKBA recommends 30 inches for comfort.

Does the 15-inch side rule apply to the vanity cabinet or the countertop overhang?+

Inspectors measure to the closest finished obstruction, which is the edge of the vanity countertop overhang—not the recessed cabinet box below it.

How do I measure whether my toilet has a 10", 12", or 14" rough-in?+

Measure straight from the finished rear wall (above the baseboard) to the center of the toilet floor bolts holding the base down. Nearly all modern US homes use a 12-inch rough-in.

Can switching from an elongated to a round toilet fix a tight front clearance?+

Yes. A round-front toilet is roughly 2 inches shorter than an elongated bowl (~26-1/2" vs ~28-1/2" total depth), which can recover the 2 inches needed to clear a bathroom door or hit the 21" code minimum.