Skip to content
Gloved hands working on brass valves and a manifold in water-heater piping

Repair or Replace a Water Heater?

How age, the kind of failure and California’s replacement rules point toward a repair or a new water heater, with what changes for Santa Clara and San Mateo homeowners.

Last reviewed:

When a water heater stops working or starts leaking, the question is whether to repair or replace the water heater. Plenty of failures are cheap to fix: a pilot assembly, an igniter, a heating element, a thermostat. Others mean the tank itself has failed, and no part will save it. Age, efficiency and, in the Bay Area, upcoming air rules and rebate timing all feed into the decision. This guide covers storage-tank heaters mainly, with notes on tankless and heat pump units.

The quick answer by symptom

What’s happeningOften repairable?Notes
Water leaking from the tank body or seeping from under the jacketNoAn inner tank leak can’t be repaired; plan a replacement
Leak at a pipe connection, drain valve or relief valveUsuallyFittings and valves can be replaced; a relief valve that discharges may signal high pressure or temperature
Gas unit: pilot won’t stay lit or burner won’t lightUsuallyThermocouple, flame sensor, igniter or gas control valve
Electric unit: lukewarm or no hot waterUsuallyHeating element or thermostat; a tripped high-limit
Rusty or smelly hot waterSometimesAn anode rod replacement can help if the tank is sound
Rumbling or poppingSometimesSediment; draining helps if caught early
Hot water runs out quicklySometimesA broken dip tube or element, or a tank too small for current use
These are common patterns, not diagnoses. A plumber confirms the cause before recommending parts or a new unit.

If you have no hot water right now and want to work through causes first, start with water heater not working.

Age, condition and efficiency

The manufacture date is on the rating plate, sometimes encoded in the serial number. Storage tanks are often quoted as lasting around 8 to 12 years, and tankless units longer with regular descaling, but real life varies with water quality, maintenance and installation. Very hard water, like that from City of Santa Clara wells, builds sediment faster than San Mateo’s soft SFPUC-sourced supply.

  • Young heater, single part failure: repair is usually the sensible call.
  • Older heater, first minor repair: repair can still make sense, but ask the plumber to look at the tank bottom, venting and anode while they’re there.
  • Older heater, repeated repairs or visible rust at the base: money spent on parts may be better put toward a planned replacement.
  • Any heater with a leaking tank: replace.

Efficiency matters too. A newer unit, and particularly a heat pump water heater, can use far less energy than an old tank. That alone rarely justifies replacing a sound heater, but it tips the balance when a repair is costly.

What the rules say when you replace

Permit, strapping and safety devices

A replacement needs a permit in both cities. Santa Clara requires a plumbing permit before work starts; like-for-like replacements at single-family homes, duplexes and ADUs can use the City’s Simple Permits, usually approved in one to two business days, followed by a final inspection. San Mateo lists water heater replacement on its Express Building Permit list, issued over the counter. State law requires every water heater to be braced or strapped against earthquakes, and the plumbing code requires an expansion tank on closed systems and a properly routed relief valve discharge. Water heater permits and installation rules has the details and fees.

Fuel type under the 2025 Energy Code

For single-family replacements under the 2025 California Energy Code, Section 150.2(b)1Hiiia still allows a gas or propane water heater, so a gas-to-gas replacement remains an option at the state level. If the heater you’re replacing is electric resistance, the replacement must be a consumer electric water heater: electric storage, electric tankless or heat pump (150.2(b)1Hiiid). You can’t switch from electric to gas under that path. Field verification is generally not required for water heater replacements.

Local reach codes

San Mateo’s reach code requires a heat pump water heater when an addition or alteration project includes a water heater replacement. We couldn’t confirm whether a stand-alone replacement with no other work triggers it, so ask the building division before choosing a unit. Santa Clara’s reach code applies to new construction, and its FAQ says owners don’t have to replace existing gas appliances with electric.

The air district’s 2028 date

The Bay Area Air Quality Management District’s zero-NOx water heater rule now applies to residential water heaters from January 1, 2028, after a November 2026 vote moved it back a year. It applies only at replacement, and it includes exemptions for low-income owners and homes with electrical or space constraints. A gas heater replaced before then can be gas; one that fails after that date generally can’t be replaced with a standard gas model. If your heater is approaching the end of its life, that’s a reason to plan rather than wait for a failure.

Planning a replacement before it fails

  1. Note the age and type. Photograph the rating plate and the space around the heater.
  2. Decide whether you’d consider a heat pump. It needs air volume, a condensate drain and usually a dedicated circuit. Tank vs tankless vs heat pump compares the types.
  3. Check rebates before any work. Silicon Valley Power offers up to $5,500 for gas-to-heat-pump conversions in Santa Clara and requires pre-approval and a City permit. Peninsula Clean Energy lists $3,500 for gas to heat pump and $500 for electric resistance to heat pump in San Mateo.
  4. Have electrical capacity checked if switching fuel; a panel upgrade adds time.
  5. Line up a licensed C-36 contractor and the permit so a planned swap takes hours, not an emergency weekend.

If you smell gas near the water heater, don’t try to relight it. Leave the house, avoid switches and flames, and call the gas utility from outside. For a leaking tank, close the cold-water valve on top of the heater if you can reach it safely and turn a gas unit’s control to off or pilot; for electric units, leave the breaker to someone who knows the panel. Hot water and steam from a relief valve can scald.

Tankless and heat pump units

Tankless heaters have more serviceable parts than a tank, including sensors, fans, igniters and flow switches, and a scaled heat exchanger can often be cleaned. That shifts the balance toward repair, provided parts are available. Heat pump units combine a tank with a compressor and controls; compressor or control faults can be repaired under warranty or by a qualified technician, but a leaking tank means replacement just as with a conventional heater. See tankless water heaters and heat pump water heaters.

Repair-or-replace questions

Can a water heater leaking from the bottom be fixed?

It depends where the water comes from. A dripping drain valve or water running down from a fitting above can be repaired. Water coming from the tank itself, often seen as rust and seepage at the base, means the inner tank has corroded through and the heater needs replacing.

Is it worth replacing the anode rod on an older heater?

On a tank in good condition, a new anode can extend its life, because the anode corrodes instead of the tank. On an older heater with rust at the base or leaks, it’s usually too late to help.

Can I swap my electric water heater for a gas one?

Not under the standard replacement path in the 2025 Energy Code. When the existing heater is electric resistance, the replacement must be electric storage, electric tankless or a heat pump. Ask the building department if you have an unusual situation.

Do I need a rebate approved before the old heater is removed?

For Silicon Valley Power’s heat pump rebate, yes: pre-approval and a City permit are required. Other programs have their own terms. If your heater fails suddenly, ask about rebate rules before agreeing to an emergency replacement.

Related

Water heaters

Not sure whether to fix it?

Have the heater’s age, fuel type and the symptom ready. A photo of the rating plate saves a step.

Sources: California Energy Commission, Energy Code Support Center; CEC, 2025 Energy Code overview; City of San Mateo, reach code FAQs; City of Santa Clara, reach code; City of Santa Clara, water heater bulletin GP09; City of San Mateo, Express Building Permits; Health and Safety Code §19211; BAAQMD, water heater rule amendments (Nov. 2026); Silicon Valley Power, water heater rebates; Peninsula Clean Energy, rebate terms (May 2026); Valley Water, hard water. Reviewed November 2026.

Call for plumbing help(866) 228-6880