Most water heater questions reduce to two things: where the fault is, and whether the unit is worth another repair. The answers below are the ones that come up most often, and the services overview shows where each situation leads.
Leaks and water
A leak is the symptom that decides the most. Water around a fitting, valve or element is a component failure. Water from the tank body or the base is a failed shell, and no part replaces a rusted-through wall. If water is spreading, shut the inlet valve and call rather than waiting to see whether it stops.
Hot water that is not right
Running out early, lukewarm showers and rusty water are all symptoms with more than one possible cause. On an electric unit, a failed lower element leaves some hot water at the top of the tank, which is why "it is warm but never hot" is worth mentioning. On a gas unit, ignition faults and thermostat problems look different from a tank that cannot keep up.
Age, repair and replacement
Manufacturers commonly describe tank life as eight to twelve years and tankless life as fifteen to twenty, both assuming maintenance. Past ten years, the question shifts from what failed to what the next five years will cost. A repair priced near half of a replacement on an old tank is a signal, not a bargain.
Code items around a replacement
California requires a plumbing permit for a water heater replacement, and the Plumbing Code requires seismic strapping. A permit is not paperwork for its own sake: the inspection is when venting clearance, combustion air and strapping get checked. The replacement page walks through both.
Tankless questions
Tankless changes the constraints rather than removing them. Venting is model-specific, gas lines often need upsizing, and scale in the heat exchanger becomes the maintenance item. It is a good fit in some homes and an expensive fit in others, and the tankless page covers where the cost sits.
Before you call
Have the fuel type, the tank size or model number, the location of the unit and its approximate age ready. If you have shut the water off, mention that too. Those four details decide most of what follows, and they are the reason a phone call is quicker than a form.