How Many Fish in a 20 Gallon Tank? Honest Stocking Numbers
A 20 gallon tank is the most-recommended first aquarium in the hobby — and "how many fish can I put in it?" is the question that sinks more beginners than any other. The honest answer is a range with reasoning: a 20-long community tank comfortably holds a school of small fish plus bottom dwellers, while the same tank is already overstocked with one common goldfish. Here is how the number is actually decided.
Published by Nan Liang
Start with the footprint, not the gallons
Two different tanks carry the "20 gallon" label. The 20-long measures 30×12 inches on the base with a 12.75 in height; the 20-high is 24×12 with 16.75 in of height (D27). Same nominal volume, very different aquariums: the long tank offers 360 in² of surface where oxygen enters the water against the high tank’s 288 in², plus six extra inches of swimming run. Active fish do measurably better in the long format; the high format suits a betta, shrimp, or a planted display.
This is why experienced keepers refuse gallon-count answers: the stocking limit of a tank is set by surface area and swimming length first, and by volume second (D11). Whenever this article says "20 gallon", read "20-long" unless stated otherwise.
The inch-per-gallon rule — and why it fails here
The classic hobby rule — one inch of adult fish per US gallon — gives "20 inches of fish" for this tank, and it is wrong in both directions. It overcounts slim, active fish (20 inches of zebra danios is a school of 13 that will pace a 24-inch tank) and undercounts deep-bodied or waste-heavy fish (one 8-inch fancy goldfish strains a 20 gallon far more than 8 inches of neon tetra). Fishkeeping forums keep the rule alive because it is arithmetic, not because it predicts outcomes.
A better triage: count the school by behavior, the individuals by adult size, and the whole tank by filtration and maintenance. The table below gives community-caliber magnitudes for a 20-long with a standard hang-on-back filter and a weekly water change — estimates, not entitlements.
What fits in a 20 gallon: community magnitudes
| Stock | Comfortable number (20-long) | Why |
|---|---|---|
| Small tetras / rasboras (neon, ember, harlequin) | 8–10 | Schooling fish need 6+ conspecifics; small bioload, active swimmers |
| Corydoras catfish (panda, bronze) | 4–6 | Bottom layer; also a school — never keep one alone |
| Betta (single, no other anabantoids) | 1 | Long-fin and territorial; a 20-high is even better for it |
| Dwarf gourami | 1 | Centerpiece fish; pair only in a longer tank |
| Guppies / platies / endlers | 3–5 | Livebearers multiply fast — start low or go all-male |
| Cherry shrimp / snails | 10–20 shrimp, 2–3 snails | Negligible bioload; count them as cleanup, not stock |
| Zebra danios / tiger barbs | Better in a longer tank | Fast cruisers that pace anything under 30 inches |
| Common or comet goldfish | 0 | 10–12 inch pond fish; a 20 gallon is not a goldfish tank |
A concrete, well-trodden community for this size: 8 harlequin rasboras mid-water, 5 panda corydoras on the bottom, and one male betta (only if the betta ignores the rasboras — have a plan B). That is roughly 25 inches of fish by the old rule, and it works because the species occupy different layers and none of them is a heavy waste producer.
Filtration and maintenance decide the ceiling
The community magnitudes above assume a filter turning over roughly ten tank volumes per hour — the common community caliber for a 20 gallon is a 150–200 GPH hang-on-back or sponge equivalent (A16) — plus a 25% weekly water change. Halve the maintenance and the same stocking shows nitrate climbing between changes; that is the tank telling you the ceiling was lower than the table.
Watch behavior before numbers: fish gasping at the surface at dawn, fins clamped, or chasing that never stops are the real overstocking indicators, and they appear weeks before a test kit turns red. Stock slowly — a school this month, the centerpiece next month — and let the filter biology catch up with each addition.
Frequently asked questions
How many fish can I put in a 20 gallon tank?
As a community: one school of 8–10 small tetras or rasboras, one school of 4–6 corydoras, and one centerpiece fish such as a betta or dwarf gourami. Magnitudes assume a 20-long footprint, a filter around 10× tank volume per hour, and weekly 25% water changes.
Is a 20 gallon big enough for a betta?
Yes — it is more than enough, and bigger is kinder. A betta thrives in a heated, filtered 20 gallon, ideally the 20-high where its long fins and labyrinth breathing are comfortable. Avoid a second anabantoid (gourami) in the same tank.
How many guppies can live in a 20 gallon tank?
Start with 3–5, and plan for babies. Guppies are livebearers; a mixed group can number 30 within months. A 20 gallon holds a stable all-male group of 5 comfortably, or a breeding trio only if you have somewhere for the fry.
Can I keep goldfish in a 20 gallon tank?
Fancy (double-tail) goldfish are the minimum-size exception — one juvenile for a short, well-filtered grow-out — but common and comet goldfish, which reach 10–12 inches, do not belong in a 20 gallon at all. They are pond fish; a 30+ gallon long tank is their indoor floor.
How many neon tetras in a 20 gallon?
Eight to ten. Neons are a schooling species that needs at least six of its own kind to settle, and ten shows natural behavior without crowding the mid-water column. Pair them with bottom dwellers rather than a second school.
What fish should not go in a 20 gallon?
Common and comet goldfish, plecos (they grow to 18–24 inches), tiger barbs and danios that need swimming run, most cichlids, and any schooling fish you can only afford to buy two or three of. The "starts small" fish at the store is the classic trap — size for the adult.
Does the one-inch-per-gallon rule work for a 20 gallon?
Only by coincidence. It ignores footprint, swimming behavior, and waste production — 20 inches of danios paces the glass while 8 inches of goldfish overwhelms the filter. Use it as a conversation opener, never as a stocking plan.
How many corydoras in a 20 gallon tank?
Four to six of one species. Corydoras are schooling bottom dwellers; a single cory hides and fades. Bronze, panda, and peppered species stay around 2–2.5 inches and leave the mid-water to the other fish.
How do I know my 20 gallon is overstocked?
Nitrate climbing week over week despite water changes, fish gasping at dawn, persistent chasing or hiding, and algae blooms are the practical signals. Test the water before and after a change — if nitrate halves and the fish visibly perk up, the tank was carrying more than it should.
Sources
Want the numbers for your own tank? Try the free aquarium volume calculator — no signup, runs in your browser.