A storage tank is a pressure vessel with a small set of wearable parts bolted to it. Almost everything that fails on a tank can be replaced except the tank itself, which is why the repair decision is really a question about the shell and the remaining life.
The parts that fail, and what they do
The temperature-and-pressure relief valve. A safety valve that opens at its rated pressure or temperature. It leaks, weeps or fails to reseat, and it can also be the messenger for a pressure problem.
The drain valve. Sits at the base, where sediment collects. It drips, seizes or will not close after being opened.
Nipples and unions. The connections at the top of the tank. Corrosion here produces a leak that looks like a tank leak from below.
Anode rod. A sacrificial rod that corrodes instead of the steel. When it is used up, the tank begins to corrode from the inside.
Elements and thermostats. On electric units, the parts that heat the water and decide when to stop. On gas units, the thermocouple or igniter and the gas valve take that role.
Expansion tank. On a closed system, absorbs the water's expansion as it heats. A failed one shows up as a relief valve that keeps discharging.
The shell is the line
Water through the tank wall, at a seam or up through the base is the end of the repair route. Everything above can be replaced, and the question becomes whether replacing it is worth the remaining life of the tank.
Irvine's water is a blend of groundwater and harder imported supply, and sediment collects at the base where the drain valve and the lower element sit. A tank that has never been flushed is more likely to have seized valves, a scaled lower element and a shortened life, and it is also the tank where a repair reveals a second problem.
Pressure and the relief valve
A relief valve that keeps opening is not usually a faulty valve. On a closed system, heating water expands and the pressure has nowhere to go, so the valve does its job. The fix is an expansion tank sized for the system, and sometimes a check on the pressure regulator. Replacing the valve alone produces the same discharge a week later.
Gas or electric, same tank, different parts
On a gas tank, the burner, thermocouple, igniter and flue are the parts that decide whether the water heats, and the tank itself is the same steel vessel. On an electric tank, the elements and thermostats do that job, and the circuit has to be sound. The repair logic is identical: locate the fault, replace the part, leave the shell alone.
What a repair should include
Alongside the failed part, a repair visit is the moment to look at the things that are cheap now and expensive later: the relief drain termination, the seismic straps, the shut-off valve above the heater, and the anode if the tank is more than a few years old. Those checks are what separate a repair that lasts from one that returns.
Cost and the honest comparison
Parts are modest; access and diagnosis are what the visit costs. The comparison that matters is the repair price against the remaining life of the tank. A valve on a six-year-old unit is easy to justify; the same valve plus an element plus a drain valve on a thirteen-year-old tank is a down payment on a replacement, and the replacement happens anyway.