An electric element is a resistance wire in a metal sheath. In a hard-water city it collects scale, runs hotter and fails. In a tower, the part is ordinary; the electrical supply and the closet access are what make the job specific.
Confirm the part
The complaint narrows it, but the test decides. With the breaker off, the element's terminals are checked for continuity, and the sheath is checked for a path to ground. The thermostat is tested in the same pass, because a thermostat that has failed open leaves the tank cold with a healthy element.
Match the circuit
Elements come in different wattages. The replacement has to suit the tank and the circuit, and in an apartment that means confirming the panel before ordering. A part that draws more than the circuit is rated for is not an upgrade.
Scale and the flush
A heavily scaled element usually means a sedimented tank. Replacing the element without flushing leaves the new part to fail in the same conditions. The flush belongs in the same visit.
The part that gets skipped
Filling the tank is easy to rush on a call where the closet is hot and the resident is waiting. It is also the one step whose omission is guaranteed to cost a second visit, because a dry element burns out the moment the circuit closes. The fill is done slowly, the hot tap is opened to let the air out, and the breaker waits until the water runs clean and steady.
Finishing in a closet
New gasket, element torqued to the maker's figure, cover refitted and wiring checked against the diagram. The unit is then run until it shuts off on its own, which proves the control as well as the element. Because the closet hides the tank, the temperature is taken at a fixture inside the apartment, and the panel is left as it was found.
When the element is not the problem
Repeated failures point to heavy scale that is not being managed, a thermostat that is overdriving the element, or a tank that has run dry. Fixing the part without the cause is a recurring bill, and in a closet the recurrence is easy to miss until the hot water fails again.