Plumbing Code Requirements
What Homeowners Need to Know

Code violations discovered at sale โ€” or after a flood โ€” can cost thousands. Know the rules before you start.

Updated March 2026 ยท 11 min read

Most homeowners only discover plumbing code violations in one of three ways: when trying to sell their home, when filing an insurance claim after a water damage incident, or when an inspector finds unpermitted work. None of these situations is pleasant, and all of them are expensive. Understanding the basics of plumbing code compliance doesn't require becoming a plumbing expert — but it does require knowing when a permit is required and what "code compliant" actually means for the work in your home.

What Is the Plumbing Code?

Plumbing codes are standards that govern how plumbing systems must be designed, installed, and maintained. They exist to protect public health (preventing sewage contamination of drinking water), prevent property damage (flood prevention), and ensure safety (gas line standards, water temperature controls).

Most of the United States follows one of two model codes:

However, every city and county can adopt, modify, or add to these model codes. This means code requirements in Houston may differ from those in Denver or Chicago. Always verify with your local building department for specific requirements in your jurisdiction.

When Is a Plumbing Permit Required?

This is the question homeowners most frequently get wrong. A general rule: any new installation, replacement, or significant modification of plumbing systems requires a permit. Repairs to existing systems often don't. Specifically:

Work That Typically Requires a Permit

Work That Typically Does NOT Require a Permit

โš ๏ธ When in doubt, call your local building department

Permit requirements vary by jurisdiction. A 2-minute call to your local building department's permit office can save you from costly compliance issues. Most municipalities are helpful to homeowners asking proactively.

Common Plumbing Code Violations Found in Homes

These are the violations most frequently cited by inspectors during home sales and insurance claims:

1. Missing or Improperly Sized P-Traps

Every drain fixture (sinks, tubs, showers) must have a P-trap — the curved pipe that holds water and blocks sewer gases from entering your home. Missing P-traps, S-traps (prohibited in most codes), and incorrectly positioned traps are common violations in older homes and DIY work.

2. Inadequate Venting

Every drain in a home must be properly vented to allow air into the system so wastewater can flow freely. Improper venting causes slow drains, gurgling, and sewer gas entry. Adding plumbing without proper vent connections is a very common code violation from unpermitted work.

3. Improper Pipe Materials

Lead pipes and lead solder (banned since 1986), galvanized steel pipes in active service systems, and polybutylene pipes (recalled for high failure rates) are all problematic. Mixing incompatible metals without dielectric fittings causes accelerated corrosion. Using non-rated pipes for specific applications also violates code.

4. Incorrect Water Heater Installation

Water heaters must have a temperature and pressure (T&P) relief valve that drains to within 6 inches of the floor or outside, proper seismic strapping in earthquake zones, adequate clearances, and proper venting. DIY water heater replacements frequently miss one or more of these requirements.

5. Cross-Connections Between Supply and Drain Lines

Any connection between potable (drinking) water and non-potable water or drain systems is a serious code violation. This includes improper dishwasher installations without air gaps, and garden hose connections that can back-siphon water from landscaping chemicals into the supply line.

6. Improper Pipe Support and Slope

Drain pipes must slope at the correct angle (¼ inch per foot for horizontal runs) for proper self-cleaning flow. Supply pipes require hangers at specified intervals. Improperly supported pipes vibrate, leak at joints, and can sag until they collect water and debris.

What Happens If You Have Unpermitted Plumbing?

Unpermitted plumbing work creates several real risks:

How to Stay Code-Compliant: The Practical Approach

  1. Hire licensed plumbers for any permit-required work. Licensed plumbers know local code requirements, pull permits on your behalf, and ensure inspections are scheduled. Their license is on the line — this creates accountability DIY work doesn't have.
  2. Verify your plumber pulls permits. Ask directly: "Will you be pulling a permit for this job?" A plumber who refuses to pull permits for work that requires them is a red flag.
  3. Keep copies of permits and inspection records. These documents have value when you sell your home — they prove work was done correctly and inspected.
  4. For older homes, get a plumbing inspection. Homes built before 1990 may have lead pipes, galvanized steel, or polybutylene that creates compliance and health issues.

Need a licensed plumber for permitted work in your area? Search the National Plumber Connect directory for verified, licensed professionals near you.

Find a Licensed, Permitted Plumber Near You

Only work with licensed plumbers who pull permits. Find verified professionals in your area โ€” free quotes, no obligation.

Find a Licensed Plumber โ†’

Related Articles

How to Find a Licensed Plumber

What to look for, questions to ask, red flags to avoid.

DIY Plumbing Mistakes to Avoid

The mistakes that turn small jobs into expensive problems.

Browse Plumbers Emergency PlumbingDrain CleaningWater Heater RepairPipe Repair BlogFAQAbout ContactPricing Customers Login Plumbers Login List your business Sign up free