The water heater is leaking right now. What should I do first?
Shut the cold supply valve where the pipe enters the tank at the top; that is what stops it refilling. Then shut the gas off at the valve on the appliance, or switch off the breaker for an electric unit. Do not try to drain the tank through a hose into the room, and keep away from the water, which may be scalding.
If you cannot find or move the inlet valve, go to the main shutoff for the house instead. Losing water to the whole building for an hour is a far smaller problem than letting a tank keep refilling while it empties onto the floor.
After that, get what you can off the floor nearby, especially anything stored in the same closet or against the same wall. Then photograph the scene before anything else is moved. Those photographs are the clearest record of how far the water got, and they take seconds.
How much damage can one tank actually do?
More than its own volume, because the supply keeps pushing water through the breach until the inlet is closed. Even a tank that simply empties once puts a substantial amount of water across a floor, and in a closet or an upstairs utility space that water has nowhere to go except into the structure.
The pattern that catches people out is a heater on an upper floor or over a finished space below. The water drops through the floor assembly, soaks insulation and ceiling material from above, and shows up as a stain or a sag in the room beneath, by which time the cavity between them is wet across a wide area.
Where the unit sits in a basement with a drain, the volume is less of a problem than the duration. Water finds the drain and the room looks fine, while the bottom of the wall behind the tank and the base of nearby stored items have been wicking for the whole time the leak was running.
What determines how involved this job becomes?
Chiefly how long the leak ran and what is around the unit. A sudden failure in a basement with a drain is a short job. A slow leak in a finished closet that has fed a wall plate and the flooring of two adjoining rooms involves removal, cavity drying and a lot more monitoring.
Access is the other factor. A heater in a tight closet, in a crawl space, in an attic platform or boxed in behind a panel has to be worked around, and getting equipment to the wet material may mean removing a door, a shelf run or a section of wall. That is explained and agreed before anything comes apart.
Nothing proceeds without the work being described and approved first, and if opening a baseboard reveals that the water went further than it looked, you are told at that point rather than at the end. The plan is allowed to change; it is not allowed to change silently.
Does the drip pan not catch this?
A pan catches a drip, and only if its drain line is clear and goes somewhere. It is not designed to hold the contents of a failed tank, and a pan whose outlet is blocked by sediment or was never piped anywhere simply overflows at the nearest edge, often without anyone noticing it filled.
When a technician is in the space, the pan and its line get checked as a matter of course, because a pan that cannot drain turns a minor fitting leak into a repeated flooding of the same patch of floor. It is one of the most common findings on a slow-leak call.
A pan also tells you something useful after the fact. Rust staining or mineral scale in it shows the leak has been running far longer than the day you noticed it, which changes what has to be metered and how much of the surrounding material needs opening.
Who replaces the heater itself?
A plumber. Restoration work covers the water, the affected materials and the drying, not the appliance. The two jobs run in sequence: the space has to be dry and clear enough to work in before a new unit is set, and anything that has to be cut back for drying is better done before the installation than after.
That ordering is worth knowing when you are making calls, because having a heater dropped into a wet closet means someone will be taking it back out again. If the room has to be opened for drying, doing it while the old unit is out is simply easier.
The documentation from the drying also matters at the handover. A plumber and anyone doing the finish work both need to know the plate and the subfloor were dry before being closed in, and the readings are what tells them.