California Plumbing Code Underground Water Line Requirements

California’s underground water line requirements come from the California Plumbing Code, adopted statewide and often amended locally. For the service line running from your meter to the building, the code sets the pipe materials you can use, how deep to bury them, how far they must sit from sewer lines, how the finished line is tested, and who has to inspect it before you cover the trench. Local jurisdictions enforce the CPC through their building departments and may add stricter rules, so a call to your city or county before you start is the first real step.

Call DigAlert Before You Dig

California law requires you to contact DigAlert at 811 (or online) at least two full working days before excavation. The day you call does not count. Utility locators then mark buried gas, electric, water, sewer, and communications lines with color-coded paint or flags: blue for potable water, green for sewer and drain.

Penalties for skipping notification are steep. A negligent violation can cost up to $10,000, a knowing and willful violation up to $50,000, and a violation that damages a gas or hazardous liquid pipeline and causes a release can reach $100,000.1DigAlert. Past Changes to CA Government Code 4216 Both contractors and homeowners are on the hook. The call is free.

Approved Pipe Materials

Every pipe used for an underground potable water service line must meet NSF/ANSI 61, which limits contaminants that can leach from pipe materials into drinking water.2NSF. NSF/ANSI 61 Drinking Water System Components – Health Effects All underground piping must carry a minimum working pressure rating of 160 psi. Materials commonly approved for this work include:

  • Copper tubing, Type L or Type K. Type K has a thicker wall and is preferred in many jurisdictions for direct burial. Expected lifespan runs 50 to 70 years.
  • Cross-linked polyethylene (PEX). Flexible, corrosion-resistant, and lifespan around 40 to 50 years.
  • High-density polyethylene (HDPE). Comes in continuous rolls, which cuts the number of underground joints on long runs.
  • Chlorinated polyvinyl chloride (CPVC). Rigid plastic rated for hot and cold water, though some local amendments restrict underground use.

The minimum size for a building water supply pipe is three-quarters of an inch. Actual required size depends on fixture count and available street pressure, and your local building department or water utility will specify the sizing based on CPC Table 610.4.

When two different metals connect (copper to galvanized steel is the classic case), a dielectric union or approved transition fitting is required to prevent galvanic corrosion.3City of Milpitas. Potable Water Service Piping (Commercial)

Lead-Free Rule

California’s Health and Safety Code requires every pipe, fitting, fixture, solder, and flux in a potable water system to be lead-free. For pipes, fittings, and fixtures, that means a weighted average of no more than 0.25 percent lead across all wetted surfaces. For solder and flux, the limit is 0.2 percent. Selling non-lead-free solder or flux for plumbing use is illegal in California, and any non-lead-free solder must carry a label warning against use in drinking water systems.4California Department of Toxic Substances Control. Lead in Plumbing HSC 116875 If you’re buying your own materials, look for the “lead-free” marking.

Trench Depth, Bedding, and Backfill

The CPC requires a minimum of 12 inches of soil cover over both metallic and nonmetallic water service piping below finished grade.5City of Menifee. Burial Depths for Yard Piping and Conduit Where a local frost line exists (mostly higher-elevation mountain areas), the pipe must be buried below that frost depth. Most of populated California has no meaningful frost line, so 12 inches is the number usually enforced.

The trench bottom matters as much as the depth. Pipe has to rest on a firm, continuous bed. If the excavation hits rock, remove it to at least six inches below the pipe bottom and replace with clean sand, gravel, or similar granular bedding. Backfill around and above the pipe has to be free of rocks and sharp debris, especially for plastic pipe, where a single stone pressing against the wall under soil load can eventually cause a failure. For plastic and copper pipe at six inches and smaller, fill material in direct contact with the pipe should have a maximum particle size of roughly half an inch.

Tracer Wire on Plastic Pipe

Standard pipe locators can’t find plastic. The CPC requires a copper tracer wire in the trench alongside any nonmetallic pipe, running its full length, with both ends terminating above ground so the wire can be connected to a locating transmitter later.5City of Menifee. Burial Depths for Yard Piping and Conduit Required wire gauge varies by jurisdiction, with some requiring 14 AWG and others 18 AWG. A missing tracer wire is one of the most common inspection failures.

Separation From Sewer Lines and Other Utilities

Under Title 22 of the California Code of Regulations, new water mains and supply lines must sit at least 10 feet horizontally from any parallel sewer pipe carrying untreated or treated sewage, and at least one foot vertically above it. Water and sewer cannot share the same trench.6Cornell Law School. Cal. Code Regs. Tit. 22, 64572 – Water Main Separation For storm drains and tertiary-treated recycled water lines, horizontal separation drops to four feet, but the one-foot vertical clearance still applies.

When a water line must cross a sewer, the water line passes over the sewer at an angle of at least 45 degrees, maintains at least one foot of vertical clearance, and has no joints within eight horizontal feet of the sewer pipe.6Cornell Law School. Cal. Code Regs. Tit. 22, 64572 – Water Main Separation Additional setbacks apply near septic tanks (25 feet), leach fields (25 feet), and landfills or hazardous waste sites (100 feet). These distances protect drinking water if a sewer line leaks.

Pressure Testing and Inspection

Before any backfill goes into the trench, the finished water service line has to pass a pressure test witnessed by a local building inspector. The line is filled with water, pressurized, and held for at least 15 minutes with no leaks.3City of Milpitas. Potable Water Service Piping (Commercial) The specific test pressure varies by jurisdiction. Some require the line to hold at the water supply pressure, others set a higher threshold. Confirm the number with your building department before the inspection, because the wrong pressure means a failed test and a return trip.

The test gauge itself must have increments of 1 psi or less, per CPC Section 318, so a slow leak will actually show up on the dial.

Don’t Air-Test Plastic Pipe

Some contractors try compressed air instead of water. For plastic pipe this is extremely dangerous. PVC and other thermoplastics under air pressure don’t just leak when they fail; they shatter and send fragments outward. OSHA has documented multiple injuries from the practice, and PVC manufacturers have called the risk “extreme.”7Occupational Safety and Health Administration. OSHA Hazard Information Bulletins The Use of Polyvinyl Chloride (PVC) Pipe in Above ground Installations The CPC restricts air testing of plastic pipe, and several states have banned the practice outright. Test with water unless your inspector specifically authorizes otherwise for a non-plastic material.

Inspection Sequence

Expect two inspections. The first is the underground plumbing inspection, scheduled once the line is installed and pressurized but with the trench still open. The inspector checks pipe material, joint methods, trench depth, tracer wire, separation distances, and witnesses the pressure test. Only after sign-off can backfilling begin.3City of Milpitas. Potable Water Service Piping (Commercial) Backfilling earlier can force you to dig the entire line back up.

The second inspection is final, scheduled after backfill, surface restoration, and any above-ground connections are complete. Passing it closes the permit.

Permits and the Owner-Builder Exemption

A building permit from your local jurisdiction is required for any new installation or significant replacement of an underground water service line. The application typically asks for a site plan showing pipe route, materials, and sizing. Fees vary by city and county.

California law lets homeowners perform work on their own principal residence without a contractor’s license, provided they’ve lived in the home for at least 12 months before completing the work, the work is done before any sale, and they haven’t used the exemption on more than two structures in any three-year period.8Contractors State License Board. Building Officials – Owner-Builder Overview You still need the permit, you still need the inspections, and you’re held to the same code standards as a licensed plumber. The exemption only covers who swings the shovel.

What Happens If You Skip the Permit

Unpermitted underground water line work tends to surface at the worst moment: a home sale, a remodel, or a water damage claim. When it does, the local jurisdiction can require you to expose the buried line, pull a retroactive permit (often at a penalty fee higher than the original would have cost), and pass the same inspections you tried to avoid. If the work doesn’t meet code, you may be ordered to tear it out and redo it.

The downstream effects reach further. Unpermitted work must be disclosed to buyers in California, and the new owner inherits the liability. Appraisers can reduce the home’s value, lenders may refuse to finance the purchase, and title insurers may add exceptions. Home insurers can deny coverage for water damage tied to unpermitted plumbing, and an insurer that discovers undisclosed unpermitted work after a claim may raise premiums, limit coverage, or cancel the policy.