Zebra Danio Tank Size Calculator

Zebra danios are fast schooling fish that need horizontal space. Work out the right zebra danio tank size for your school — or see how many danios fit in the tank you already own.

Calculate tank size for Zebra Danios

How many Zebra Danios do you want to keep?
10
zebra danios

Zebra Danio at a glance

Care levelBeginner
Adult size2–2.5 inches (5–6 cm)
Lifespan3–5 years
Min tank20 gal long (school of 6)
Recommended30 gal, 36 in long (10+ fish)
Temperature64–77°F (18–25°C)
pH6.5–7.5

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.

Zebra danio tank size rules: a 30-inch long tank for a school of 6–10, 2 gallons per extra danio, tight lid
Three rules drive zebra danio tank size: a 30-inch swimming lane, roughly 2 gallons per fish beyond the first ten, and a tight-fitting lid.

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.

Zebra danio tank size chart showing how many zebra danios fit in 20, 29, 40 and 55 gallon tanks
How many zebra danios per tank size. A 10-gallon is too short for a proper school.
Tank sizeZebra danios (comfortable–max)Notes
10 gal (38 L)Not recommendedOnly 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–12The classic danio tank: 30 inches of open water. Start with 6, grow the school to 8–10.
29 gal (110 L)14–16Same 30-inch footprint as the 20 long, just taller — more water volume, not more lane.
30 gal / 40 gal breeder (114–151 L)15–2336-inch length is where a school of 15+ really shows off. Recommended for larger groups.
55 gal (208 L)27–3148-inch lane. A big danio school plus a bottom-level community such as corydoras.
75 gal (284 L)37–43Display 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.

Frequently asked questions

What size tank do zebra danios need?
The minimum zebra danio tank size is a 20-gallon long for a school of 6 fish. The 20-gallon long (30 inches in length) provides the horizontal swimming space that zebra danios need, as they are active fish that constantly move through the upper and middle water column. Smaller or shorter tanks restrict their natural behaviour.
How many zebra danios can I keep in a 20-gallon tank?
A 20-gallon long tank can comfortably hold a school of 8–10 zebra danios. At roughly 2 gallons per danio, the water quality remains manageable with regular water changes. The 20-gallon long format (30 x 12 x 12 inches) is preferable to a standard 20-gallon tall because danios need horizontal swimming room.
Can zebra danios live in a 10-gallon tank?
A 10-gallon tank is not recommended for zebra danios. They need a minimum school of 6 fish, and 6 danios in a 10-gallon tank (less than 2 gallons per fish) creates water quality challenges. Danios are also very active fish that need more open horizontal swimming space than a 10-gallon tank provides.
How many danios should I keep together?
Zebra danios should be kept in a minimum school of 6 fish, with 8–10 being the recommended group size for stable behaviour. Smaller groups of 3–5 danios often show stress — the dominant fish may become aggressive, or shy fish may hide excessively. A tight school of 8–10 danios displays natural shoaling behaviour and is more active and interesting to watch.
Do zebra danios jump out of tanks?
Yes. Zebra danios are active jumpers, especially when startled or when water quality drops. A tight-fitting lid or mesh cover is essential for any zebra danio tank. Gaps around filter intakes or heater cords are common exit routes — seal these with foam or mesh. Danios found on the floor can often be revived if discovered within minutes.

Updated September 11, 2026 · Reviewed by the FishCare AI editorial team · Editorial policy