Gas water heaters fail in ways that are usually diagnosable and often repairable: the pilot will not stay lit, the burner will not ignite, the flame is lazy or yellow, the unit trips its safety switch, or the heater runs but produces less hot water than it should.
Ignition and flame
The pilot or electronic ignition is the first thing most people notice. A thermocouple or thermopile that no longer generates enough voltage will shut the gas valve down, which looks like a pilot that refuses to stay lit. A dirty pilot orifice, a failed igniter, a gas control that will not open or a safety switch on a sealed-combustion unit can produce the same result.
Testing the components is what separates them. Replacing a thermocouple because it is the cheapest guess is not diagnosis; it may also leave the actual fault — a draft, a blocked flue or a failing gas valve — in place.
Combustion and venting
A clean blue flame is the sign of correct combustion. Yellowing, soot, scorching at the flue or a burner that lifts or floats point to a problem with gas pressure, air supply or the flue. Atmospheric units rely on a draft; a blocked flue, a disconnected vent connector, a damaged cap or a fan that has failed on a power-vented unit can cause combustion gases to spill rather than leave the building.
Venting requirements are specific: Type B gas vents must run generally vertically, terminate correctly above the roof and maintain clearances. A repair that ignores a venting defect is not complete.
The sealed-combustion difference
Units with a sealed combustion chamber and a flame-arrestor rely on gaskets, a sight glass and a thermal switch. A failed gasket or a blocked air intake can shut the unit down, and the repair is different from work on an open-atmospheric burner. We check which type the unit is before diagnosing.
Safety boundaries
A gas smell is not a diagnostic puzzle. Leave the building and call the gas utility from outside. Do not relight, do not test with a flame, and do not bypass a safety device. Once the supply is off and the area is safe, we can assess the heater. If the fault involves the gas piping beyond the appliance connector, that is utility or licensed gas-piping work, not a heater repair.
If the unit has failed and cannot be repaired safely, replacement is the next conversation.