Water heater permits and code in Santa Clara County
Replacing a water heater in California is permitted work, and for good reasons: the combination of gas, water under pressure, and earthquakes is exactly what the code items below exist for. This page summarizes what the rules require, how the permit-and-inspection process works in the cities we cover, and what it costs.
The permit requirement
Every city in Santa Clara County requires a permit for a water heater installation or replacement, including a like-for-like swap in the same location. The flow is simple for standard residential jobs:
- Apply — online in most cities here (below). Same-location replacements typically need no plans.
- Install — the work is done to California Plumbing Code standards.
- Final inspection — a city inspector verifies the installation; the permit is closed ("finaled") when it passes.
Only the property owner or a licensed contractor (or their authorized agent) can pull the permit. In practice, the installing contractor handles all of it — confirm that the permit and inspection are included in your quote.
How each city handles it
- San Jose — SJPermits.org. Water heater replacement permits are available online for single-family, multifamily, and commercial properties; separate online permit types exist for new electric heat pump and new tankless gas water heaters. San Jose currently charges no online issuance fee for water heater replacement permits; other fee components vary.
- Santa Clara — Permitting Online Portal (POP) and Building Simple Permits. "Residential Water Heater — like-for-like replacements" is expressly on the Simple Permits list, typically approved within 1–2 business days (single-family, duplex, and ADU properties only). Published fee: $244 for a like-for-like water heater permit, plus a $98 issuance fee and a small technology fee (schedule effective July 1, 2026). Permit Center: 1500 Warburton Avenue.
- Milpitas. The city's water heater handout (Office of Building Safety) states plainly: a new installation, relocation, or replacement requires a plumbing permit. Most swaps are filed online through the city's TRAKiT portal under dedicated permit types ("ONL WATERHEATER" for like-for-like; "ONL HP WH" for a gas-to-heat-pump switch within defined limits). Published fee: $365 for a water heater replacement (schedule effective November 2, 2026). If all work is exposed, only a final inspection is needed.
- Fremont. Permits run through the Citizen Access portal, which covers "basic home upgrade projects like water heater replacements" — apply, pay fees, and request inspections online. Fremont's published water-heater-specific fee was not posted in a simple form when we checked; expect it to be part of your contractor's quote.
- Cupertino. Water Heater Replacement is listed among the permits you can "apply, pay and print" on the Cupertino Online Permit Service Portal — but heat pump water heater permits are expressly not available on the portal and go in person or by email, with a sound-rating worksheet in the package. Cupertino's fee schedule is unit-based, so the all-in permit total depends on the specific items in your job.
More local detail lives on the city pages: San Jose · Santa Clara · Milpitas · Fremont · Cupertino.
The code items inspectors look for
Seismic strapping (California Health & Safety Code §19211). All new and replacement water heaters must be braced, anchored, or strapped to resist earthquake motion. The California Plumbing Code placement rule: straps within the upper third and lower third of the tank, with the lower strap at least 4 inches above the controls. This also matters when you sell: California sellers must certify in writing that the water heater complies.
T&P relief valve and discharge pipe (CPC §§504/608.5). Every water heater must have a temperature-and-pressure relief valve, with no shutoff valve between the valve and the tank or on the discharge pipe. The discharge must run by gravity to a safe point — commonly to the exterior, terminating 6 to 24 inches above the ground, pointing down.
Expansion tank (CPC §608.3). If your home has a pressure regulator, check valve, or backflow preventer — anything that stops expanded water from pushing back into the city main — an expansion tank must be installed near the water heater. If your static pressure is above 80 psi, a pressure regulator is required too.
Drain pan (CPC §507.5). Where a leak would damage the home — attic installations and interior locations — the heater sits in a watertight pan at least 1½ inches deep with a drain line to an approved location.
Gas safety basics. In a garage, burners and ignition sources must be at least 18 inches above the floor unless the unit is listed as flammable-vapor-ignition-resistant (FVIR), and the unit must be protected from vehicle impact. Gas water heaters can't go in bedrooms or bathrooms except in code-compliant dedicated closets or direct-vent configurations. Venting uses double-wall metal pipe with proper clearances and roof termination.
Energy standards. The replacement unit itself must meet current federal efficiency standards. Note the distinction that causes confusion: California Title 24's "electric-ready" requirements (reserved space, 240V circuit, condensate drain for a future heat pump unit) apply to new construction, not to replacing a water heater in an existing home.
What if you're switching types?
Relocating the heater, switching fuel, or converting to tankless or a heat pump model can add plan review, electrical or gas permits, and a longer timeline than a same-location swap. It is also when rebate applications matter — SVCE, for example, requires applying before installation. The contractor you are connected with will scope the permit path for your specific job; our heat pump page covers the current rebate landscape.
Questions about your city's process? Call (408) 555-0100 — or read your city's page above for its permit office and portal.
Sources: California Health & Safety Code §19211; California Plumbing Code provisions as quoted in City of Milpitas and City of Mountain View water heater handouts; City of San Jose online permits page and FY 2026-27 fee schedule; City of Santa Clara Building Simple Permits and minor permit fee schedule (July 1, 2026); City of Milpitas fee schedule (November 2, 2026); City of Fremont Permit Center and City of Cupertino online services pages. Checked October 2026. This page is a summary, not legal or code advice — your city's building department is the final authority.
Frequently asked questions
Is a permit required to replace a water heater with the same kind?
Yes. California cities in Santa Clara County require a plumbing/building permit for a new installation or a replacement — there is no like-for-like exemption. The good news: for same-location residential swaps, several cities issue permits online with little or no plan review.
What does the inspector actually check?
The big items: seismic straps (two, in the upper and lower thirds of the tank), the T&P relief valve and its discharge pipe terminating safely outside, a drain pan where a leak could cause damage, proper venting on gas units, the ignition source height in garages, and an expansion tank where the home has a closed system.
What happens if a water heater was installed without a permit?
It can surface at inspection time, at resale, or after a problem. California home sellers must certify in writing that the water heater is braced and strapped to code, and unpermitted work can delay a sale or require a retroactive permit. If you inherited an unpermitted install, a contractor can tell you what bringing it into compliance involves.
Do I have to make my home 'heat pump ready' when I replace a gas water heater?
No. California's electric-ready requirements (a reserved space, 240V circuit, and condensate drain for a future heat pump water heater) apply to new construction, not to like-for-like replacements in existing homes. You may still choose to switch — rebates are strong right now — but replacement does not force it.
Ready to talk to a local contractor?
Call (408) 555-0100 — or, if now is not a good time to talk, leave a message and a contractor will call you back.