If the water in your house is not getting hot, it may be time for water heater repair. Nationally, the average water heater repair cost ranges between $120 and $200, although prices can range up to $400, depending on the problem and materials. Competent homeowners may also be able to try DIY fixes, whether they have a traditional gas or electric water heater or a tankless gas or electric heater. Troubleshooting the different issues that can arise with each of the styles requires some knowledge of how they operate and what red flags to look out for. For a natural gas water heater, the first step is to check whether the pilot light has gone out. It’s important to follow the manufacturer’s directions if you want to relight it yourself. If you smell gas, stop everything and call your gas company — the smell could signal a dangerous gas leak. If your household’s water is not getting hot enough, you can try increasing the temperature on the water heater’s front dial above the standard setting of 120 degrees; for safety, always turn off electricity to the unit before adjusting temperatures. If you keep running out of hot water, your household may simply need a higher-capacity water heater, so consider upgrading. Quick professional fixes include replacing the thermostat or heating elements and cleaning and repairing the thermocouple.