🌐 EN

Zebra danio: minimum tank size, how many and tank mates

Zebra danio (Danio rerio)
Photo: Roundish · CC0 · Wikimedia Commons

Very active: it needs swimming length more than height.

Quick facts

Scientific nameDanio rerio
Adult size2 in / 5 cm
Minimum tank21 gal / 80 L
Groupat least 8
Temperature64–77 °F / 18–25 °C
pH6–8
Swimming zonetop
Temperamentpeaceful

Plan a tank with this species →

Zebra danio: how many per tank?

Maximum recommended number if it is the only species in the tank (comfortable bioload of 75%). Below 21 gal / 80 L, this species is not recommended.

In practice

A 29-gallon (110 L) tank holds about 23 gal / 88 L of real water: up to 21 can live in it if this is the only species, or 12 if you leave room for other fish.

As it lives in groups of at least 8, you need at least 8 of them anyway, so a tank of 21 gal / 80 L or more.

Best tank mates

Compatible species (temperature, pH and behaviour) that mostly live in another zone of the tank: they share the space instead of getting in each other's way.

Example tank with this species

40 gallons (151 L)

Calculated with the calculator's rules: 75% target bioload, minimum group sizes respected, no compatibility warning.

  • 10 Zebra danio
  • 3 Swordtail
  • 20 Cherry shrimp

Bioload ≈ 75% 64–77 °F / 18–25 °CpH 7–8

Equipment for a 21-gallon (80 L) tank (the minimum for this species)

  • Heater recommended to keep the temperature stable (64–77 °F / 18–25 °C): 75 W in a heated room, 125 W in a cold room.
  • Filter: a flow of 65 to 105 GPH (240–400 L/h, 3 to 5 times the volume per hour).
  • Electricity: about $5.10 a month for the heater, filter and lights (at an indicative $0.17/kWh).

Full guide to the 29-gallon tank →

Compatibility with other species

Compared with the 52 other species in our database: temperature, pH and behaviour. Also check that your tank is big enough for each of them.

✅ Compatible (46)

Betta (Siamese fighting fish)Black phantom tetraBlack skirt tetraBlue gouramiBolivian ramBristlenose plecoCardinal tetraCelestial pearl danioCherry barbCherry shrimpChili rasboraClown loachCockatoo dwarf cichlidCommon plecoCongo tetraDwarf gouramiEmber tetraEndler's livebearerGlowlight tetraGreen neon tetraGuppyHarlequin rasboraHoney gouramiJulii coryKribensisKuhli loachLemon tetraLyretail killifishMarbled hatchetfishMollyNeon tetraOtocinclusPanda coryPearl danioPearl gouramiPeppered coryPlatyPygmy coryRed-tailed sharkRosy barbSerpae tetraSterba's corySwordtailTiger barbWhite cloud mountain minnowZebra loach

⚠️ Avoid (6)

  • Angelfish: Angelfish may eat Zebra danio
  • Boeseman's rainbowfish: temperatures too different (81–86 °F (27–30 °C))
  • German blue ram: temperatures too different (81–86 °F (27–30 °C))
  • Goldfish: Goldfish should live only with its own species
  • Oscar: Oscar may eat Zebra danio; Oscar should live only with its own species
  • Yellow lab cichlid: Yellow lab cichlid should live only with its own species

Tank mate questions

All tank mate pairs →

Frequently asked questions

Zebra danio: how many in a 20-gallon tank?

None: this species needs at least 21 gal / 80 L.

Zebra danio: alone or in a group?

In a group of at least 8. Alone or in too small a group, the species is stressed and rarely shows itself.

Zebra danio: what temperature and pH?

Water at 64–77 °F / 18–25 °C and a pH of 6–8. A heater helps keep the temperature stable.

Zebra danio and betta (Siamese fighting fish): compatible?

Yes: 72–77 °F / 22–25 °C and pH 6–8 in common, and no known behaviour conflict in our database. Make sure the tank holds at least 21 gal / 80 L.

Zebra danio and guppy: compatible?

Yes: 64–77 °F / 18–25 °C and pH 7–8 in common, and no known behaviour conflict in our database. Make sure the tank holds at least 21 gal / 80 L.

← All species profiles · How these numbers are calculated →