What zebra danio tank size do you need?
Zebra danio tank size is about swimming length first and gallons second. These small, fast, schooling fish need a minimum school of 6 fish in a 20-gallon long tank. A 20-gallon long tank (30 x 12 x 12 inches) provides the horizontal swimming lane that zebra danios need — they are active fish that constantly patrol the upper and middle water column.
This zebra danio tank size calculator budgets a 20-gallon long for the first 10 fish and about 2 gallons for every danio after that, with a 30-gallon (36-inch) tank recommended once the school passes 10. A 20-gallon tall tank or a standard 20-gallon is less suitable than a 20-gallon long, because the horizontal dimension matters more than the water column height for zebra danios. The 20-gallon long's extra length (30 vs 24 inches) makes a meaningful difference in how much open swimming space the fish have.
Zebra danios are one of the hardiest commonly kept freshwater fish. They tolerate a wide temperature range (64–77°F / 18–25°C), adapt to most tap water conditions, and will school tightly when kept in groups of 8–10. Groups of fewer than 6 fish display stress behaviour — individual fish may become more aggressive or timid depending on the hierarchy.
A tight-fitting lid is essential. Zebra danios are energetic jumpers and will find any gap in an uncovered tank. Jumping is especially common when the fish are startled or when the water quality is poor.
How many zebra danios in a 10 gallon tank, 20 gallon tank or larger?
The table applies the same rule the calculator uses — a 20-gallon long covers a school of up to 10, then about 2 gallons per additional danio — assuming a cycled tank, weekly water changes and no other fish. Because danios live in the upper water column, a long, shallow tank stocks better than a tall one of the same volume. If you are unsure of your tank's real volume, the aquarium size calculator converts dimensions to gallons.
| Tank size | Zebra danios (comfortable–max) | Notes |
|---|---|---|
| 10 gal (38 L) | Not recommended | Only 20 inches long; a school of 6 has nowhere to run. Fine as a temporary fry or quarantine tank. |
| 20 gal long (76 L) | 10–12 | The classic danio tank: 30 inches of open water. Start with 6, grow the school to 8–10. |
| 29 gal (110 L) | 14–16 | Same 30-inch footprint as the 20 long, just taller — more water volume, not more lane. |
| 30 gal / 40 gal breeder (114–151 L) | 15–23 | 36-inch length is where a school of 15+ really shows off. Recommended for larger groups. |
| 55 gal (208 L) | 27–31 | 48-inch lane. A big danio school plus a bottom-level community such as corydoras. |
| 75 gal (284 L) | 37–43 | Display school of 30+ danios, or danios as the dither fish in a larger community. |
Sharing the tank with other fish? Danios occupy the top third of the water, so they pair well with mid-water tetras and bottom-dwelling corydoras without competing for space. Subtract what the other species need before applying the danio count, and check temperature overlap: danios prefer cooler water (64–77°F) than many tropical fish. Run any pairing through the zebra danio tank mates hub or the fish compatibility checker.
Why length beats gallons: zebra danios (Danio rerio, Wikipedia) are stream fish that swim almost continuously. Given the choice between a 20-gallon tall and a 20-gallon long, always pick the long; given the choice between a 29-gallon and a 30-gallon, pick the 36-inch 30-gallon.