Can You Install a Water Heater Yourself and Should You?

When your water heater is on the fritz, put down the wrench and pick up your phone instead

Father and son wash dishes in the kitchen sink
Photo: MoMo Productions / DigitalVision / Getty Images
Father and son wash dishes in the kitchen sink
Photo: MoMo Productions / DigitalVision / Getty Images
Jouviane Alexandre
Contributing Writer
Updated August 8, 2024

Highlights

  • Water heaters are subject to numerous building code requirements.

  • Installation requires proper permitting and inspections. 

  • Improper water heater installation can create a dangerous situation. 

  • DIY installation or repairs can void the warranty. 

  • Water and gas plumbing, electrical, and carpentry knowledge is necessary.

Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.

We all love the benefits of hot water: sparkling dishes, unsoiled bright whites, and a hot shower to soothe our tired muscles after a long day. But when our water heater goes kaput, it can be a major inconvenience and a nuisance. To save some cash, you might wonder if you can install a water heater yourself. 

Put simply, installing a water heater is no weekend DIY project. In fact, it’s best to leave the task to a licensed plumber—or you could be facing major safety, financial, and legal risks. Here are the most crucial factors to consider so you can make an informed decision.

Angi Tip
Some DIY repairs are great for saving money and sharpening your skills, but leave larger jobs like water heater repair to the pros. An experienced hand can ensure the task is completed safely and will prevent further damage.
Ryan Noonan
Content Editor, Angi

Can You DIY Water Heater Installation?

Even the most fearless DIYers should not attempt to install a water heater. Installing a water heater requires plumbing, electrical, and carpentry skills. You’ll also need a permit, an inspection from your municipality, and an understanding of state and local building codes. 

One of the most important decisions a professional makes is installing the right-sized water heater for your home. A tank that is too small will struggle to heat your home properly and wear out faster. While most homes require 50-gallon tanks, a 60-gallon tank may be needed in a home with heavy shower and laundry use.

So to keep your home and family safe and protect your investment, you should not install your own water heater; you’ll need a pro to finish this job.

Guide to Water Heater Installation

Plumbing

Formal training teaches aspiring plumbers how to work on water and gas lines, including installing the proper fixtures and checking for pressure issues or gas leaks. One tiny DIY misstep could mean danger, including:

  • Over-tightening a gas control valve, which could cause a gas leak and lead to a fire

  • Improper supply line connections, which put undue stress on drainage systems and can allow cross-connections between unsafe sources, like a heating pipe

  • Leaks in electric lines or gas valves, which can trip breakers and trigger automatic shutoff 

Electrical

Plumbers also learn the electrical skills necessary to connect gas or electric water heaters to a breaker box. Faulty electrical work could lead to issues such as:

  • Loose wires in your water heater, which can trip the water heater reset button

  • A water heater that keeps flipping the circuit breaker

  • Blown fuses and tripped circuit breakers, which can lead to fires and fried appliances 

Carpentry

Aside from plumbing and electrical technicalities, Installing a water heater may require maneuvering drywall, grounding plumbing pipes, and leveling the base of your water heater. When the install gets tricky—it likely will—a knowledgeable pro can handle complicated scenarios like:

  • Installing your water heater in a location that is not prohibited and does not violate codes

  • Installing your system in locations that are difficult to access

  • Building a larger installation space for larger, newer water heaters

  • Understanding when to install water heaters in attics, which may require construction, while meeting size regulations and building codes 

  • Supplying proper insulation around the tank

Reasons Why You Shouldn’t Install a Water Heater Yourself 

There are practical reasons why you shouldn't install a water heater yourself. First, knowing the correct unit size you need is essential, especially when sizing a tankless water heater.

Second, learning the numerous building code regulations surrounding water heaters can be confusing, even for expert DIYers. Finally, improper installation can affect how long water heaters last. More important, though, are the safety concerns for your family, home, and your wallet. 

The Water Heater Can Explode or Start a Fire

Hot water heater in basement of house
Photo: Jupiterimages / Stockbyte / Getty Images

Gas water heaters are powered by burning combustible fuel. Despite the pleasures of hot water, combustible fuel is highly flammable. If your water heater isn’t installed properly, it can cause a fire, explosion, or carbon monoxide poisoning.

Improper installation can lead to serious safety and health risks, such as:

  • Gas leaks

  • Carbon monoxide poisoning due to improper ventilation

  • Water damage due to improper connections between the water heater and the right supply lines, which affect its ability to drain water properly. 

Insurance and Warranties Won’t Cover Self-Installation Damages

If your water heater isn’t installed by a licensed plumber, your home insurance company will likely refuse to pay for damage caused by your water heater. Paying out of pocket can cost thousands of dollars if a water heater explodes and floods your home—or worse, your neighbors’ house.

The water heater manufacturer will also leave you hanging if your DIY installation fails. In fact, you won’t even be able to register your product warranty without a plumber’s licensing details.

You Need to Apply for a Permit and Comply With Building Codes

Most municipalities require permits for water heater installations. Doing this without a permit is risky because you could be fined if caught—especially when you go to sell your home in the future. 

Water heaters and hot water storage tanks must comply with your local and state regulations, requiring:

  • Inspections to protect inhabitants and visitors from potential safety risks

  • Placing your water heater in a location that provides access to observation, maintenance, servicing, and replacement

  • Displaying pressure limits on the metal of the water heater

  • Providing the appropriate elevation of the system

  • Following proper seismic specifications in regions prone to earthquakes

  • Assuring the correct circulation for the water heater

  • Including anti-siphoning devices

  • Installing pressure relief valves and temperature relief valves where appropriate

  • Using temperature relief valves that don’t exceed 210 degrees Fahrenheit and pressure relief valves that don’t exceed 150 psi

If these state regulations seem complicated, it’s because they are. While different municipalities list different building codes and regulations, a licensed plumber in your state will be familiar with them. Failure to comply with these regulations will result in possible safety issues and fines.

TPR Valve and Discharge Tube Issues

The water heater's TPR valve and connected discharge tube are crucial safety components that must operate correctly at all times to avoid a potential catastrophe. During normal operation, the TPR valve stands ready to eliminate pressure in the water heater's tank. When it releases pressure, the discharge tube must be capable of safely discharging potentially scalding water.

Installation rules vary between municipalities and include, but aren't limited to, the discharge tube's length, diameter, material, and where the water is allowed to go.  

You May Not Vent It Properly

Improper combustion venting can be dangerous. It not only makes the heater operate less efficiently but can also cause a buildup of carbon monoxide and other combustion gases in the home.

Although combustion gas venting may appear straightforward, several building code requirements address the vent pipe's slope, length, material, support, and connections. 

Not Securing the Power and Gas Supply Correctly

Installing gas piping and fitting connections is unlike installing water supply and drain lines. Being invisible, gas leaks are more difficult to detect and more dangerous. Installing a gas water heater includes having water plumbing, gas plumbing, and electrical skills and experience.

Regulations surrounding securing the gas and power supply vary by location and include details such as allowable fittings and materials, pipe and electrical support and protection, and ensuring the water heater itself is secure in its place. 

DIY vs. Hiring a Pro

As you can see, hiring a water heater installer can not only help you eliminate risk, it can save you from severe headaches. A 40- to 50-gallon tank-style water heater costs an average of $600 to $2,500 including installation, while tankless water heaters will run $1,200 to $3,500. So do yourself a favor, and leave the Tylenol in the medicine cabinet (for now), stay safe, avoid heavy fines, and a possible lawsuit.

Questions to Ask a Water Heater Installation Pro

When looking for a professional to install your water heater, you should contact multiple companies and have a few conversations before moving forward. This is your opportunity to scope out cost, experience, and knowledge. While a phone call is a natural first step, you’ll eventually want to have an in-person meeting where they can see your home, understand your hot water needs, and give you an accurate assessment. You want to make sure the company you choose understands your budget, how many people your water heater needs to service, and any energy concerns.

As you move your talks from over the phone to inside your home, consider asking your water heater installation professional:

  • Are you licensed?

  • How many years of experience do you have?

  • Do you have insurance coverage, and does it cover accident damages?

  • What type of water heater is better for my home: traditional or tankless?

  • Is it energy efficient?

  • What size water heater do I need?

  • What will it cost, including the price of the unit and installation?

  • How long does installation take?

  • Do you handle disposing of old water heaters?

  • How long will the water heater last?

  • How often will the water heater need maintenance?

  • Are there warranties available for the unit?

Deane Biermeier contributed to this piece.

Frequently Asked Questions

Water heater installation code requirements are in place to keep your family and home safe. Water heaters that are installed wrong can simply not work. However, that's an, if you're lucky, type of situation. More commonly, incorrectly installed water heaters pose a real threat from carbon monoxide poisoning, gas leaks, water leaks, and even explosions. 

Need professional help with your project?
Get quotes from top-rated pros.
Learn more about our contributor
Jouviane Alexandre
Contributing Writer
Jouviane has spent eight years covering home and lifestyle, focused primarily on DIY and remodeling. When she isn’t working, she’s busy researching DIY projects to update her 123-year-old Colonial-inspired house.
Jouviane has spent eight years covering home and lifestyle, focused primarily on DIY and remodeling. When she isn’t working, she’s busy researching DIY projects to update her 123-year-old Colonial-inspired house.
The homeowners guide to Water Heaters
From average costs to expert advice, get all the answers you need to get your job done.