Repiping and Code Compliance: What Your City Requires

Updated June 2026
A whole house repipe requires a plumbing permit and at least one inspection in nearly every jurisdiction in the United States. The permit costs $75 to $350 depending on your city, and the inspection verifies that the new plumbing meets the applicable building code before the walls are closed up. Your licensed plumber should handle the permit application and schedule the inspection as part of the project. Skipping the permit creates legal, insurance, and resale problems that cost far more than the permit fee.

Why Permits Are Required for Repiping

A whole house repipe is classified as major plumbing work because it replaces the entire water supply distribution system. Building codes require permits for major plumbing work to ensure public health and safety. The permit system accomplishes two things: it requires that the work be done by or under the supervision of a licensed plumber, and it requires that the completed work be inspected by a municipal building official before the walls are closed.

The permit requirement applies regardless of the pipe material being installed. Whether you are repiping with PEX, copper, or CPVC, the same permit and inspection process applies. The specific code requirements for each material differ (PEX and copper have different fitting standards, support spacing requirements, and connection methods), but the permit and inspection process is the same.

Which Code Applies

The United States does not have a single national plumbing code. Instead, each state or municipality adopts one of the model plumbing codes, sometimes with local amendments. The two most widely adopted model codes are:

  • International Plumbing Code (IPC): Published by the International Code Council (ICC). Adopted in most states, particularly in the eastern half of the country.
  • Uniform Plumbing Code (UPC): Published by the International Association of Plumbing and Mechanical Officials (IAPMO). Adopted primarily in western states including California, Oregon, Washington, and others.

Both codes cover the same fundamental requirements for residential water supply systems: pipe material approvals, minimum pipe sizing, support and hanging requirements, testing procedures, and connection standards. The differences between the two codes are mostly technical details that your licensed plumber already knows. As a homeowner, you do not need to know which code your city follows. That is the plumber's and inspector's responsibility.

The Permit Process

Here is what happens from permit application through final inspection:

Step 1: Application. The licensed plumber submits a permit application to the local building department. The application describes the scope of work (whole house repipe), the materials being used (PEX, copper), the number of fixtures being connected, and the contractor's license information. Some jurisdictions accept applications online, others require an in-person visit to the building department.

Step 2: Permit issuance. The building department reviews the application and issues the permit, usually within one to three business days. The permit must be posted at the property (typically taped to a window or posted on a board near the front door) during the work.

Step 3: Rough-in work. The plumber does the repipe work with the walls open so the inspector can see the new pipe routing, connections, and fittings.

Step 4: Rough-in inspection. The plumber schedules an inspection when the new pipes are installed but before the walls are closed with drywall. The inspector visually examines the pipe routing, checks that the correct materials and fittings are used, verifies that the pipe is properly supported and hung at the required intervals, confirms that hot and cold lines are correctly identified and separated, and may require a pressure test. The pressure test involves pressurizing the new system (typically to 80 to 100 psi) and holding for a specified period (15 to 30 minutes) to verify that no connections leak.

Step 5: Corrections (if needed). If the inspector finds code violations, the plumber corrects them and schedules a re-inspection. Common corrections include adding pipe supports, adjusting valve locations, and replacing fittings that do not meet the approved standard.

Step 6: Final approval. Once the inspector is satisfied, they sign off on the permit. The walls can now be closed with drywall. Some jurisdictions also require a final inspection after the walls are closed and the system is fully operational, but many consider the rough-in inspection sufficient for a repipe.

Permit Costs

Plumbing permit fees vary by jurisdiction but typically fall in these ranges:

  • Small cities and rural counties: $50 to $150
  • Mid-size cities: $100 to $250
  • Large cities and high-cost areas: $150 to $350

Some jurisdictions charge a flat fee for whole house repipe permits, while others calculate the fee based on the number of fixtures or the project valuation. Your plumber can tell you the exact permit cost for your city before the project begins. Many plumbing companies include the permit fee in their repipe quote, but ask explicitly to be sure.

Common Code Requirements for Residential Repipes

While the full plumbing code is extensive, these are the requirements most relevant to a whole house repipe that the inspector will check:

  • Approved materials. The pipe and fittings must be listed and approved for potable water use. PEX, copper, and CPVC are all approved materials. The specific brand and type must carry the appropriate certification marks (NSF/ANSI 61 for health effects, NSF/ANSI 14 for PEX pipe).
  • Pipe sizing. The main supply line and branch lines must meet minimum diameter requirements based on the number and type of fixtures being served. Under-sized pipe causes pressure problems. Your plumber calculates the correct sizing based on the fixture count and the incoming water pressure.
  • Support spacing. Pipes must be supported (hung or clamped) at specified intervals to prevent sagging. PEX requires support every 32 inches for horizontal runs. Copper requires support every 6 to 10 feet depending on the pipe size and orientation.
  • Thermal expansion. PEX systems connected to a closed water system (one with a check valve or pressure-reducing valve that prevents water from flowing back to the street) must include a thermal expansion tank. When water is heated, it expands, and in a closed system with no expansion tank, the pressure spikes can damage fittings and fixtures.
  • Backflow prevention. The connection point where the home's plumbing meets the municipal supply must include an appropriate backflow prevention device to prevent contaminated water from flowing backward into the public water system.
  • Lead-free compliance. All materials in contact with potable water must comply with the Safe Drinking Water Act's lead-free requirements (weighted average of 0.25 percent lead for wetted surfaces).

What Happens If You Skip the Permit

Unpermitted plumbing work creates several problems that can cost far more than the permit fee:

  • Insurance claims may be denied. If an unpermitted plumbing installation causes water damage, your homeowner's insurance company may deny the claim on the grounds that the work was not done to code and was not inspected. This leaves you responsible for the full cost of the water damage restoration.
  • Selling the home becomes complicated. When you sell, the buyer's home inspection or title search may reveal unpermitted work. Buyers may demand that you obtain a retroactive permit (which requires opening the walls for inspection), reduce the price to compensate for the risk, or simply walk away from the deal. See the repiping before selling guide for how proper documentation affects resale.
  • Fines and penalties. If the building department discovers unpermitted work (through a neighbor complaint, a future permit application that reveals the undisclosed work, or a property transfer inspection), they can issue fines and require you to expose the work for inspection at your expense.
  • Quality risk. The inspection exists to catch mistakes. Even experienced plumbers occasionally make errors that an inspector catches. Without the inspection safety net, a faulty connection or undersized pipe may go undetected until it causes a problem.
Key Takeaway

Always pull a permit for a whole house repipe. The $75 to $350 permit fee is insignificant compared to the project cost, and the inspection protects you from installation errors, insurance claim denials, and resale complications. Your licensed plumber should handle the permit process as a standard part of the job.