How to Install a Water Heater: A Step-by-Step Guide
Installing a water heater involves shutting off the water and power or gas supply, draining and removing the old unit, positioning the new heater, connecting the water and energy supply, filling the tank, and testing the system for leaks and proper operation. The exact process varies for gas, electric, tankless, and heat pump water heaters.
Water heater installation can be a DIY project for homeowners with suitable plumbing and electrical experience. Before starting, confirm that the new unit matches the existing fuel or electrical supply, hot and cold water connections, available installation space, venting requirements, and manufacturer-specified clearances. A like-for-like replacement is generally more straightforward than relocating the heater or converting between gas, electric, tankless, or heat pump systems, which may require new plumbing, gas piping, venting, electrical circuits, or other utility upgrades. Also check local permit and inspection requirements before installation.
Prefer a Licensed Water Heater Installer in San Jose?
If your water heater installation involves gas-line changes, electrical upgrades, new venting, relocation of the unit, or other work beyond a straightforward replacement, CPI Service provides water heater installation and replacement in San Jose. Our team can handle the required plumbing and utility connections, along with local requirements such as permits, inspection, seismic strapping, T&P discharge piping, and other installation details that may make the project less suitable for DIY work.
Things to Consider Before Starting the Process
Before installing a water heater, confirm that the replacement unit matches your home’s fuel source, electrical capacity, water connections, available space, venting, and manufacturer-required clearances. Also check whether you can reuse the existing gas line, electrical circuit, plumbing connections, drain pan, and vent system, and whether the project is a like-for-like replacement, relocation, or conversion that may require additional plumbing, electrical, gas, venting, permits, or inspection.
Tools Required for Installation
Before installing a water heater, gather the basic plumbing tools, safety equipment, and installation materials required for your specific model. The exact plumbing tools vary depending on whether you are installing a gas, electric, tankless, or heat pump water heater and whether you need to modify existing pipes, wiring, or fittings.
Common tools required for water heater installation include:
- Pipe wrenches: To loosen and tighten threaded plumbing connections.
- Adjustable wrenches: For securing fittings, valves, and supply connections.
- Pipe or tubing cutter: For cutting copper or other compatible water lines when connections need modification.
- Screwdrivers: For access panels, electrical terminals, brackets, and other components.
- Pliers: For gripping and adjusting smaller fittings and connections.
- Non-contact voltage tester: For confirming that electrical power is off before working on an electric water heater.
- Level: For checking that the new water heater is positioned correctly.
- Garden hose: For draining the existing tank before removal.
- Buckets and towels: For collecting residual water during disconnection.
- Hand truck or appliance dolly: For moving heavy tank-style water heaters.
- Gloves and safety glasses: To protect you while draining, disconnecting, and moving the unit.
You may also need manufacturer-specified supply connectors, valves, fittings, thread-sealing materials, a drain pan, electrical connectors, or gas-specific installation materials depending on the water heater and existing setup.
Safety Precautions During Installation
Key safety precautions during water heater installation include shutting off the utilities, controlling hot and pressurized water, maintaining proper ventilation and clearances, and handling the heavy tank carefully. Failing to address these factors can increase the risk of burns, electric shock, gas leaks, fire, water damage, damaged components, or improper operation.
- Turn off the power or gas supply before disconnecting the existing water heater.
- Verify electrical power is off with a voltage tester before touching wires or terminals.
- Shut off the cold-water supply and relieve pressure before disconnecting water lines.
- Let the stored water cool before draining the tank to reduce burn risk.
- Drain the tank completely before moving or removing the old heater.
- Check gas connections for leaks before operating or igniting a gas water heater.
- Keep venting and combustion air unobstructed when installing a gas model.
- Maintain required clearance from walls, combustible materials, and nearby equipment.
- Use a dolly or lifting assistance when moving a heavy tank-style water heater.
- Wear gloves and safety glasses while draining, cutting, disconnecting, and installing components.
- Keep flammable materials away from gas water heaters and ignition sources.
- Do not restore power to an electric heater until the tank is completely full and you have purged air from the plumbing.
Following these steps helps create a safe environment and guarantees a hazard-free water heater installation.
Permit
A permit may be required before installing or replacing a water heater, depending on your location, heater type, and whether the project changes plumbing, gas, electrical, or venting systems. Check with your local building department before starting because permit and inspection requirements vary by jurisdiction. In San Jose, the City of San José Planning, Building and Code Enforcement Department requires a plumbing permit for water heater installation or replacement through SJPermits, while certain projects may also require an electrical permit, project plans, or Standard Plan Review. You must complete a required inspection after installation to confirm compliance with applicable California building codes.
Step-by-Step Guide for Installing a Water Heater
To install a water heater, shut off the water and power or gas supply, drain and remove the old unit, position the new heater, connect the water lines and energy supply, install the required safety components, fill the tank, and test the system for leaks and proper operation. Follow the manufacturer’s instructions throughout because gas, electric, tankless, and heat pump water heaters can have different connection, venting, electrical, and clearance requirements.
Step 1: Turn Off the Power and Water Supply
Start by shutting off the energy and water supply to the existing water heater. For an electric water heater, switch off the dedicated circuit breaker at the electrical panel, remove the access cover if needed, and use a non-contact voltage tester to confirm the unit is de-energized. For a gas water heater, turn the gas control valve to the OFF position and close the manual gas shutoff valve on the supply line.
Next, close the cold-water inlet shutoff valve above or near the heater. If the unit does not have a working dedicated shutoff valve, close the home’s main water supply. Open a nearby hot-water faucet and let the water run until it cools, then leave the faucet open to relieve pressure, prevent a vacuum, and help the tank drain more freely in the next step.
Step 2: Remove the Old Water Heater (if replacing)
After shutting off the utilities and allowing the water to cool, drain the tank completely, disconnect the water and energy connections, detach any venting or discharge piping, and remove the old unit from the installation area. Follow the manufacturer’s removal instructions and use lifting assistance because tank-style water heaters can remain heavy even after draining.
Drain the Old Water Heater
Attach a garden hose to the drain valve near the bottom of the heater and direct the other end to a floor drain, bucket, sink, or suitable outdoor drainage area. Open the drain valve and keep a nearby hot-water faucet open to relieve pressure and help the tank drain more freely. If the heater was recently operating, let the water cool first or use a hose rated for hot water to reduce the risk of burns. Sediment buildup may also slow or block drainage.
To speed up draining, open a hot water faucet in another part of the house. This relieves pressure and lets the water drain more freely. Once the water drains, move on to disconnecting the lines.
Disconnect the Old Heater
Once the tank is empty, disconnect the hot and cold water lines using the appropriate wrenches or a tubing cutter, as needed, and keep towels or a bucket nearby for residual water. For a gas heater, confirm the gas is off before disconnecting the supply line at the union or flare fitting and detaching the vent connector. For an electric heater, verify the power is off before disconnecting the supply wires, ground wire, cable, and strain relief. Disconnect the T&P discharge pipe as required.
Remove the Old Heater
After you detach all water, gas, and electrical venting and discharge connections, remove any wall-mounting brackets, securing bolts, or other hardware holding the unit in place. Carefully lift or roll the heater out of the installation area using a hand truck or appliance dolly, and have a second person assist if needed. Check the floor and surrounding area for water, rust, corrosion, or damaged connections before positioning the new heater, then dispose of or recycle the old unit according to local requirements.
Step 3: Position the New Water Heater
After removing the old unit, place the new water heater in its final installation area before making any plumbing, gas, electrical, or vent connections. Confirm the floor is level and can support the filled unit, provide the manufacturer-required clearance around the heater, and keep the controls, drain valve, T&P valve, and service areas accessible.
Move the New Water Heater into Position
Carefully move the heater into place using an appliance dolly or a second person if needed, then set it on a stable, level surface. Leave enough room for the hot and cold water lines, gas or electrical connections, maintenance access, and any required drain pan or seismic bracing. Water heater installation in San Jose requires a watertight pan with at least a 3/4-inch drain where leakage could cause damage. Water heaters up to 52 gallons require two seismic straps, while 75-gallon units require three and 100-gallon units require four. The upper strap must be within the upper third of the tank, and the lower strap must be within the lower third and at least 4 inches above the controls.
Ensure Proper Ventilation (for Gas Models)
For a gas water heater, position the unit so the vent connector or direct-vent system can route combustion gases outdoors without obstruction. Keep combustion-air openings clear and maintain the manufacturer-specified clearance from combustible materials. The U.S. Department of Energy notes that atmospherically vented water heaters require adequate combustion and dilution air to operate properly and reduce the risk of combustion gases entering the living space. Where seismic restraint is required, secure the tank with approved straps after positioning it.
Step 4: Connect the Water Supply Lines
Connect the cold-water supply to the heater inlet and the hot-water line to the outlet using fittings approved for the pipe material and water heater model. Keep connections accessible, follow the manufacturer’s instructions, and separate dissimilar metals where required to reduce corrosion.
Attach Cold and Hot Water Supply Pipes
Connect the cold-water line to the inlet and the hot-water line to the outlet, using threaded, press, push-fit, or sweat fittings as permitted for the installation. Install a shutoff valve on the cold-water line and use dielectric fittings when joining dissimilar metals such as copper and steel. For example, San Jose requires insulating the first 5 feet of both hot and cold water lines in certain water heater installations, and its basement installation requirements show a 3/4-inch union within 12 inches.
Inspect for Leaks
Open the cold-water shutoff valve slowly and allow the tank to fill while keeping a nearby hot-water faucet open to release trapped air. Once a steady stream of water flows, close the faucet and inspect the hot and cold connections, valves, unions, and fittings for leaks. San Jose requires potable water systems to be tested with actual water pressure or 50 psi of air for at least 15 minutes before approving concealed work.
Step 5: Connect the Power or Gas Supply
After connecting the water lines, connect the heater to its required energy source. Electric and gas water heaters use different connections, so follow the manufacturer’s wiring, gas piping, grounding, venting, and startup instructions for the specific model.
For Electric Water Heaters:
- Keep the dedicated circuit breaker OFF while making electrical connections.
- Confirm the circuit voltage and amperage match the water heater nameplate.
- Route the supply cable through the approved junction box or wiring compartment.
- Connect the supply conductors and equipment grounding conductor according to the manufacturer’s wiring diagram.
- Tighten terminal connections and reinstall all electrical covers before restoring power.
- Do not energize the heater until the tank is completely full and you have purged air from the hot-water piping.
- If the installation requires a new circuit or electrical upgrade, check local permit requirements before proceeding.
For Gas Water Heaters:
- Confirm the manual gas shutoff valve remains OFF while connecting the appliance.
- Connect the gas supply using approved piping, connectors, fittings, and gas-rated thread sealant where applicable.
- Install any required sediment trap or drip leg according to the manufacturer and local code.
- Confirm the gas pipe is adequately sized for the heater’s BTU input, especially when replacing the unit with a higher-capacity model.
- Connect the venting system and keep required combustion-air openings clear before startup.
- Open the gas valve only after all connections are complete, then test every new gas joint for leaks using an approved leak-detection solution.
- Do not ignite or operate the heater if you detect a gas leak.
Step 6: Install the Temperature and Pressure Relief Valve (T&P Valve)
Install an approved temperature and pressure relief valve in the designated opening on the top or side of the water heater. The T&P valve automatically releases water if the tank reaches excessive temperature or pressure, so its relief rating must meet or exceed the water heater’s heating input, and it must not be altered or blocked.
- Apply the manufacturer-approved thread sealant to the valve threads and tighten the T&P valve into the designated opening.
- Attach a discharge pipe no smaller than the relief valve outlet and one that does not reduce the internal diameter.
- Do not install a shutoff valve, cap, plug, or other restriction in the discharge line.
- Route the discharge pipe independently rather than connecting it to a drain pan, A/C condensate line, or sanitary sewer.
- Keep the terminal end unthreaded and point it downward at an approved discharge location.
- Follow local termination requirements. For example, San Jose generally requires an exterior T&P discharge to terminate 6 to 24 inches above the ground. Garage installations may terminate 6 to 12 inches above the garage floor.
- Install an expansion tank where required in a closed plumbing system, such as a home with a pressure-reducing valve on the water service.
Step 7: Fill the Tank with Water
Before restoring power or gas, close the drain valve, then fully open the cold-water supply valve to begin filling the tank. Open the nearest hot-water faucet to let trapped air escape and keep it open until water flows in a steady stream without sputtering.
Continue running the hot-water faucet for about 3 minutes after a steady flow begins to help purge remaining air from the tank and piping. Then close the faucet and inspect the cold-water inlet, hot-water outlet, valves, unions, and other plumbing connections for leaks. Do not energize an electric water heater until the tank is completely full because operating it dry can damage the heating elements.
Step 8: Power or Gas Up the Heater
Once the tank is full, you have purged all trapped air, and you have checked the water and energy connections for leaks, restore the heater’s power or gas supply according to the manufacturer’s startup instructions.
For Electric Water Heaters
Turn the dedicated circuit breaker back ON only after confirming the tank is full of water. Check the control panel or status display, if equipped, and listen for normal startup operation. Applying power before the tank is full can dry-fire and damage the heating elements.
For Gas Water Heaters
Open the manual gas shutoff valve and follow the heater’s lighting instructions to start the pilot or electronic ignition system. Confirm the burner ignites properly, check the gas connections again for leaks, and verify that the status light or control display shows normal operation. Do not continue startup if you smell gas, detect a leak, or the burner repeatedly fails to ignite.
Step 9: Set the Desired Temperature
Set the water heater thermostat to the temperature recommended for your household and specific model. For most residential applications, the U.S. Department of Energy recommends 120°F (49°C), which can reduce energy use while lowering the risk of tap-water scalding. The CPSC also recommends 120°F to help reduce burn injuries.
For a gas water heater, adjust the temperature using the gas control or thermostat dial. Electric models may have one or more thermostats behind access panels, so turn off power before making adjustments. After changing the setting, let the heater reach the selected temperature, then verify the actual hot-water temperature at a faucet with a thermometer before regular use.
Step 10: Test the Heater
After the water heater reaches its set temperature, test the system before regular use. Confirm that hot water flows at the expected temperature, all connections remain dry, and the heater starts and operates without fault codes, repeated shutdowns, or unusual sounds.
Check the following before considering the installation complete:
- Hot-water flow: Open a hot-water faucet and confirm a steady flow at the expected temperature.
- Water connections: Inspect the hot and cold lines, valves, unions, drain valve, and surrounding area for leaks.
- T&P system: Check the T&P valve and discharge piping for unintended dripping or leakage.
- Electric operation: Confirm the breaker remains on and the heater operates without tripping or displaying an error.
- Gas operation: Verify normal ignition and burner operation, and recheck all gas connections for leaks with an approved leak-detection solution.
- Venting: For gas models, confirm the vent and combustion-air connections are secure and operating as intended.
- Controls: Check the thermostat, indicator lights, or digital display for normal operating status.
- Unusual operation: Stop and recheck the installation if you notice persistent hissing, popping, rumbling, gas odor, leaks, or repeated shutdowns.
Manufacturer installation checklists from Rheem and A.O. Smith similarly call for confirming the tank is full, air is purged, water connections are leak-free, gas connections pass a leak test, and venting is correctly connected before placing the heater into normal service.
Step 11: Clean Up
After confirming the water heater operates correctly and has no leaks, clean the installation area and remove all leftover materials. Before leaving the unit in regular operation, make sure nothing blocks the heater, venting, combustion-air openings, drain pan, shutoff valves, or access panels.
Complete these final cleanup steps:
- Remove all packaging and debris from around the water heater.
- Wipe up spilled water and check the floor and nearby connections for moisture.
- Collect old fittings, valves, piping, and wiring for proper disposal.
- Clear tools and materials away from access panels, valves, venting, and burner areas.
- Remove combustible items from around gas water heaters and ignition sources.
- Dispose of the old water heater properly according to local recycling or bulky-item rules.
- Drain the old tank completely before disposal or pickup.
- Make a final leak and operation check before leaving the heater in service.
For San Jose, the City lists water heaters as accepted Junk Pickup items and requires the tank to be fully drained before collection. Residents can schedule no-cost curbside Junk Pickup for up to 12 bulky items per appointment through San José 311.
Water Heater Installation Checklist
Follow each step to install your water heater. Tick off the steps as you go!
Types of Water Heaters
Water heaters are commonly available as gas storage, electric storage, tankless, and heat pump models, with each type requiring different plumbing, electrical, gas, venting, space, and installation conditions. Gas models use natural gas or propane, electric models use resistance heating elements, tankless units heat water on demand without a large storage tank, and heat pump water heaters use electricity to transfer heat from the surrounding air into stored water.
Gas Water Heater Installation
Installing a gas water heater requires correct water connections, a properly sized gas supply, approved venting, adequate combustion air, and leak testing before startup. Requirements vary by model and location, so follow the manufacturer’s instructions and local gas, plumbing, and mechanical codes.
- Position the heater with required clearances and keep the burner, controls, and service areas accessible.
- Connect the cold-water inlet and hot-water outlet using approved fittings and valves.
- Install a manual gas shutoff valve in the supply line before the appliance connection.
- Add a sediment trap downstream of the shutoff valve, where required. San Jose specifically requires one for water heaters.
- Verify the gas line is sized for the heater’s BTU input before connecting the unit.
- Connect the approved vent system and keep the vent path unobstructed.
- Provide adequate combustion air for atmospherically vented gas models.
- Check all new gas connections for leaks before ignition.
- Light the pilot or start the electronic ignition system according to the manufacturer’s instructions.
- Confirm normal burner operation and vent draft before leaving the heater in service.
Electric Water Heater Installation
Installing an electric water heater requires correct plumbing connections and an electrical supply that matches the voltage, amperage, and circuit requirements listed on the unit’s nameplate. Most conventional electric tank models use a dedicated circuit, so verify the existing panel and wiring are suitable before installation.
- Position the heater on a level surface with required clearances and access to the controls and connections.
- Connect the cold-water inlet and hot-water outlet using approved fittings and valves.
- Verify the circuit voltage and amperage match the water heater nameplate before wiring the unit.
- Keep the dedicated circuit breaker OFF while completing the electrical connections.
- Connect the supply wires inside the junction box according to the manufacturer’s wiring diagram.
- Connect the equipment grounding conductor to the designated ground terminal.
- Secure the cable and replace the junction-box cover before restoring power.
- Fill the tank completely and purge trapped air before turning on the breaker.
- Set the thermostat to about 120°F for most residential applications.
- Restore power and confirm normal heating operation without breaker trips, leaks, or fault codes.
Tankless Water Heater Installation
Installing a tankless water heater requires correct water connections, sufficient gas or electrical capacity, approved venting where applicable, and enough service clearance for the specific unit. Because tankless systems often have higher utility demands than storage heaters, verify the existing gas line, electrical supply, venting, and installation location before mounting the unit.
- Mount the unit with required clearances and keep valves, controls, and service points accessible.
- Connect the cold-water inlet and hot-water outlet using manufacturer-approved fittings.
- Verify gas or electrical capacity before connecting the energy supply.
- Size or upgrade the gas supply where needed and confirm the gas meter can support the unit’s BTU demand.
- Connect the approved vent system and maintain the required termination clearances. In San Jose, tankless vents must terminate at least 4 feet from a property line.
- Provide adequate combustion air for gas models, including required upper and lower openings for enclosed installations.
- Install the required pressure-relief system with discharge capacity suitable for the heater’s BTU input.
- Provide condensate drainage and electrical power where required for condensing or electronically controlled models.
- Pressure-test altered gas piping and inspect all connections for leaks before startup.
- Test water flow, ignition, outlet temperature, venting, and system operation before regular use.
Heat Pump Water Heater Installation
Installing a heat pump water heater requires adequate room volume and airflow, suitable electrical capacity, approved condensate drainage, and standard hot and cold water connections. Because the unit pulls heat from the surrounding air, its location and ventilation requirements are different from conventional electric resistance water heaters.
- Position the unit in an approved location with the manufacturer-required service clearances.
- Provide adequate room volume and airflow around the heat pump intake and exhaust.
- Connect the cold-water inlet and hot-water outlet using approved valves and fittings.
- Install a drain pan where required if leakage could damage the surrounding area.
- Connect the condensate drain to an approved plumbing fixture, drywell, or other permitted termination.
- Verify the electrical panel has sufficient capacity for the added water heater load.
- Install or connect the required dedicated electrical circuit according to the unit nameplate and manufacturer instructions.
- Fill the tank completely and purge trapped air before energizing the water heater.
- Set the operating mode and temperature according to household needs and manufacturer guidance.
- Test heating, condensate drainage, airflow, electrical operation, and plumbing connections before regular use.
Comparison Table: Gas, Electric, Tankless, and Heat Pump Water Heaters
The main installation differences between water heater types involve the energy source, electrical capacity, gas supply, venting, airflow, condensate drainage, and space requirements.
Feature | Gas Storage | Electric Storage | Tankless | Heat Pump |
Water Connections | Hot and cold lines | Hot and cold lines | Hot and cold lines | Hot and cold lines |
Energy Supply | Natural gas or propane | Dedicated electrical circuit | Gas or high-capacity electrical supply | Dedicated electrical circuit |
Venting | Required for most gas models | Not required | Required for indoor gas models | No combustion venting |
Combustion Air | Required for applicable gas models | Not required | Required for applicable gas models | Not required |
Condensate Drain | Usually not required for standard models | Not required | Required for many condensing models | Required |
Space Requirement | Tank footprint plus required clearances | Tank footprint plus required clearances | Compact wall-mounted installation | Requires adequate surrounding air volume |
Common Upgrade | Gas line or venting | Circuit or panel capacity | Gas line, meter, circuit, or venting | Electrical circuit, panel capacity, airflow, or drainage |
Average Installation Cost | $1,300 and $4,050 for a standard tank model, and between $3,300 and $6,250 for a gas tankless system | $1,600 and $2,400 for a standard tank model, and between $1,900 and $3,500 for electric tankless | About $2,400 to $5,500, depending on electric or gas setup | About $3,600 to $6,500 for a typical installation |
Energy Efficiency | ENERGY STAR gas storage units generally require UEF 0.81–0.86+, depending on tank size and draw pattern | Standard electric resistance models are commonly around 0.90 UEF | ENERGY STAR gas tankless units require UEF ≥0.95 | ENERGY STAR integrated heat pump models require UEF ≥3.30 |
San Jose Permit Example | Plumbing permit | Plumbing permit plus electrical permit when new electrical work is involved | Plumbing permit plus electrical permit when applicable | Plumbing and electrical permits |
Troubleshooting Water Heater Installation Problems
Common problems after installing a water heater include leaks, no hot water, loose or incorrect connections, breaker trips, ignition problems, and T&P valve discharge. Many of these plumbing problems are related to newly installed fittings, valves, water lines, gas connections, wiring, or venting rather than the heater itself. Start by checking each connection against the manufacturer’s instructions, and shut off the applicable utility if you smell gas, see damaged wiring, or cannot identify the cause.
Fixing Leaks During or After Installation
Leaks after water heater installation commonly come from newly connected water lines, threaded fittings, the drain valve, or the T&P valve. Locate the exact source before tightening or replacing anything, because water around the base can also come from condensation or, in some cases, an internal tank leak.
- Check the hot and cold water connections, unions, threaded fittings, and drain valve for leaks.
- Gently tighten loose fittings and reseal threaded connections if they are not seated correctly.
- Inspect the T&P valve and discharge pipe for dripping or unexpected water discharge.
- If the T&P valve continues to drip, check water pressure and the expansion tank, as thermal expansion or excessive pressure may be responsible. aosmithatlowes.com
- Replace damaged fittings or valves instead of repeatedly tightening failed components.
- Shut off the water supply and stop using the heater if the tank itself appears to be leaking.
No Hot Water After Installation
If a newly installed water heater is not producing hot water, first check the energy supply, thermostat setting, wiring or gas connection, and whether the unit completed startup correctly. Installation-related causes are often easier to identify before assuming the thermostat, heating element, ignition system, or control valve is faulty.
- Check the circuit breaker and confirm an electric water heater is receiving power.
- Verify the tank is completely filled with water before restoring power.
- Check the thermostat setting, wiring connections, and high-temperature limit controls.
- For gas models, confirm the gas shutoff valve is open, and the pilot or electronic ignition starts correctly.
- Verify the hot and cold water lines are connected correctly and check the control panel for fault codes.
- Allow normal recovery time, then have the installer inspect the unit if it repeatedly trips, fails to ignite, or continues showing errors.
Faulty Connections
Faulty water, gas, or electrical connections can cause leaks, no hot water, breaker trips, ignition problems, or unsafe operation after installation. Check each new connection against the manufacturer’s instructions and correct loose, reversed, undersized, or improperly sealed connections before continuing to use the heater.
- Check the hot and cold water lines for reversed connections, loose fittings, leaks, or damaged threads.
- Inspect gas piping, the shutoff valve, connectors, and sediment trap where required.
- Verify electrical terminals, grounding, circuit voltage, and wire sizing against the heater specifications.
- Check the T&P valve, thermostat, and other control connections for correct installation.
- Recheck venting and combustion-air connections on gas models if you notice ignition or draft problems.
- Shut down the heater if you detect gas odor, electrical arcing, overheating, or persistent leakage.
Water Heater Maintenance and Care
Regular water heater maintenance helps limit sediment buildup, corrosion, leaks, pressure-related problems, and declining heating performance after installation. Key maintenance tasks include checking water pressure, inspecting the T&P valve, flushing the tank, checking the anode rod, and looking for leaks or corrosion around valves and connections. Follow the maintenance schedule in the manufacturer’s manual because service intervals can vary by model and water conditions.
Regular Maintenance Schedule
A regular maintenance schedule should focus on leaks, sediment, water pressure, the T&P valve, anode condition, thermostat settings, and venting or air-intake components. Exact intervals vary by heater type, water quality, and manufacturer, but annual inspection is a practical baseline for most tank-style systems. A.O. Smith’s maintenance guidance includes yearly checks for leaks, flushing, the T&P valve, anode rod, venting, air intake, and thermostat settings. Hot Water
- Check for leaks and corrosion around the tank, valves, fittings, and water connections.
- Inspect the T&P relief valve annually, following the manufacturer’s instructions.
- Flush the storage tank as recommended to remove sediment buildup.
- Inspect the anode rod annually and replace it when significantly deteriorated.
- Check the thermostat and water pressure to confirm normal operating conditions.
- Inspect venting, combustion-air openings, or heat pump air filters based on the heater type and manufacturer guidance.
Flushing the Water Heater Tank
Flushing a tank-style water heater removes sediment that settles at the bottom of the tank and can reduce heating efficiency, contribute to noise, and increase wear. Flush most tank water heaters at least once a year, and flush more often in hard-water areas.
- Turn off the heat source by switching off the breaker for an electric model or turning the gas control to OFF.
- Connect a garden hose to the drain valve and route the other end to a suitable drain or receptacle.
- Open the drain valve and allow water and sediment to flow out of the tank.
- Flush with cold water until the discharge runs clear and no visible sediment remains.
- Close the drain valve and remove the hose once flushing is complete.
- Refill the tank and purge trapped air by opening hot-water faucets until water flows steadily.
- Restore power or gas only after the tank is full, and you have confirmed normal water flow.
Testing the Temperature and Pressure Relief Valve (T&P Valve)
The T&P valve is a critical safety component that opens when water temperature or tank pressure rises beyond the valve’s rated limit, relieving excess pressure before it can damage the water heater. Test the valve periodically to confirm that it opens, allows water to flow freely through the discharge pipe, and reseats without continuous leaking. A.O. Smith recommends checking the T&P valve annually and following the valve label and manufacturer instructions during testing.
- Turn off the power or set the gas control to pilot before testing.
- Confirm the discharge pipe ends at an approved location where hot water can drain without causing injury or property damage.
- Carefully lift the T&P valve lever to allow a small amount of water to discharge.
- Confirm water flows freely through the discharge pipe.
- Release the lever and check that the valve closes completely.
- Replace the valve if it sticks, does not discharge, or continues leaking after the test.
- Check system pressure and thermal expansion if the valve drips repeatedly, because high pressure or a closed plumbing system may cause it rather than a faulty valve.
Replacing the Anode Rod
The anode rod helps slow corrosion inside a tank-style water heater by attracting corrosive elements in the water before they attack the steel tank. Check the rod periodically and replace it when it is heavily deteriorated, because a depleted anode can shorten tank life. Many manufacturers recommend inspecting the anode annually, while replacement is often needed every 2–3 years depending on water quality, usage, and rod condition.
- Turn off the power or gas supply before starting.
- Shut off the cold-water supply and relieve pressure from the tank.
- Drain several gallons of water to lower the water level below the anode opening.
- Locate the anode rod on the top of the tank or beneath the hot-water outlet, depending on the model.
- Remove the old rod with the correct socket or wrench while keeping the tank stable.
- Inspect the rod for heavy corrosion or exposed core wire, and replace it if it is significantly deteriorated.
- Install the new anode rod with approved thread sealant and tighten it according to the manufacturer’s instructions.
- Refill the tank and purge trapped air before restoring power or gas.
A.O. Smith recommends checking the anode rod at least once a year and replacing it when it is substantially consumed. Water chemistry, softeners, and local conditions can cause the rod to deteriorate faster, so inspection is more reliable than relying only on a fixed replacement interval.
Professional Water Heater Installation Services
A licensed water heater installer becomes especially valuable when the project requires more than a simple like-for-like replacement, such as gas-line modifications, electrical upgrades, new venting, relocation, tankless conversion, or heat pump installation. HVAC installer can handle the plumbing and utility connections, confirm the new unit matches the available gas or electrical capacity, install required safety components, complete startup testing, and address permit and inspection requirements.
For homeowners in San Jose, CPI Service provides water heater installation and replacement and holds California CSLB License #1101278. The City of San José requires a plumbing permit for all water heater installations and replacements, with electrical permits also required for certain systems, followed by inspection. Local requirements may also involve seismic strapping, T&P discharge piping, gas-line sizing, combustion air, venting, electrical load calculations, and drain-pan provisions depending on the installation.
Cost of Professional Installation
Professional water heater installation costs vary based on the heater type, tank size, labor, accessibility, permit requirements, and whether the project needs plumbing, gas, electrical, venting, or structural changes. A straightforward replacement that reuses existing connections generally costs less than relocating the heater, converting fuel types, or switching to tankless or heat pump equipment.
Typical installed cost ranges include:
- Tank water heaters: $1,000–$6,300+
- Gas water heaters: $1,300–$6,250+
- Electric water heaters: $1,600–$3,500+
- Tankless water heaters: $2,400–$5,500+
- Heat pump water heaters: $3,600–$6,500+
For homeowners in San Jose, the final price can also depend on local permit requirements, inspection, seismic strapping, T&P discharge piping, gas-line sizing, venting, electrical load, drain-pan provisions, and other code-related work. CPI Service can assess the existing setup, provide a project-specific estimate, handle the required installation work, and help manage permit and inspection requirements where applicable. That gives homeowners a clearer total cost before work begins and reduces the chance of unexpected upgrades appearing midway through the project.
Water Heater Installation Cost Estimator
Estimate the cost of installing a water heater based on your specific needs.
Need help with installation? Find a trusted professional here!
Finding Licensed Installers
When hiring a water heater installer, verify that the contractor holds the appropriate state license, has experience with your heater type, and can handle permits, inspections, gas, electrical, venting, and code-related work where required. In California, you can check contractor license status through the Contractors State License Board (CSLB) before work begins.
- Verify the contractor’s license is current and active through the CSLB database.
- Check the license classification to confirm it covers the required plumbing or related work.
- Ask who will obtain the permit and schedule the required inspections.
- Confirm experience with your heater type, including gas, electric, tankless, or heat pump systems.
- Request a written estimate covering labor, materials, permits, disposal, and any expected upgrades.
- Check bonding and workers’ compensation information where applicable.
- Review recent customer feedback for installation quality, communication, and follow-up service.
For San Jose projects, the City recommends that the permit applicant be a licensed contractor, and the person signing the permit application is responsible for the permitted work. CPI Service is listed by CSLB under License #1101278, which is currently active and includes C36 Plumbing, C20 HVAC, and A General Engineering classifications. sanjoseca.gov
Professional vs DIY Water Heater Installation
DIY water heater installation may be reasonable for an experienced homeowner completing a straightforward like-for-like replacement, but projects involving gas piping, new electrical work, venting changes, relocation, tankless conversion, or heat pump installation can require permits, inspections, and licensed trade work. In California, HVAC contractors performing work that requires a building permit or costs $1,000 or more in combined labor and materials generally must hold a current CSLB license.
Aspect | Professional Installation | DIY Installation |
Cost | Includes labor, permits, testing, and required upgrades | Lower labor cost, but materials, permits, tools, and corrections still apply |
Permits | Contractor can obtain required permits and coordinate inspection | Homeowner must confirm eligibility, obtain permits, and schedule inspection |
Gas Work | Licensed contractor can address gas sizing, shutoffs, sediment traps, and leak testing | Requires advanced gas-piping knowledge and code compliance |
Electrical Work | Can include dedicated circuits, wiring, load calculations, and panel upgrades | Suitable only when the homeowner is qualified and local rules allow the work |
Venting | Contractor can verify combustion air, vent sizing, routing, and termination | Incorrect venting can create carbon monoxide and draft problems |
Installation Changes | Better suited for relocation, fuel conversion, tankless, or heat pump upgrades | Most practical for simple like-for-like replacements |
Inspection | Installation can be prepared for required final inspection | Homeowner is responsible for correcting any inspection issues |
For San Jose, every water heater installation or replacement requires a plumbing permit, and some systems also require an electrical permit. The city specifically notes that permits and inspections address risks such as gas leaks, carbon monoxide, electrical hazards, and water damage. For homeowners who do not want to manage those requirements themselves, CPI Service can handle the installation, applicable permit work, required system upgrades, testing, and inspection preparation.
Alex Hamilton is the owner of CPI Service, a trusted provider of plumbing and HVAC solutions. With over 35+ years of hands-on experience in the industry, He brings deep technical expertise and a proven track record in delivering reliable installation, maintenance, and repair services. His leadership ensures that CPI Service consistently upholds the highest standards of quality, safety, and customer satisfaction.