Best Fish for a 20 Gallon Tank: 6 Stocking Plans That Work
A 20 gallon (75.7 L) tank holds a real community: for example 12 neon tetras with 6 panda corys (about 71%) or 12 neons with 6 kuhli loaches (about 91%). The 20 long and 20 high hold the same water, but the long is 77 cm instead of 62 cm, which is what pencilfish, hatchetfish and dwarf neon rainbowfish need.
Twenty gallons is where stocking stops being about what squeezes in and starts being about design. Most community fish pass on volume. What separates a good plan from a frustrating one is the shape of the tank you buy, because two tanks sold as "20 gallon" have very different floors. The best fish for a 20 gallon tank are small schooling fish over a bottom group, such as neon tetras with panda corys or kuhli loaches.
Short answer
Both standard 20 gallon tanks hold 75.7 L (Aqueon critical dimensions, confidence high):
| Tank | Volume | Length | Width | Height |
|---|---|---|---|---|
| 20 long | 75.7 L (20 gal) | 76.8 cm (30.25 in) | 31.8 cm (12.5 in) | 32.4 cm (12.75 in) |
| 20 high | 75.7 L (20 gal) | 61.6 cm (24.25 in) | 31.8 cm (12.5 in) | 42.5 cm (16.75 in) |
Source: Aqueon critical dimensions PDF.
The plans below are scored at 76 L, with 77 cm for a 20 long or 62 cm for a 20 high. Real water is lower once substrate and hardscape go in. One honest caveat: panda corys and kuhli loaches both carry a 76 L catalog minimum, a rounded "20 gallons" in their sources. At the exact 75.7 L the checker blocks them by a fraction of a litre; at the rounded 76 L it passes them. Treat 20 gallons as their floor, not as spare room.
Why inch-per-gallon fails at 20 gallons
The rule would allow 20 inches (about 51 cm) of fish. Two examples show why that is not a useful number.
- Bioload. In the catalog a neon tetra (up to 4 cm) is rated
very_lowbioload and a fancy goldfish (up to 20 cm)very_high. In the checker one fancy goldfish counts the same as 20 neon tetras. Inch-per-gallon counts it as five. - Shape and behavior. Zebra danios are only 4–6 cm, so 12 of them look like a comfortable 20 gallon school. Aquarium Co-op suggests exactly that, "12 to 15" danios in a 20 gallon (Aquarium Co-op). The catalog, following Seriously Fish's 90 cm base, gives zebra danios 80 L and 90 cm, so the checker answers No for 12 zebra danios even in a 20 long. Sources disagree here, and the checker follows the catalog.
Published rules also disagree with each other by about 2.6× on the same fish: Practical Fishkeeping's 1 inch per gallon allows 21 neons in 96 L (a 106 L tank less 10% for decor) (PFK), while Tropical Fish Hobbyist puts 20 neons in a mature 10 gallon (TFH).
What the checker does. Each animal adds count × bioload factor × adult length (cm) ÷ 5 units; capacity is litres × 0.20. At 100% with medium bioload that is 1 cm of adult fish per litre, the rule Maidenhead Aquatics publishes (Maidenhead). It was calibrated on 27 published stocking examples. Separate hard rules check minimum volume and length, temperature, pH, temperament, fin nipping and shrimp safety. Bands: under 60% Light, 60–85% Moderate, 85–100% Full, 100–150% Heavy (a condition), over 150% Overstocked (No). Try your own list in the fish compatibility checker.
Footprint matters: 20 long vs 20 high
The 20 high trades 15 cm of length for 10 cm of height. For many fish that does not matter: every plan in the first four slots below scores identically at 62 cm and 77 cm. But a group of active mid-water and surface fish carries minimum lengths between 63 and 77 cm, which a 20 long clears and a 20 high does not.
| Species | Min tank | Min length | Source |
|---|---|---|---|
| Three-lined pencilfish | 68 L (18 gal) | 75 cm (29.5 in), low | Seriously Fish |
| Checker barb | 68 L (18 gal), low | 75 cm (29.5 in), low | Seriously Fish |
| Marbled hatchetfish | 70 L (18.5 gal) | 75 cm (29.5 in), low | Seriously Fish |
| Black skirt tetra | 75 L (19.8 gal) | 75 cm (29.5 in), low | Seriously Fish |
| Figure-eight puffer | 76 L (20 gal) | 75 cm (29.5 in), low | Seriously Fish |
| Dwarf neon rainbowfish | 76 L (20 gal) | 76 cm (29.9 in) | Aquarium Co-op |
Confidence is medium unless marked low. Black skirt tetras also need a group of 8 in the catalog.
Most of these lengths come from a single Seriously Fish footprint, so they are low confidence. The dwarf neon rainbowfish is the clearest case: Aquarium Co-op asks for "a 20-gal long or 29-gal tank at minimum". The checker only scores length, not width or height. The extra height of a 20 high adds no swimming room for fish that cruise horizontally, though it does suit tall plants.
Stocking plans for a 20 gallon tank
Six plans scored by the engine. All six are Yes with no conditions. Plans 1–4 work in either tank; plans 5 and 6 need the 20 long.
1. Twelve neon tetras and six panda corys
The most-asked-for 20 gallon community: a school mid-water, a group on the sand.
| Species | Count |
|---|---|
| Neon tetra | 12 |
| Panda corydoras | 6 |
Good match · Stocking 71%
Yes at about 71% (Moderate), and the same at 62 cm. Neon tetras need 55 L and 60 cm in the catalog, so both 20s qualify. Pandas prefer cooler tropical water (22–25 °C) and neons 21–25 °C, so a heater set near 24 °C (75 °F) suits both. The checker notes there is no bioload figure for panda corys, so the number is an estimate. More ideas in neon tetra tank mates.
2. Twelve neons and six kuhli loaches
Close to the setup Aquarium Co-op describes for a 20 gallon: "a school of 12 to 20 neon tetras ... three to four kuhli loaches".
| Species | Count |
|---|---|
| Neon tetra | 12 |
| Kuhli loach | 6 |
Good match · Stocking 91%
Yes at about 91% (Full), also at 62 cm. The checker says the tank will be full, reminds you kuhlis jump (tight lid) and are nocturnal. We used six kuhlis rather than Co-op's three or four because the catalog asks for a group of at least 6; with four, the checker adds a group-size condition. Kuhlis grow to 7–10 cm, which is why the percentage is higher than plan 1.
3. Honey gouramis, harlequin rasboras and otocinclus
A calm, planted tank with color at the top.
| Species | Count |
|---|---|
| Honey gourami | 4 |
| Harlequin rasbora | 8 |
| Otocinclus | 6 |
Good match · Stocking 81%
Yes at about 81% (Moderate), same at 62 cm. Honey gouramis have a 75 L minimum for a group of four or more, harlequins 57 L and 60 cm (high confidence). Otocinclus graze algae and need a mature, planted tank; the catalog uses 57 L because a group needs enough to eat. The checker reminds you honey gouramis jump.
4. A cherry shrimp colony with ten ember tetras
For a planted tank where shrimp are the point and the fish are small enough to leave adults alone.
| Species | Count |
|---|---|
| Cherry shrimp | 20 |
| Ember tetra | 10 |
Good match · Stocking 69%
Yes at about 69% (Moderate), same at 62 cm. Ember tetras reach 1.5–2.5 cm, and the checker raises no shrimp conflict. Cherry shrimp breed readily; expect some shrimplets to be eaten; dense moss helps. See cherry shrimp tank mates.
5. Three-lined pencilfish and pygmy corys (20 long only)
A soft-water, low-light tank with slow, elegant fish.
| Species | Count |
|---|---|
| Three-lined pencilfish | 10 |
| Pygmy cory | 10 |
Good match · Stocking 66%
Yes at about 66% (Moderate) at 77 cm. On a 20 high the checker answers No: "Three-lined pencilfish needs a tank at least 75 cm long." We used ten pencilfish because with eight the checker adds a group-size condition. They jump, so keep a lid, and Aquarium Co-op notes pencilfish eat shrimp babies, so this is not a shrimp tank.
6. Dwarf neon rainbowfish with nerites (20 long only)
For someone who wants fast, shimmering fish rather than a quiet school.
| Species | Count |
|---|---|
| Dwarf neon rainbowfish | 6 |
| Nerite snail | 3 |
Good match · Stocking 71%
Yes at about 71% (Moderate) at 77 cm; at 62 cm the checker answers No on length. The catalog has no bioload figure for this rainbowfish, so the percentage is an estimate. Be careful adding a bottom group: six panda corys on top of this plan pushes it to about 103%, the Heavy band, a condition rather than a clean Yes.
Fish to avoid in a 20 gallon tank
These popular species are blocked at 76 L, on volume, on length or both. Catalog values, medium confidence unless noted.
| Species | Min tank | Min length | Source |
|---|---|---|---|
| Serpae tetra | 75 L (19.8 gal) | 80 cm (31.5 in), low | Seriously Fish |
| Lemon tetra | 75 L (19.8 gal), high | 80 cm (31.5 in), low | Seriously Fish |
| Molly | 80 L (21.1 gal) | 90 cm (35.4 in), low | Seriously Fish |
| Zebra danio | 80 L (21.1 gal) | 90 cm (35.4 in) | Seriously Fish |
| Three-spot gourami | 81 L (21.4 gal) | 90 cm (35.4 in), high | Seriously Fish |
| Fancy goldfish | 100 L (26.4 gal) | not set | OATA |
| Tiger barb | 110 L (29.1 gal) | 80 cm (31.5 in) | Seriously Fish |
| Swordtail | 110 L (29.1 gal) | 120 cm (47.2 in), low | Seriously Fish |
| Angelfish | 200 L (52.8 gal) | 100 cm (39.4 in), low | Seriously Fish |
Serpae and lemon tetras pass on volume but fail on length even in a 20 long. Mollies are a common surprise: Aquarium Co-op asks for at least 20 gallons and 29–55 gallons for big types, OATA 80 L for sailfins. See molly tank mates for setups that suit them.
Upgrading from a 20 gallon
A 29 gallon has the same 77 cm length as a 20 long but holds 109.8 L, so it adds water without adding floor. That helps tiger barbs and fancy goldfish on volume, but mollies and zebra danios still fail at 77 cm. The 29 gallon guide covers why a 30 gallon, at 92 cm, changes more. A filled 20 gallon weighs about 225 lb (Aqueon), so use a proper stand. Cycle before stocking: how to cycle a fish tank.
Frequently asked questions
How many fish can you put in a 20 gallon tank?
Our checker passes, for example, 12 neon tetras with 6 panda corys at about 71%, or 12 neons with 6 kuhli loaches at about 91%. The total depends on bioload and adult size, not just a count.
Is a 20 long or a 20 high better?
For most community fish the result is the same. The 20 long is better for active swimmers: pencilfish, hatchetfish, black skirt tetras and dwarf neon rainbowfish pass on a 20 long and are blocked on a 20 high.
Can a betta live in a 20 gallon community tank?
Often, with peaceful fish. One betta with 8 harlequin rasboras and 2 nerites scores Yes with conditions at about 52%: the checker warns to watch for chasing and add hiding places. See betta tank mates.
How many neon tetras in a 20 gallon tank?
Aquarium Co-op suggests 12 to 20 for a 20 gallon. Twelve neons with six panda corys come out at about 71% in our checker, which leaves some room.
Can zebra danios live in a 20 gallon tank?
Sources disagree. Aquarium Co-op suggests 12 to 15 danios in a 20 gallon, but the catalog uses 80 L and 90 cm from Seriously Fish, so our checker answers No even for a 20 long.
Does the inch-per-gallon rule work for a 20 gallon?
Not well. It ignores bioload (one fancy goldfish counts like 20 neons in our checker), adult size, swimming length and group size.
Sources
- Aqueon: Critical dimensions of Aqueon aquariums (PDF)
- Aquarium Co-op: 5 Best Fish Tank Ideas for a 20-Gallon Aquarium
- Practical Fishkeeping: Frequently asked questions on stocking densities
- Tropical Fish Hobbyist: Top 10 for the 10-Gallon Tank
- Maidenhead Aquatics: How many fish can I keep in my 60-litre tank?
- Seriously Fish: Paracheirodon innesi (neon tetra)
- Aquariadise: Corydoras panda care
- Aquarium Co-op: Care guide for kuhli loaches
- Seriously Fish: Trichogaster chuna (honey gourami)
- Seriously Fish: Trigonostigma heteromorpha (harlequin rasbora)
- Aquarium Source: Otocinclus
- Seriously Fish: Hyphessobrycon amandae (ember tetra)
- Seriously Fish: Nannostomus trifasciatus (three-lined pencilfish)
- Aquarium Co-op: Pencilfish
- Aquarium Co-op: Dwarf neon rainbowfish
- Seriously Fish: Danio rerio (zebra danio)
- Seriously Fish: Poecilia sphenops (molly)
- Aquarium Co-op: Molly fish care
- Seriously Fish: Puntigrus tetrazona (tiger barb)
- OATA: Fancy goldfish care sheet (PDF)