A 20-gallon aquarium needs a heater between 100 and 150 watts
The standard rule is 5 watts of heating power per gallon of water. For a 20-gallon tank, that puts you in the 100 to 150-watt range. Most aquarists choose a 150-watt heater for a 20-gallon setup because it heats faster and maintains temperature more reliably when the room is cool. A 100-watt heater works if your room stays consistently warm and you are patient with heating time.
The wattage you actually need depends on three things: how many degrees you need to raise the water, how cold your room gets, and how quickly you want the tank to heat. A heater in a 72°F room heating to 78°F has an easier job than one in a 65°F room doing the same work. Larger heaters cycle on and off less often, which is gentler on the equipment and keeps temperature swings smaller.
Key Takeaways
- A 150-watt heater is the safest choice for a 20-gallon aquarium in most home conditions and heats the tank in 2 to 4 hours from room temperature.
- A 100-watt heater works for 20 gallons only if your room stays above 70°F and you do not mind waiting 4 to 6 hours for the tank to reach target temperature.
- Submersible heaters are easier to hide and regulate temperature more precisely than hang-on models, and they are the standard for aquariums this size.
- An aquarium thermometer is essential—it tells you whether your heater is actually holding the temperature your fish need, not just running.
Why wattage matters more than you might think
An undersized heater will run constantly and still fail to reach your target temperature on cold days. A 75-watt heater in a 20-gallon tank might keep the water at 74°F when the room is 68°F, but it cannot push higher without running nonstop. Fish stress when temperature swings, and a heater that cannot hold steady temperature creates constant stress.
An oversized heater is not dangerous—it straightforward cycles on and off more frequently. A 200-watt heater in a 20-gallon tank will heat the water in under an hour and then stay off until temperature drifts down. The thermostat does the work of preventing overheating, not the wattage itself. The trade-off is that larger heaters take up more space in the tank.
Submersible versus hang-on heaters for 20 gallons
Submersible heaters sit fully underwater and are the standard choice for 20-gallon tanks. They heat more evenly because water flows around them, and they are easier to hide behind plants or décor. Most come with a dial or digital display to set your target temperature, and they hold that temperature automatically. A 150-watt submersible heater costs between $15 and $40 depending on the brand and whether it has a digital readout.
Hang-on heaters clip to the rim and sit partially in the water. They are less common for aquariums this size because they take up rim space and heat less evenly. They work, but submersible models are easier to use and give you more room for a filter or light.
How to measure your room temperature before you buy
Check the temperature of the room where the tank will sit at the coldest time of day—usually early morning or late evening in winter. If your room stays between 70°F and 75°F year-round, a 100-watt heater is sufficient. If it drops below 70°F or if you live somewhere with cold winters, buy the 150-watt model.
Also consider whether the tank will sit near a window, door, or air vent. Cold drafts can pull heat out of the water faster than a small heater can replace it. A tank near a cold window may need a larger heater than the same tank in the center of a warm room.
Installing and testing your heater
Place the heater in a spot where water can flow around it freely—usually along the back or side of the tank, away from the intake of your filter. Do not bury it in gravel or hide it completely behind décor, because water needs to circulate past the heating element. Let the heater run for 30 minutes before you adjust the thermostat, so the water around it reaches a stable temperature.
Set the dial or digital display to your target temperature—typically 76°F to 78°F for most tropical fish. Use a separate aquarium thermometer to verify the actual water temperature after 2 to 4 hours. If the thermometer reads lower than your setting, the heater is working correctly but may be undersized for your room. If it reads higher, turn the dial down slightly.
Signs your heater is the wrong size
A heater that is too small will run constantly and still not reach your target temperature. You will see the heating element glowing red all the time, and the thermometer will plateau below where you set it. This usually means you need to upgrade to the next size up.
A heater that is too large will overshoot your target temperature and then shut off for long periods. This is less common and less harmful than undersizing, but it can cause small temperature swings. If you notice the water climbing 2°F or 3°F above your setting before the heater shuts off, lower the dial slightly or consider a smaller model on your next replacement.
Heater maintenance and lifespan
Aquarium heaters typically last 3 to 5 years before the thermostat becomes unreliable or the heating element fails. Clean the outside of the heater every few months by unplugging it, letting it cool, and wiping it gently with a soft cloth. Do not scrub the heating element itself—just remove dust and algae from the casing.
If your heater stops heating or heats unevenly, replace it rather than repair it. A failing heater is a common cause of fish loss because temperature can drop suddenly. Keep a backup heater on hand if you have fish that are sensitive to temperature change, such as discus or cardinal tetras.
Frequently Asked Questions
Can I use a heater rated for 10 gallons in my 20-gallon tank?
No. A 50-watt heater (typical for 10 gallons) will run constantly and fail to maintain stable temperature in a 20-gallon tank, especially if your room is cool. You will see the heating element glow red all the time and the water will still be colder than you want.
What temperature should I set my heater to?
Most tropical fish thrive at 76°F to 78°F. Goldfish and other coldwater fish do not need a heater at all. Check the care sheet for your specific fish to find the right range, then set your heater 1°F to 2°F higher to account for heat loss.
Do I need a heater if my room is always warm?
If your room stays above 75°F year-round and never drops at night, you may not need a heater. However, most homes have temperature swings, and even a small heater prevents stress from those changes. A 100-watt heater is cheap insurance.
Can I leave my heater on all the time?
Yes. Aquarium heaters are designed to run continuously. The thermostat turns the heating element on and off automatically to maintain your target temperature, so the heater itself never overheats.
What happens if my heater breaks?
Temperature will drop gradually over several hours. Most fish can tolerate a slow drop better than a sudden one. Move the tank to a warmer room, cover it with a blanket to trap heat, or buy a replacement heater when ready. Keep the old heater as a backup for future emergencies.