A 20-gallon aquarium typically needs a 100 to 150-watt heater

The exact wattage depends on how much you want to raise the water temperature above room temperature. If your room stays around 70°F and you want the tank at 76°F (a common target for tropical fish), a 100-watt heater is usually enough. If your room is cooler—say 65°F—or you want a warmer tank at 80°F, move up to 150 watts. The larger the temperature gap you're trying to close, the more wattage you need.

A useful rule of thumb: use about 5 watts per gallon for a 5°F temperature increase, and 10 watts per gallon for a 10°F increase. For a 20-gallon tank, that means 100 watts closes a 5°F gap and 200 watts closes a 10°F gap. Most 20-gallon setups fall in the middle, so 100 to 150 watts covers the majority of situations.

Key Takeaways

  • A 100-watt heater works for a 20-gallon tank if your room temperature is around 70°F and you want the water at 76°F.
  • Use 150 watts if your room is cooler than 70°F or if you need the tank warmer than 76°F.
  • Heaters with built-in thermostats turn on and off automatically, so they won't overheat the tank even if you buy one slightly larger than the minimum.
  • Submersible heaters (fully underwater) heat more evenly than hang-on models and are the standard choice for aquariums.

How to calculate the right wattage for your situation

Start by measuring your room temperature where the aquarium sits. This is your baseline. Next, decide what temperature your fish need. Tropical fish usually want 76°F to 80°F; goldfish and other coldwater fish can live in 65°F to 72°F. The difference between room temperature and target temperature is what the heater has to overcome.

Multiply that temperature difference by 10 to get a rough wattage. If your room is 65°F and you want 76°F (an 11°F difference), you need roughly 110 watts. If your room is 60°F and you want 80°F (a 20°F difference), you need roughly 200 watts. For a 20-gallon tank, 200 watts is on the high end but still safe—the thermostat will straightforward cycle on less often once the tank reaches temperature.

If you're unsure, 150 watts is a safe middle ground for most 20-gallon tanks. It heats faster than 100 watts but won't overshoot if your room is warmer than expected.

Submersible heaters are the standard choice

A submersible heater sits completely underwater, usually held in place by suction cups. These heat the water evenly because they're surrounded by it on all sides. They're also the cheapest option and work in any tank setup. Most come with a built-in thermostat that turns the heating element on when the water drops below your set temperature and off when it reaches it.

Hang-on heaters clip to the rim of the tank and heat only the water they touch directly. They're less common for aquariums because they create temperature gradients—some parts of the tank stay warmer than others. For a 20-gallon tank, a submersible heater is almost always the better choice.

When you buy a submersible heater, check that it's rated for your tank size. A 100-watt heater will say something like "for tanks up to 20 gallons" on the box. If it says "up to 15 gallons," it's undersized for your needs.

Where to position the heater in the tank

Place the heater in a spot where water flows past it—near the filter outlet is ideal. This helps the heater's warmth spread throughout the tank instead of creating a hot pocket around the heater itself. Avoid putting it directly under a light or in a corner where water barely moves.

Keep the heater at least an inch away from the glass walls and substrate. If it sits flush against glass, the heat can concentrate in one spot and potentially crack the glass or damage decorations. Most submersible heaters come with suction cups; use them to hold the heater at a slight angle in the middle of the tank.

Thermostat-controlled heaters prevent overheating

All modern aquarium heaters have a built-in thermostat. You set the target temperature (usually with a dial or digital display), and the heater automatically turns on when the water cools below that point and off when it reaches it. This means you can safely buy a heater slightly larger than the minimum—it straightforward won't run as often.

The thermostat is why a 150-watt heater won't cook a 20-gallon tank. Once the water reaches 76°F, the heating element stops. It only kicks back on if the temperature drops. In a stable room, the heater might run for just a few minutes per day.

Signs your heater is too small or too large

If your heater is too small, the tank temperature will slowly drift downward, especially at night or in winter. You'll notice the fish become sluggish or the water stays 2 to 3 degrees below your target. If this happens, upgrade to the next size up (usually 150 watts for a 20-gallon).

If your heater is too large, the thermostat will cycle on and off very frequently—you might hear it clicking every few seconds. This wears out the thermostat faster and wastes electricity. However, it won't damage the tank. If you notice constant cycling, you can dial the target temperature down slightly, or straightforward accept that the heater is oversized and will eventually need replacement sooner.

Most 20-gallon setups with a 100 to 150-watt heater run smoothly with minimal cycling. The heater turns on for a few minutes when the room cools, then stays off during the day.

Frequently Asked Questions

Can I use a heater rated for a larger tank in my 20-gallon?

Yes, as long as the thermostat works properly. A 200-watt heater rated for 40 gallons will straightforward cycle less often in a 20-gallon tank. The thermostat prevents overheating. However, if the thermostat fails and the heater runs continuously, a 200-watt heater can dangerously overheat a small tank, so buy the smallest heater that meets your temperature needs.

What temperature should I set for tropical fish?

Most tropical fish thrive at 76°F to 78°F. Some species prefer 80°F, and a few tolerate 74°F. Check the care sheet for your specific fish. Goldfish, plecos, and other coldwater species do fine at 68°F to 72°F and don't need a heater in most homes.

Do I need a heater if my room is always warm?

If your room stays above 76°F year-round, you may not need a heater. However, most homes cool down at night or in winter. A small 50-watt heater is cheap insurance and prevents temperature swings that stress fish. If you're unsure, add one.

How long does it take a heater to warm up a 20-gallon tank?

A 100-watt heater typically raises the temperature by 1°F per hour in a 20-gallon tank, assuming the room temperature is stable. A 150-watt heater works faster, raising it by about 1.5°F per hour. If you're starting from room temperature and need a 10°F increase, expect 6 to 10 hours.

Can I use an under-gravel heater instead of a submersible one?

Under-gravel heaters are rarely used in modern aquariums because they heat unevenly and can damage the substrate. Stick with a submersible heater. They're cheaper, more reliable, and easier to adjust.