A gas water heater needs three things to work: ignition that proves itself, a burner that burns cleanly, and a flue that carries the exhaust away. In East Irvine's closet and alcove installs, the third is where the surprises live. A short flue run in a tight space with a louvred door is far less forgiving than a garage install with a tall vent.
Ignition that will not hold
The pilot or igniter lights the burner and a safety device confirms the flame. A thermocouple that has aged, a dirty pilot orifice, a flame sensor coated in oxide or a gas valve that will not open all produce the same symptom: it lights, then goes out.
The useful distinction is whether the flame reaches the sensing element. A pilot that lights but is soft, yellow or wavering is a different fault from one that burns steadily and still does not hold — and the fix follows the difference, not the part number.
The closet venting problem
Combustion needs air and a path out. A closet with a solid door, a flue with too little rise, or a flue that shares space with a dryer or a bathroom fan can backdraft, spilling exhaust into the room and tripping safety devices intermittently. It shows up as a unit that works for months and then shuts down during certain weather, which is exactly the pattern that gets misdiagnosed as a bad thermocouple.
Soot at the base, a smell of exhaust in the space, or a flame that lifts off the burner are reasons to stop using the unit. Venting is not an efficiency detail in a confined space; it is the safety case.
Safety devices and vapour shutoffs
Flammable-vapour-resistant units carry a shutoff that trips when it senses vapours from paint, solvents, adhesives or fuel stored nearby. Once tripped, the unit will not relight until the cause is removed and the device is reset per the manufacturer's instructions. Resetting it in the same contaminated space produces the same trip.
What the visit checks
Gas supply at the unit and the shut-off valve, the ignition circuit, the burner and air path, the flue's draft and clearance, and the controls. A thermocouple, igniter, flame sensor, gas valve or flue correction follows the evidence.
Gas piping, the regulator and the meter are licensed gas work, and a repair that touches them is not a homeowner job.
Cost and the replacement question
Parts are inexpensive relative to diagnosis and access; a closet unit may need the flue partly dismantled to inspect. On an older tank with a weeping fitting or a scaled base, a gas repair is also the moment to ask whether the tank is worth another season — in this ZIP, where the service history is often unknown, the data plate and the tank's appearance answer more than the calendar does.