There isn't one right number of fish for a 20 gallon tank. What it can hold depends on which fish, how big they grow, how much waste they make, your filter and how often you change the water. This guide explains what really limits a 20 gallon, why the popular "one inch per gallon" rule misleads, and gives four cautious example communities you can use as a starting point.

How this guide was put together: the stocking advice below follows widely published guidance, mainly from Aquarium Co-Op's stocking guide, and common minimum tank sizes for each species. The tank measurements are our own. Always check a species' needs before you buy.

First, which 20 gallon do you have?

"20 gallon" covers two common shapes, and the shape matters as much as the volume.

20 gallon long20 gallon high
Inches (L x W x H)30 x 12 x 1224 x 12 x 16
Floor and surface area360 sq in288 sq in
Swimming length30 in24 in
Best forSchools, bottom dwellersMid-water fish, tall plants

The 20 long has 25% more floor and surface area. Bottom dwellers such as corydoras use the floor, active fish use the length, and a bigger water surface takes in more oxygen. For the same number of fish, the 20 long is the more forgiving shape. The 20 long vs 20 high comparison covers the other differences.

Your tank holds less water than 20 gallons

The "20" is the outside box. Take away the glass, a 2 inch gravel bed and the gap below the rim, and a 20 long has roughly 13 to 15 gallons of open water; a 20 high a little more. Rocks and wood take more again. That's one reason to stock on the light side. Work out your own tank's figure with the real water volume calculator, and the gravel with the 20 gallon gravel guide.

Why the "1 inch per gallon" rule fails

The old rule says one inch of fish per gallon, so 20 inches of fish in a 20 gallon. It's roughly fair for small, slim fish 1 to 3 inches long, and misleading for anything else:

  • Body bulk: ten 1 inch tetras have far less body, and make far less waste, than one 10 inch fish. By the rule they're equal.
  • Adult size: fish are sold young. A 2 inch common pleco or goldfish in the shop can reach 10 inches or more.
  • Behaviour: schooling fish need a group of about 6 or more to feel secure, and territorial fish need space no matter how small they are.

So instead of counting inches, check the limits below.

What really decides how many fish fit

  • Adult size: look up how big each species grows, and its minimum tank size. If a fish needs 30 gallons as an adult, it doesn't belong in a 20 even as a juvenile.
  • Waste (bioload): fish waste and leftover food break down into ammonia, then nitrite, then nitrate. Heavy eaters and big fish make more.
  • Filtration: the filter houses the bacteria that convert ammonia. A filter rated for 80 to 120 gallons per hour suits a 20 gallon.
  • Live plants: plants absorb some of the waste, so a well-planted tank copes better.
  • Water changes: regular water changes remove nitrate. The more fish, the more often you'll need to change water.
  • Group size and temperament: schooling fish need their group, and aggressive or territorial fish limit what else can share the tank.

Four example communities for a 20 gallon long

These are cautious starting points, not maximums. Each assumes a cycled tank, a suitable filter and heater, and weekly water changes. Pick one idea; don't combine them.

IdeaExample stockingGood to know
Nano school10 to 12 ember tetras or chili rasboras, 6 to 8 pygmy corydoras, a few nerite snails or cherry shrimpTiny, peaceful fish; a lot of activity for a light bioload. Suits a planted tank.
Classic community8 to 10 neon tetras or harlequin rasboras, 6 small corydoras (such as panda cories), 1 honey gouramiThe gourami is the centerpiece fish. Cories need sand or smooth gravel.
Livebearers3 to 5 male platies or 6 to 8 male endlers, 6 pygmy corydorasAll males avoids the tank filling with fry. Mixed groups breed quickly.
Betta community1 male betta, 6 to 8 pygmy corydoras, a few nerite snailsTank mates should stay low and have short fins. Some bettas won't share: be ready to separate.

In a 20 gallon high, use the lower end of each range, and favour fish that use the middle of the water over bottom dwellers.

Fish that don't belong in a 20 gallon

  • Common and comet goldfish: they grow very large and suit ponds or very large tanks. A single fancy goldfish is often given a 20 long as the minimum, and goldfish shouldn't share with tropical fish.
  • Common plecos: sold small, but they grow to around a foot or more.
  • Oscars and most large cichlids: far too big and messy.
  • Angelfish: they grow tall and are better in a taller tank such as a 29 gallon (18 inches high) or bigger.

How to add fish to a 20 gallon

  1. Cycle the tank first. Let the filter bacteria build up before adding fish. A new tank can't handle a full load at once.
  2. Plan your water-change routine before choosing fish, and stick to it.
  3. Add the fish you want most first, starting with the minimum group size for schooling fish.
  4. Test the water weekly. Ammonia and nitrite should read 0, and nitrate should stay under about 40 ppm.
  5. Wait 2 to 3 weeks of steady readings before adding the next group.
  6. Stop short of full. An understocked tank is easier to keep stable, and leaves room if fish grow bigger than expected.

The equipment a 20 gallon needs

Still choosing a size? The 10 gallon vs 20 gallon comparison and the best tank size for beginners guide can help.

How Many Fish in a 20 Gallon Tank? Stocking Ideas & Rules: chart to save
Save this chart for later. Save to Pinterest

Frequently asked questions

How many fish can I put in a 20 gallon tank?

There's no single number, because it depends on the fish's adult size, how much waste they make, your filter and how often you change water. As a cautious example, a 20 gallon long can hold a school of 8 to 10 small tetras, 6 small corydoras and one centerpiece fish such as a honey gourami, added gradually once the tank has cycled.

Does the 1 inch per gallon rule work?

Only roughly, and only for small, slim fish about 1 to 3 inches long. It ignores body bulk and waste: one 10 inch fish produces far more waste than ten 1 inch fish, so the rule breaks down for anything larger.

Is a 20 long or a 20 high better for fish?

Usually the 20 long. It has the same water but 25% more floor and surface area (30 x 12 inches against 24 x 12), which suits bottom dwellers and active schooling fish. The 20 high suits fewer fish that use the middle of the water, and taller plants.

Can goldfish live in a 20 gallon tank?

Common and comet goldfish can't: they grow very large and need a pond or a very large tank. A single fancy goldfish is often given a 20 gallon long as the minimum, but goldfish shouldn't share a tank with tropical fish.

Can a betta live with other fish in a 20 gallon?

Often, with peaceful tank mates that stay away from the surface and don't have long fins, such as pygmy corydoras and snails. Some bettas still attack tank mates, so watch closely and have a plan to separate them.

How fast can I add fish to a new 20 gallon tank?

Cycle the tank first, then add one group at a time. Wait until ammonia and nitrite read 0 and nitrate stays low for a couple of weeks before adding the next group.