If a gas or propane fired water heater is installed in a garage or basement, many plumbing codes require that it be elevated at least 18 inches above the floor to reduce the potential for fire or explosion due to spillage or leakage of combustible liquids in the garage.