A 40 gallon gas water heater stores 40 gallons of hot water and heats it with a gas burner. It is the most common size for homes with two to four people, and it recovers quickly because a gas burner heats faster than an electric element. Fixr's 40-gallon water heater guide (updated January 2026) puts a gas or propane unit at $700 to $2,300 installed, with an average of $1,650. For the wider list of jobs, see water heater repair and replacement.
Is a 40 gallon water heater enough for a 3 bedroom house?
Often yes, for three or four people with staggered showers. A 40 gallon gas heater typically delivers roughly 60 to 70 gallons of hot water in its first hour, which meets most 3 bedroom homes. A household of five, a big soaking tub, or back-to-back showers and laundry may need 50 gallons or more.
The number that matters is the first hour rating (FHR) on the yellow EnergyGuide label: it is how much hot water the heater supplies in the first hour of heavy use. Gas units often have a higher FHR than electric units of the same size because the burner recovers faster. Match the FHR to your busiest hour, not your average day. Count what runs at once: shower, dishwasher, washing machine.
Signs a 40 gallon is too small: the water goes lukewarm during the second shower, or you ration laundry. Signs it is too large: you pay to keep 40 gallons hot for one or two people. Tankless is another approach; see tank versus tankless.
What does a 40 gallon gas water heater cost?
Fixr's 40-gallon water heater guide lists $700 to $2,300 installed for gas or propane. This Old House's water heater cost guide (updated June 2026) lists labor for a tank install at $300 to $800 and permits and inspections at $50 to $200. The range depends on brand, efficiency, venting, the shutoff and gas connector, the permit, and whether the old tank must be hauled away. Sacramento prices vary, and a local specialist quotes the real price.
| Item | Typical range |
|---|---|
| 40 gallon gas tank, installed | $700 to $2,300 installed (Fixr) |
| Labor and basic install | $300 to $800 (This Old House) |
| Permit and inspection | $50 to $200 (This Old House) |
| Haul-away of the old unit | $50 to $150 (Fixr) |
A like-for-like swap in the same spot sits at the low end. Moving the heater or changing the venting moves it up. Our guide to water heater replacement cost gives a wider breakdown, and the page on a plumber for water heater replacement explains how a visit runs.
What does installing a gas water heater involve in California?
A gas installation needs a permit, a correct vent, a gas shutoff and connector, a temperature and pressure relief valve with a discharge pipe, and earthquake bracing. Gas, venting and permit work are regulated, so the job goes to a plumber with a valid California contractor license, not to a homeowner.

California requires a contractor with a CSLB license for jobs of $1,000 or more in labor and materials, and a gas heater replacement almost always passes that mark. You can check a license on the CSLB site. The City of Sacramento lists water heater permits and fees on its building pages, and the plumber normally pulls the permit and arranges the inspection. New and replacement water heaters must be braced, anchored or strapped against earthquake movement under Health and Safety Code section 19211.
A few install details to know about:
- Venting. A standard atmospheric heater vents hot exhaust up a flue. The flue must slope and clear combustibles. Power-vent models use a fan and PVC pipe.
- Combustion air. A closet or garage location needs enough air for the burner.
- Garage location. The California Plumbing Code requires burners and ignition devices of gas heaters in a residential garage to sit at least 18 inches above the floor, unless the heater is a listed flammable vapor ignition resistant model. The plumber will apply this rule.
- Relief valve and discharge pipe. The relief valve must discharge to a safe place and must not be capped. Read about the pressure relief valve if yours drips.
- Gas shutoff and connector. A new flexible connector and shutoff valve are normally part of the job.
If you smell gas at any time, leave the house, call 911, then call the PG&E gas emergency line.
Gas or electric for a 40 gallon heater?
Gas heats faster and costs less to run in many homes, while electric is simpler to install and has no venting. Sacramento homes are served by PG&E for gas and SMUD for electricity, so rates differ by your actual bills. Compare both fuel prices on your own statements before you decide.
If you already have a gas line and flue, a gas replacement is usually the cheapest to install. If you have no gas, or you are weighing a heat pump model, look at electric water heaters and the gas versus electric guide. California's energy and air quality rules for water heaters are changing, so ask the specialist whether anything affects your unit.
How do you keep a 40 gallon gas heater lasting longer?
Flush it yearly, keep the temperature near 120 degrees, check the relief valve, and replace the anode rod every few years. A tank water heater typically lasts 10 to 15 years according to the US Department of Energy, and these steps help it get there.
Yearly flushing is covered in our guide on how to flush a water heater. Keep the area around the heater clear and do not store paint, solvents or gasoline near it. If the pilot keeps going out or the burner flame looks yellow instead of blue, call a plumber, because those point to a problem with the thermocouple, the draft or combustion. See also how long a water heater lasts. Check the homepage for more guides.
Questions people ask
How long does a 40 gallon gas water heater take to install?
A like-for-like swap usually takes 2 to 4 hours. Changing the vent, moving the unit or updating the gas line can take most of a day. The inspection may be on a different day, depending on the City schedule and how the plumber books it.
How long does a 40 gallon gas water heater take to heat up?
A gas 40 gallon unit typically heats a full tank from cold in about 30 to 40 minutes, faster than the 1 to 2 hours for a comparable electric tank. Heat-up depends on inlet water temperature and the burner's rated input.
What should I ask before I hire someone to install a gas water heater?
Ask for the CSLB license number and check it, ask whether the quote includes the permit, earthquake straps, a new gas connector, venting and haul-away, and ask what the manufacturer's warranty covers. Ask whether any code upgrades are expected.
Do I need to be home for a 40 gallon gas water heater install?
Someone over 18 usually needs to give access and be reachable. The gas is off for part of the job, and you will have no hot water for several hours. Ask the specialist what time window to expect.
Sources used
- California Health and Safety Code section 19211 (water heater bracing)
- City of Sacramento water heater permit and fee page
- Contractors State License Board
- Manufacturer specification sheets for 40 gallon gas tank water heaters, reviewed November 2026
- Cost to Replace a 40-Gallon Water Heater, Fixr (updated January 2026)
- How Much Does Water Heater Installation Cost, This Old House (updated June 2026)
Last changed
