A downtown leak can travel. In a pre-war house, water may run along a pipe or joist before it appears in a basement or hallway; in a condo, it may cross into a shared utility room. The visible puddle is a clue, not always the source.
Where it shows
On top of the tank. The inlet or outlet fitting, the dip tube connection or the relief valve. Water runs down the tank and looks like a bottom leak.
At the relief pipe. Pressure or temperature relief, often after hot water use. Check the expansion control, not just the valve.
At the drain valve. A worn washer or a valve left partly open. Usually repairable.
At the base or seam. The shell until proven otherwise. A rust streak or continuous weep is a replacement signal.
Old-house shutdown
The shutoff may be original and stiff. Turn it gently; if it will not close, use the house main rather than forcing it. Do not reach past electrical connections or a gas control with wet hands.
In a basement, water may be near the panel or stored items. Keep clear of both and move paper and cardboard first.
Shared utility rooms
A condo or townhome may have a shutoff that serves several units. Confirm which valve belongs to the unit before closing anything, and involve the building manager if the piping is common. The same applies to the breaker.
Repair or replace
A valve, fitting or connection can be renewed while the tank is sound. A shell leak cannot. Heavy base corrosion, a run of past repairs or a spent anode beside the leak all point toward a new tank rather than another patch. In a shared utility room, the repair also has to respect which isolation valve the building allows you to close.
Emergency repair covers a tank leaking heavily now; replacement covers the planned path.