The best 20 gallon tank stocking ideas use the extra space for bigger groups, not more species. A 20 gallon can hold a real small community built in layers: one group of bottom dwellers, one school in the middle of the water, and at most one centerpiece fish near the top, all chosen so their temperature ranges overlap comfortably. It still cannot hold fish that grow large, and it does not turn the inch-per-gallon rule into something you can trust. Plan by adult size, by where each fish lives, and by shared temperature.
My name is Hossain. On this site I try to explain why before I say what, so here is the thinking behind that answer, followed by two worked plans with sourced figures you can check yourself.
What a 20 Gallon Changes (and What It Does Not)
Compared with a 10 gallon, a 20 gallon gives you two real gains. First, there is more water to dilute waste and absorb mistakes, so the tank changes less sharply when something goes wrong. Second, there is enough room for social fish to live in groups of a size that lets them behave normally.
What it does not give you is permission to fill every gap. The most common way people lose that extra margin is by treating "more room" as "more kinds of fish." Four species of three fish each is a worse tank than two species in proper groups, because none of the four gets the company it needs and every addition brings its own temperature and behavior to fit around.
A quick word on the inch-per-gallon rule, which almost every 20 gallon thread repeats: it is a shortcut, not a fact. It ignores body shape, waste output, activity and group size. I do not use it here.
20 Long or 20 High: Check Which One You Own
Two common tanks are both sold as "20 gallon." Aqueon, for example, lists both a 20 High and a 20 Long in its standard glass rectangle range. They hold similar amounts of water, but the long version is longer and lower, and the high version is shorter and deeper.
That matters for stocking. Bottom dwellers only use the floor, so a longer footprint gives them more usable space. Active schooling fish use horizontal distance, not height. If you own a 20 high, lean toward calmer, smaller fish and smaller bottom groups. Measure your own tank rather than trusting a label, and remember that a filled 20 gallon is heavy: our guide to how much a fish tank weighs explains the math before you choose a stand.
Plan by Layer: Bottom, Middle, Top
The layout that works most reliably in a 20 gallon is one species per layer. Fish that live in different parts of the water column share space with less competition.
- Bottom layer. Corydoras catfish and kuhli loaches scavenge along the substrate. The University of Florida College of Veterinary Medicine's aquatic animal health tank profiles describe panda corydoras as very peaceful, preferring their own species, and mostly nocturnal, and kuhli loaches as shy fish that mainly come out at night (read September 27, 2026).
- Middle layer. A single school of small fish. The same UF page describes ember tetras as peaceful fish that shoal together and stay toward the middle of the water column.
- Top layer, optional. One centerpiece fish, such as a single betta. This layer is the one to leave empty if you are unsure.
Planning this way also gives you a simple test for any fish you are tempted by in the store: which layer would it live in, and is that layer already taken?
Two Worked 20 Gallon Tank Stocking Ideas
Here are two combinations built with the layer method, each chosen so the species' listed temperature ranges overlap in the middle rather than at the edges. The ranges come from FishBase, the scientific fish database, read September 27, 2026.
Plan A: A Warm Community
- Top: one male betta (Betta splendens). FishBase range 24 to 30°C.
- Middle: a school of ember tetras (Hyphessobrycon amandae). FishBase range 24 to 28°C.
- Bottom: a group of kuhli loaches (Pangio kuhlii). FishBase range 24 to 30°C.
All three overlap across 24 to 28°C, so none of them has to live at the edge of its range. The caveat is the betta: individual bettas differ, and some harass tankmates. If yours does, the betta moves out, not the school.
Plan B: A Cooler, Calmer Community
- Middle: a school of celestial pearl danios (Danio margaritatus). FishBase notes they were observed in wild ponds at 22 to 24°C.
- Bottom: a group of panda corydoras. FishBase lists 20 to 25°C.
- Top: leave it empty.
The danios' observed range sits entirely inside the panda cory's range, which is exactly the kind of overlap you want. Notice that a betta would not belong here: its FishBase range starts at 24°C, above where these two sit comfortably. Our guide to aquarium water temperature explains why "tropical" is not one number, which is the whole reason these two plans are kept separate.
How Big Should the Groups Be?
I will not give you a stocking number as if it were a rule, because the right count depends on filtration, maintenance and your particular tank. For reference, Aquarium Store Depot's 20 gallon guide (published June 25, 2026, read September 27, 2026) treats six as the minimum for a school and eight to twelve as the fuller range. Use that as one store's reference point, and let a lightly stocked tank be your default rather than a full one.
Adult Size and Lifespan for Every Fish Named Here
The pages that rank for this topic rarely give lifespans. They matter, because a fish that lives ten years is a ten-year plan. Size is FishBase's listed maximum length; lifespan is given only where the University of Florida page states it.
| Species | Layer | Max length (FishBase) | Lifespan (UF) |
|---|---|---|---|
| Betta (Betta splendens) | Top | 6.5 cm TL (about 2.6 in) | Not listed on the UF page; varies between sources |
| Ember tetra (Hyphessobrycon amandae) | Middle | 2.0 cm SL (about 0.8 in) | Up to 10 years |
| Celestial pearl danio (Danio margaritatus) | Middle | 2.1 cm SL (about 0.8 in) | 3 to 5 years on average |
| Panda corydoras (Corydoras panda) | Bottom | 3.8 cm SL (about 1.5 in) | Up to 10 years |
| Kuhli loach (Pangio kuhlii) | Bottom | 12.0 cm TL (about 4.7 in) | 3 to 5 years |
TL is total length including the tail; SL is standard length without it. The kuhli's length surprises people: FishBase's kuhli loach record lists 12.0 cm total length, and the fish is long and thin, which is one more reason the inch-per-gallon shortcut fails. FishBase also lists kuhlis as preferring soft, slightly acidic water, so compare that with your own tap water before you commit.
All five are standard aquarium trade species in the United States. If you live elsewhere, check your country's rules on keeping ornamental fish before you buy.
What Still Does Not Belong in a 20 Gallon
A 20 gallon is often where people are tempted to try the fish they could not fit in a 10. Some still do not fit.
- Goldfish. FishBase lists a common length of 10 cm and a maximum of 48 cm total length for Carassius auratus, with an aquarium note recommending groups. A 20 gallon does not change that math in any meaningful way.
- Fish sold small that grow large. Always look up the adult size before buying, especially for anything sold as a tank cleaner.
- A second species for a layer that is already full. Two bottom groups in one 20 gallon compete for the same floor.
Stock It Slowly
The order matters as much as the list. Cycle the tank first, then add one group at a time so the filter bacteria can catch up. Our guide to adding your first fish without restarting the cycle explains the pacing. If you are buying fish from more than one source, a separate holding tank protects the main one, and our guide to the aquarium quarantine tank explains why it is the cheapest insurance in the hobby.
If a fish looks unwell at any point, resist reaching for a store-shelf treatment. An aquatic veterinarian can assess the fish and the water together, which is the only reliable way to know what is happening.
My Short Answer
Use the 20 gallon's extra space on proper group sizes and on margin. Choose one species per layer, make sure their temperature ranges overlap in the middle, and leave the top layer empty if you are unsure. That is a tank you can keep calm for years.
Frequently Asked Questions
How many fish can I put in a 20 gallon tank?
There is no reliable single number, and the inch-per-gallon rule is not a sound way to find one. It depends on adult size, waste, behavior and group needs, plus your filtration and maintenance. Aquarium Store Depot's guide treats six as a minimum school, which shows how quickly two or three species fill a 20 gallon.
Is a 20 long better than a 20 high for stocking?
For most community fish, the longer footprint is more useful, because bottom dwellers use floor space and schooling fish use horizontal distance. A 20 high still works well with calmer, smaller fish.
Can a betta live in a 20 gallon community tank?
It can, if the other fish share its temperature range and the individual betta tolerates tankmates. FishBase lists 24 to 30°C for bettas, which overlaps with ember tetras and kuhli loaches but not comfortably with cooler species like celestial pearl danios.
Can I keep goldfish in a 20 gallon tank?
It is not a long-term home. FishBase lists a common length of 10 cm and a maximum of 48 cm total length for goldfish, and recommends keeping them in groups, which outgrows a 20 gallon.
Should I add all my fish at once?
No. Add one group at a time to a fully cycled tank, and watch the water readings and the fish's behavior before adding the next.
