How Many Fish Can You Put in a 20-Gallon Tank?
A 20-gallon tank (a "20 high" is 24 × 12 × 16 inches, a "20 long" is 30 × 12 × 12) holds about 17 gallons of water after gravel and decorations. That is room for a real community: a school, a bottom group and a centrepiece fish. Last reviewed December 1, 2026.
Short answer
With a filter rated for the tank, a 20-gallon tank usually holds one school of 8–12 small fish, a group of 6 corydoras and one centrepiece fish, or a group of livebearers with a bottom group. A 20 long gives bottom dwellers and active swimmers more floor and length than a 20 high.
Stocking ideas that work
Each idea was run through the stocking calculator with a matched filter; open any of them to change the numbers.
| Idea | Fish | Stocking | Shared temp. | Cautions | |
|---|---|---|---|---|---|
| Peaceful community | 8 × Harlequin rasbora, 6 × Panda cory, 1 × Honey gourami, 1 × Nerite snail | 91% | 72–77°F | None | Open in calculator |
| Livebearer tank | 4 × Platy, 6 × Panda cory, 1 × Nerite snail | 83% | 72–77°F | None | Open in calculator |
| Betta centrepiece | 1 × Betta (male), 10 × Ember tetra, 6 × Panda cory | 62% | 76–77°F | The shared temperature range is very narrow (76–77°F). Use a reliable heater and thermometer. | Open in calculator |
| Dwarf cichlid | 1 × Cockatoo dwarf cichlid, 8 × Cardinal tetra, 6 × Otocinclus | 83% | 75–79°F | None | Open in calculator |
| Shrimp-safe planted tank | 12 × Chili rasbora, 6 × Otocinclus, 20 × Cherry shrimp, 3 × Amano shrimp | 51% | 72–79°F | None | Open in calculator |
How many of one species fit in 20 gallons
Bioload limit for each species that is suitable for a 20-gallon tank, kept on its own with a matched filter. Mixing species shares the same budget.
| Species (alone in the tank) | Adult size | Min. group | Max by bioload | Notes |
|---|---|---|---|---|
| Chili rasbora | 0.8" | 8 | 116 | |
| Ember tetra | 0.8" | 8 | 116 | |
| Celestial pearl danio | 1" | 6 | 74 | |
| Pygmy cory | 1" | 6 | 74 | |
| Endler's livebearer | 1" | 3 | 59 | |
| Pea (dwarf) puffer | 1" | — | 49 | fin nipper, eats shrimp |
| Black neon tetra | 1.5" | 6 | 33 | |
| Forktail blue-eye | 1.5" | 6 | 33 | |
| Glowlight tetra | 1.5" | 6 | 33 | |
| Marbled hatchetfish | 1.5" | 6 | 33 | jumper |
| Neon tetra | 1.5" | 6 | 33 | |
| Pencilfish (Nannostomus beckfordi) | 1.5" | 6 | 33 | |
| Sparkling gourami | 1.5" | 3 | 33 | |
| White cloud mountain minnow | 1.5" | 6 | 33 | unheated tank |
| Otocinclus | 1.75" | 6 | 24 | |
| Serpae tetra | 1.75" | 6 | 24 | fin nipper |
| X-ray tetra | 1.75" | 6 | 24 | |
| Bloodfin tetra | 2" | 6 | 18 | |
| Cardinal tetra | 2" | 6 | 18 | |
| Cherry barb | 2" | 6 | 18 | |
| Harlequin rasbora | 2" | 8 | 18 | |
| Lemon tetra | 2" | 6 | 18 | |
| Rummynose tetra | 2" | 8 | 18 | |
| Zebra danio | 2" | 6 | 18 | fin nipper |
| Guppy | 2" | 3 | 14 | long fins |
| Honey gourami | 2" | — | 14 | |
| Panda cory | 2" | 6 | 14 | |
| African dwarf frog | 2.5" | 2 | 11 | |
| Julii cory (false julii) | 2.25" | 6 | 11 | |
| Penguin tetra | 2.5" | 6 | 11 | |
| Reticulated hillstream loach | 2.5" | 3 | 11 | |
| Dwarf neon rainbowfish | 2.5" | 6 | 10 | |
| Kuhli loach | 4" | 5 | 10 | |
| Black skirt tetra | 2.5" | 6 | 9 | fin nipper |
| Gardneri killifish | 2.5" | — | 9 | jumper |
| German blue ram | 2.5" | — | 9 | eats shrimp, territorial |
| Platy | 2.5" | 3 | 9 | |
| Sterbai cory | 2.5" | 6 | 9 | |
| Bleeding heart tetra | 2.75" | 6 | 7 | |
| Bronze cory | 2.75" | 6 | 7 | |
| Clown pleco | 3.5" | — | 3 | |
| Betta (male) | 2.75" | — | 1 (one male only) | one male per tank, long fins, eats shrimp |
| Cockatoo dwarf cichlid | 3" | — | 1 (one male only) | one male per tank, eats shrimp |
| Dwarf gourami | 3.5" | — | 1 (one male only) | one male per tank |
| Fancy goldfish | 6" | — | 1 | long fins, eats shrimp, unheated tank, eats plants |
| Paradise fish | 3.5" | — | 1 (one male only) | one male per tank, fin nipper, eats shrimp |
Fish that need more than 20 gallons
- Bristlenose pleco: needs about 25 gallons (adult size 5")
- Congo tetra: needs about 30 gallons (adult size 3.5")
- Buenos Aires tetra: needs about 30 gallons (adult size 2.75")
- Tiger barb: needs about 30 gallons (adult size 3")
- Rosy barb: needs about 30 gallons (adult size 5")
- Odessa barb: needs about 30 gallons (adult size 3")
- Gold barb: needs about 30 gallons (adult size 3")
- Swordtail: needs about 30 gallons (adult size 5")
- Molly: needs about 30 gallons (adult size 4")
- Pearl gourami: needs about 30 gallons (adult size 4.5")
- Glass catfish: needs about 30 gallons (adult size 3")
- Upside-down catfish: needs about 30 gallons (adult size 3.5")
- Siamese algae eater: needs about 30 gallons (adult size 6")
- Angelfish: needs about 30 gallons (adult size 5")
For a smaller tank see how many fish fit in a 10-gallon tank.