River Tank SetupLife is like a riverStart here
A zebra danio with blue and gold stripes swimming in an aquarium
FishLife

Zebra Danio Care: The Toughest Little River Fish

Zebra danios are cheap, hardy, fast, and love a strong current. Group size, temperature, tankmates, the long-fin and GloFish varieties, and how to keep them from nipping fins or jumping out.

Jack·7 min read·October 5, 2026·Updated November 27, 2026

When you see zebra danios darting across a tank, their energy is easy to mistake for a need for little space. You’ll give them better care in a 20-gallon-long aquarium with a secure lid and a school of at least eight, because they need room to swim and company to reduce fin-nipping. Keep their water cool, clean, and well oxygenated, and their toughness becomes an advantage rather than a reason to cut corners.

Header & Quick-Reference Fact Card

Zebra danios are active, cool-water schooling fish that need a long aquarium and a group of their own kind. Use these figures to plan your setup:Keep this fact card handy as you choose a tank and school size.

  • Scientific classification: Danio rerio; 27 varieties are recorded.
  • Native range: East India, Bangladesh, and Myanmar.
  • Adult size: Often 1 to 2 inches; up to 2.5 to 3 inches at full maturity.
  • Lifespan: 2 to 3 years, with up to 5 years possible with proper care.
  • Cost: About $1 to $3 per fish.
  • Minimum tank size: A 20-gallon-long tank with a secure lid. A 10-gallon tank is too restrictive for an active school.
  • Minimum school size: Six; eight to 10 or more is strongly recommended to reduce fin-nipping.
  • Temperature: 64°F to 77°F (18°C to 25°C). For river setups, cap the temperature at 25°C (77°F).
  • pH: 6.5 to 7.5 is suitable; they tolerate 6.0 to 8.0, with 6.5 to 7.0 a narrower target.
  • Nitrate: Keep levels below 40 ppm.

The "Toughest River Fish"

Zebra danios come from streams in East India, Bangladesh, and Myanmar, and their hardiness does not make a cramped tank suitable.

A 10-gallon aquarium lacks the horizontal swimming room an active school needs, while a group of five or fewer can experience social stress:

  • East India
  • Bangladesh
  • Myanmar

Crowding can leave danios frantic and increase chasing and fin-nipping.

Plan for an open, horizontal swimming area and a secure cover.

  • Choose a 20-gallon-long footprint for a school of eight to 10 or more.
  • Fit a tight-fitting lid; zebra danios jump.
  • Cycle the aquarium before stocking. The process commonly takes 3 to 6 weeks.
  • Never release aquarium fish into local waterways. Introduced zebra danio populations have been reported, without verification, in California, Florida, Connecticut, and New Mexico.

A well-cared-for zebra danio lives about 2 to 3 years, with some reaching 5 years. Full-grown fish can reach 2.5 to 3 inches, so a small tank becomes even less appropriate as the fish mature.

River Tank Design

A river-style setup for zebra danios should pair open swimming space with:the setup should include:

  • gravel
  • smooth stones
  • cool, oxygen-rich water

Temperature advice varies widely: extreme survival claims span 61°F to 93°F, while tropical recommendations reach 79°F to 88°F. For a river setup, keep the water between 64°F and 77°F, with 77°F (25°C) as the firm upper limit.

Build the layout around clear swimming lanes and a cool temperature range.

  • Cover the base with gravel and arrange smooth rocks to create a riverbed feel.
  • Leave open horizontal space for the school to swim.
  • Keep the water at 64°F to 77°F; warmer water holds less dissolved oxygen.
  • A heater is not required when the room keeps the aquarium in this range. Zebra danios tolerate temperatures in the low 60s°F.
  • Zebra plecos need warm water of at least 26°C (79°F), so they do not suit this cool river setup.

River Tankmates

Hillstream loaches from Beaufortia and Gastromyzon species make suitable river-tank companions when you keep the water at or below 25°C (77°F). These loaches reach about 3 inches and graze on glass and smooth rocks, so provide those surfaces for feeding.

Choose tankmates that suit both the cool water and the danios’ fast swimming style.

  • Keep the water at or below 25°C to support adequate oxygen for hillstream loaches.
  • Expect hillstream loaches to graze on glass and smooth stones, not on the bottom gravel.
  • Zebra danios are peaceful community fish in a proper school, though their rapid movement can stress slow-moving tankmates.
  • Keep nitrate below 40 ppm to support the whole community.

Water Chemistry, Cycling, and Maintenance Protocol

Cycle your aquarium for 3 to 6 weeks before adding zebra danios, then keep water conditions stable with regular testing and weekly water changes. Aim for a pH of 6.5 to 7.5; the fish tolerate 6.0 to 8.0, with 6.5 to 7.0 as a narrower target.

Use this routine to keep water quality and lighting consistent.

  • Before stocking, cycle the tank and confirm that it is ready for fish.
  • Change 25% to 30% of the water each week.
  • Test nitrate during maintenance and keep it below 40 ppm.
  • Run standard aquarium lighting for 8 to 10 hours each day.

Schooling Dynamics

Keep eight or more zebra danios to spread social chasing across the school and reduce fin-nipping. Six is the minimum; keeping fewer than six increases social stress and can lead to persistent chasing or damaged fins.

Use the school size as a practical guide when stocking.

  • Six fish is the minimum group.
  • Eight to 10 or more is the recommended target for calmer group behavior.
  • Provide open swimming room so the school can move through the tank without crowding.

Omnivorous Feeding

Feed zebra danios a varied omnivorous diet built around quality flakes, with plant-based foods added regularly. Offer small portions on a consistent schedule and remove uneaten food so leftovers do not compromise water quality.

Rotate these foods as part of a balanced routine.

  • Use high-quality fish flakes as a staple.
  • Add algae wafers for plant-based nutrition.
  • Offer finely chopped green vegetables in small portions.
  • Feed only what the fish can finish promptly, and clear leftover food from the tank.

Breeding Biology and Genetic Wonders

Zebra danios are useful for genetic research, and their captive breeding cycle can produce a large number of eggs in a short time. They share about 70% of their genetic material with humans, and their DNA was fully sequenced in 2001.

These milestones describe their spawning and development.

  • A female can produce about 100 to 300 eggs in one spawning.
  • Eggs hatch in about 2 to 3 days.
  • Fry hatch as females; males develop around day 7.
  • Zebra danios reach sexual maturity at about 90 days.
  • Good care, including weekly water changes and nitrate below 40 ppm, supports a captive lifespan of 2 to 3 years and up to 5 years.

Use this setup comparison to choose conditions for a river-style aquarium.

  • River biotope: 64°F to 77°F, capped at 25°C; 20-gallon-long tank; gravel and smooth rocks.
  • Generic tropical setup: 79°F to 88°F; 10-gallon tank; bare tank.

Follow this weekly maintenance protocol.

  1. Change 25% to 30% of the aquarium water.
  2. Check nitrate and keep it below 40 ppm.
  3. Keep standard aquarium lighting on for 8 to 10 hours daily.

Keep these three safeguards in view when you plan the aquarium.

  • The 10-Gallon Trap: A 10-gallon tank restricts the horizontal swimming space an active school needs. Crowding can make danios frantic and trigger fin-nipping.
  • The River Oxygen Rule: When hillstream loaches from Beaufortia and Gastromyzon species share the tank, keep water at or below 25°C (77°F) to support oxygen availability.
  • The 8+ Schooling Rule: Keep at least eight zebra danios to distribute chasing within the group and help prevent fin-nipping.