Article contentA In most places there’s no code requirement to secure a tank-style heater like the one you sent photos of. In earthquake-prone places, however, there is often a requirement to install straps to secure the tank to a wall, but that’s not universal. The idea is to try and stop the tank from toppling over in case of a quake. Some plumber’s strapping or dedicated water heater tank straps system could be extended around the heater, with the straps secured to the wall with screws. If this detail is part of getting your place sold, ask if the prospective buyer is looking for earthquake-type anchoring.