Replacement is the right answer when the tank itself has failed or when the next repair no longer makes economic sense. It is the wrong answer when a single part has failed on a sound vessel, and confusing the two is where money gets wasted.
The signals that point to replacement
A leak from the tank body, the base or a seam means the steel has failed. No repair closes that. Rust-coloured water with a depleted anode rod and visible corrosion points the same way. Repeated failures on a unit past ten years are the third signal: the parts are not the problem, the vessel is.
A failed thermocouple, element or valve on a younger tank is not a replacement signal, however inconvenient the timing.
Like-for-like or a different type
The simplest replacement keeps the fuel, the type and the location. Same gas tank in the same closet, same venting, same connections. That is also the version with the fewest surprises in the permit and inspection.
Changing type is a different project. A tankless replacement needs a gas supply sized for the burner, its own venting, and condensate handling on condensing models. Moving the unit changes the pipes, the vent and often the electrical supply. The installation page covers those conditions.
What the job involves
Removal of the old unit, and the water and gas shut-offs around it. Then the new unit set level on an approved base where required, connected, strapped, vented and filled. Air is purged from the tank and lines, joints are checked, and the temperature is set. Where the unit sits in a garage, the ignition source height and vehicle protection come into it.
Permit and strapping, every time
California requires a plumbing permit for a water heater replacement, even when the new unit matches the old one exactly. The inspection that follows is where strapping, venting clearance and the relief valve discharge are checked.
Section 507.2 of the Plumbing Code requires seismic strapping: two straps on tanks up to 52 gallons, an additional strap at 75 gallons, with the lower strap at least four inches above the controls. California's Health and Safety Code has required bracing on new and replacement units since 1991.
The cost conversation
The equipment is usually the smaller half of the bill. Venting, gas work, electrical work, the permit, the straps, access and disposal move the total more than most people expect. That is why two quotes for "a water heater" can differ by the price of the unit itself.
Replacement work runs across all fourteen covered places. If the leak is active, the emergency page covers what to shut off first.