In many jurisdictions, yes, a homeowner is legally allowed to install or replace their own gas water heater. However, doing so requires navigating strict safety regulations, and many municipalities require you to obtain a plumbing or gas permit and pass a subsequent inspection.
DIY installation carries risks. Mistakes can lead to water leaks, poor performance, or even hazards like gas leaks or electrical issues. Plus, doing it wrong might void the warranty, leaving you without protection if problems arise. Think hard about these consequences before you attempt to install them.
The Home Depot offers traditional water heater tanks and modern tankless units, both powered by either gas or electricity. Depending on your selection, the average cost for standard tank installation is generally between $1,600 to $2,400. Tankless installation can range from $2,400 to $5,400.
Lowe's gas water heater installation costs typically range from $1,000 to $2,500 total, depending on the unit size and your location. The labor and permit fees alone generally cost between $600 and $1,200, while the gas water heater unit itself adds $400 to $1,300+ to the overall price.
Understanding Permits and Local Codes: In most municipalities, replacing or installing a hot water heater requires a permit. Even if you know how to do the work, it still needs to pass an inspection. Ignoring this step can lead to fines, problems during home sales, or even denied insurance claims.
If the project is as simple as replacing an old water heater with a new one, a handyman can likely do it with no trouble. However, converting a gas water heater to an electric one or putting in specific wiring and framing for the water heater will likely require the skill set of a licensed professional.
Safety Risks: When “Good Enough” Isn't. A poorly installed gas water heater isn't just a bad idea—it's a dangerous one. Without a permit, there's no guarantee the installation meets safety codes, and that's where things get dicey. From gas leaks to electrical faults, the risks are real and well-documented.
The Home Depot strongly recommends that you use an experienced, licensed plumber to install your new water heater, because they will know the required codes to complete a safe and compliant installation.
In some cases, if your water heater leaks or doesn't heat up, you may be able to repair the existing unit. But it's helpful to start by determining the expected life of the appliance. The average life expectancy of a water heater is about 8 to 12 years.
Stores like Home Depot and Lowe's often include removal when delivering a replacement unit. This is the most convenient option, especially if the old unit is still in place and connected.
Professional labor costs for installation make up over half of the total cost of a new water heater. In general, tankless water heaters are more expensive to install than storage tank models, particularly if you're replacing a tank model with a tankless one because of the additional labor needed.
Some of the most reliable tank water heater brands in 2026 include Rheem, A.O. Smith, and Bradford White. These manufacturers have long histories of producing durable, efficient heaters with strong warranty coverage. Rheem is known for overall dependability and wide availability, A.O.
While the DOE isn't banning gas water heaters entirely, the new energy efficiency standards effectively phase out many conventional models. Gas-powered units will effectively need to use condensing technology to meet the 2026 requirements—a feature that adds cost and complexity for manufacturers and installers.
Installing a standard gas water heater typically takes 2 to 4 hours for a professional plumber, or 4 to 6 hours for a DIY replacement. This timeframe covers draining the old tank, disconnecting the gas and water lines, removing the unit, installing the new one, and testing for leaks.
With a 40-gallon tank, your hot shower will typically last about 10 to 20 minutes. The exact duration depends heavily on your showerhead's flow rate and the temperature you set your water heater to.
A: Traditional tank water heaters usually last 8–12 years, while tankless units often last 15–20+ years. Q: Should I replace my water heater if it's over 10 years old? A: Often yes. Even if it still works, the risk of leaks and sudden failure increases significantly after 10 years.
A new 40-gallon water heater costs between $𝟒𝟎𝟎 and $𝟐,𝟎𝟎𝟎 for the unit alone, depending on the fuel type, brand, and efficiency. When factoring in professional installation, the total typically ranges from $𝟖𝟎𝟎 to $𝟑,𝟎𝟎𝟎.
Excessive Water Pressure: High pressure stresses your system and shortens its lifespan. A pressure-reducing valve can help. Undersized System: A unit that's too small for your household's demand works harder and wears out faster. Proper sizing during installation is critical.
Gas tankless water heaters installed by December 25, 2025, might qualify for a $600 federal tax credit. The government is offered this 30% credit through December 2025 to help cover the cost of the unit and its installation. This tax credit comes from the 25C Energy Efficient Home Improvement Tax Credit program.
The best water heater depends on your preferred fuel source and style. Industry professionals consistently recommend A.O. Smith, Rheem, and Bradford White.
Potential Fines and Code Violations
One of the most immediate consequences of performing plumbing work without a permit is the possibility of fines or code violations. Local building departments may issue penalties if work is discovered that required a permit but was completed without one.
In short: Yes, you can install a water heater on your own. There are, however, a lot of things to take into consideration. For one, you need to know what you're doing, and you need to have the proper paperwork or permits to do it.
Electric water heaters should be placed on a stand unless documentation is provided by the installer/manufacturer that verifies FIVR construction. Water heaters shall be located or protected so they are not subject to physical damage by a moving vehicle.