Freshwater Fish · Danio
Zebra Danio Care Guide: Tank Size, Diet, Tank Mates & More
Danio rerio
Everything you need to keep zebra danios thriving — water parameters, feeding, compatible tank mates, and breeding tips from our aquarium experts.
Species Overview#
Zebra danios (Danio rerio) are the workhorse beginner fish of the freshwater hobby — small, fast, hardy, and impossible to ignore once they start tearing laps around the tank. They've been a fixture of community aquariums since the mid-20th century, and they pull double duty as one of the most-studied vertebrates in genetics labs worldwide. Whatever you've read about zebrafish embryos, transparent strains, or fluorescent GloFish trademarks traces back to this same little striped minnow.
For the home aquarist, zebra danios offer something most "easy" species can't: real movement. Where many community fish hover or skulk, danios cruise the upper two-thirds of the tank in a tight school, flashing silver and blue as they turn. They're cheap, widely stocked, forgiving on parameters, and they tolerate the kind of mild temperature drift that wipes out tropicals. If you want a tank that looks alive on day one, a school of six danios is hard to beat.
- Adult size
- 2 in (5 cm)
- Lifespan
- 3-5 years
- Min tank
- 10 gallons
- Temperament
- Peaceful, active
- Difficulty
- Beginner
- Diet
- Omnivore
- Temperature
- 65-77°F (unheated tolerant)
- Schooling
- 6+ minimum
- Origin
- South Asia (rivers/streams)
Natural Habitat#
Wild zebra danios come from the slow-to-moderate rivers, streams, and seasonally flooded rice paddies of South Asia — primarily India, Bangladesh, Nepal, and parts of Myanmar and Pakistan. The water is typically clear to slightly turbid, well-oxygenated, and runs cooler than most tropical aquariums (often 60-75°F depending on season and elevation). They school over gravel and sand substrates with overhanging vegetation that drops insect larvae into the current.
That habitat profile explains a lot about how they behave in captivity. They expect current. They expect cooler water than a discus tank. They expect the safety of a group, because in the wild a solo danio is a feeder fish for any larger predator passing through. Replicate the basics — moving water, room to swim, and a school of at least six — and a zebra danio tank essentially runs itself.
Appearance & Size#
Adult zebra danios reach about 2 inches (5 cm) at maturity. The body is torpedo-shaped and silver-blue, marked with five horizontal dark blue stripes that run from gill plate to tail — the pattern that gives the species its name. Fins are short and clear with a faint blue or yellow wash on the anal fin. Males tend to be slimmer and slightly more vivid; females carry a noticeably rounder belly, especially when gravid.
The species also exists in two well-known variants you'll see in the trade. Long-finned zebra danios are a captive-bred strain with extended dorsal, anal, and caudal fins — same fish, fancier finnage, slightly more vulnerable to fin nipping. GloFish Danios are patented fluorescent strains (red, green, orange, blue, purple, pink) developed by inserting a fluorescent protein gene from a jellyfish or sea anemone into Danio rerio embryos. Care is identical to standard zebras; the patent restricts commercial breeding but not home reproduction for personal use.
Lifespan#
A well-kept zebra danio lives 3-5 years. Some individuals push past that into year six in stable, well-fed tanks with a strong school. The most common reasons danios die early are chronic overfeeding (which fouls water and triggers internal disease), keeping them in groups of two or three (which causes constant stress), and tossing them into uncycled tanks (which exposes them to ammonia and nitrite levels their hardiness can't fully buffer).
Lab populations selected for early reproduction often live shorter lives — closer to 2-3 years — because of the genetic pressure of constant breeding. Pet-store stock generally falls in the middle of the range. Buy from a store with healthy, active danios and you'll start at the better end of the curve.
Water Parameters & Tank Requirements#
Zebra danios are forgiving on absolute numbers and intolerant of swings. Pick a stable target inside the ranges below, hold it consistently with weekly water changes, and they'll thrive in tap water that would stress most tropicals.
Ideal Water Conditions#
Aim for temperatures between 65 and 77°F (18-25°C). The species' real edge over almost every other community fish is its cool-water tolerance — a room that holds 68-72°F year-round can run a danio tank with no heater at all, which is unique among popular aquarium species. They'll handle the high 70s without complaint, but breeding output drops above 80°F and lifespan shortens at sustained high temperatures.
For pH, target 6.5-7.5 with a general hardness of 2-12 dGH. Most municipal tap water in North America falls inside that window without adjustment. Don't chase a specific number — stability matters more than precision. Test ammonia and nitrite weekly during the first month after setup, and keep nitrate under 30 ppm with weekly 25% water changes once the tank is established.
Zebra danios genuinely tolerate temperatures down to 65°F, which makes them a rare candidate for unheated tanks in temperate climates. That said, sudden swings of more than 4°F in 24 hours stress the fish far more than a steady cool temperature — a low-wattage heater that holds 70°F is safer than no heater at all in a room with poor temperature control.
Minimum Tank Size & Schooling Space#
A 10-gallon tank is the practical minimum for a school of six zebra danios. The 10-gallon footprint gives just enough horizontal swimming length for the school to move as a unit without crashing into the back glass on every lap. It's the floor, not the ideal — danios are open-water swimmers that benefit visibly from more length.
A 20-gallon long is the better baseline. The longer footprint (30 inches versus 20) gives the school real swimming room, lets you keep 8-10 fish without crowding, and adds the water volume that makes parameter stability easier. Tall tanks waste space on a species that uses the upper two-thirds of the water column and almost never the bottom — pick length over height every time.
Filtration & Flow#
Danios prefer moderate current. A standard hang-on-back (HOB) filter rated for the tank size produces enough flow to keep them happy and eliminates the dead spots that breed nuisance algae. A dual sponge filter driven by an air pump works for a basic setup and is the right call if you plan to breed (no impeller intake to chew up fry).
Point the filter outflow lengthwise across the tank rather than straight down at the substrate. The result is a gentle current the school can swim into — danios will visibly orient themselves into the flow and patrol against it, which is the behavior you want. Avoid powerheads or wave makers in a 10-20 gallon tank; the flow rates designed for reef setups are excessive for a danio community.
Tank Decor#
Aquascape for swimming room, not coverage. Keep the front and middle of the tank as open horizontal lanes and push driftwood, rockwork, and tall plants to the back and sides. Danios use cover for refuge, not as living space — they'll spend 90% of their day in the open, and a tank crowded with hardscape robs them of their natural pattern of movement.
Fine-leaved plants serve double duty as cover and spawning sites. Java moss, hornwort, water sprite, and Ceratopteris all work; the eggs are non-adhesive and fall through the foliage where adults can't easily reach them. A dark, fine gravel substrate brings out the blue in the body stripes far better than a bright white sand. Floating plants soften overhead lighting, which the species appreciates.
Diet & Feeding#
Zebra danios are omnivores in the truest sense — in the wild they eat insect larvae, zooplankton, small crustaceans, and a fair amount of plant matter and algae scraped from rocks. In captivity they accept just about anything that fits in their mouths.
What Zebra Danios Eat#
A high-quality flake or micropellet formulated for tropical community fish is fine as a daily staple. Look for a protein content of 35-45% and an ingredient list led by whole fish, krill, or shrimp meal rather than fish meal byproducts. Crush flakes between your fingers before sprinkling — danio mouths are small and a whole flake often goes uneaten.
Rotate in frozen or live foods 2-3 times per week to keep color and breeding output strong. Daphnia, baby brine shrimp, frozen bloodworms, mosquito larvae, and microworms are all eagerly accepted and replicate the invertebrate-heavy wild diet. Once a week, drop in a small amount of blanched spinach or a spirulina wafer crumb to cover the plant side of their menu.
Feeding Schedule & Quantity#
Feed twice daily, with each portion small enough to be consumed in about two minutes. The two-minute rule is the universal feeding gauge for community fish — anything still floating after that timeframe gets eaten by the substrate, decays, and spikes ammonia. Remove visible leftovers with a turkey baster or net.
Overfeeding is the single most common cause of premature death in danios kept in small tanks. A 10-gallon tank with six danios needs only a pinch of food per feeding — roughly what fits on the end of a kitchen knife. Skip one day per week to give digestion a break and keep the tank cleaner. Fasting once a week is good practice for almost every freshwater community fish and is especially helpful for an active eater like the zebra danio.
Tank Mates & Compatibility#
Zebra danios are peaceful with anything they can't out-eat, but they have two compatibility quirks worth designing around: they're fast (which stresses slow eaters), and they nip at trailing fins when their school is too small.
Best Community Companions#
Pair danios with similarly active, similarly sized community species. Bronze, panda, and pygmy corydoras work well as bottom-dwelling counterparts — danios stay in the upper water column, cories work the substrate, and the two never compete. Most small tetras (neon, cardinal, ember, black neon, glowlight) make excellent mid-water companions in a 20-gallon or larger tank.
Harlequin rasboras and lambchop rasboras share the same swimming behavior and parameter preferences. Peaceful livebearers like platies and short-finned guppies coexist well, though long-finned guppy strains can become nipping targets if the danio school is undersized. Otocinclus catfish handle algae duty without being bothered. Most freshwater snails and Amano shrimp are safe; cherry shrimp adults are usually safe but their juveniles will be eaten.
Species to Avoid#
Slow-finned, slow-moving fish are the obvious mismatch. Adult bettas, angelfish, gouramis with long pelvic fins, fancy long-finned guppies, and pearl gouramis all carry the kind of trailing finnage that triggers a danio's instinct to test-nibble. Even when the danios don't draw blood, the constant pursuit stresses the slower fish into hiding and eventual decline.
Skip large cichlids of any kind. Oscars, jack dempseys, and most South American cichlids will eat a 2-inch danio as a snack. Even peaceful cichlids like rams and apistogrammas will pick danios off the school if the size differential gets large enough. Goldfish are too cold and too messy for a shared tank despite the temperature overlap. Avoid loaches that grow large (clown, yoyo) in tanks under 40 gallons — they're peaceful but their size and bumbling movement disrupts the danio school.
Ideal School Size#
Six is the absolute minimum, eight to ten is the sweet spot, and twelve-plus in a long tank produces the most natural and least aggressive shoaling behavior. The species evolved in groups of dozens or hundreds, and a small school doesn't activate the same calming instincts as a proper one.
Zebra danios kept in groups of three or four redirect their schooling instincts into chasing and nipping tank mates. The fix is almost always more danios, not fewer. A school of eight rarely bothers other fish because the social hierarchy and chase behavior plays out within the group itself. If you're seeing nipping with six fish, add four more before considering rehoming.
Breeding Zebra Danios#
Zebra danios are one of the easiest egg-scattering species to breed in the home aquarium, which is why they've been a default model organism for developmental biology since the 1970s. The challenge isn't getting them to spawn — it's protecting the eggs from the parents long enough for fry to hatch.
Sexing Males vs. Females#
Mature zebra danios are easy to sex once you know what to look for. Females are noticeably rounder and deeper-bodied, especially when carrying eggs — the belly visibly bulges in front of the anal fin. Males are slimmer, more torpedo-shaped, and typically show more saturated yellow-gold tones between the blue stripes, particularly during spawning behavior.
Sex differences become clear at around 8-10 weeks of age, when fish reach about 1.5 inches and start showing adult coloration. In a community tank, you'll see males chasing females in the early morning hours — that's the spawning trigger and a reliable sign you have both sexes present.
Spawning Setup#
The standard breeding setup is a separate 10-gallon tank with a marble or mesh bottom (no substrate). The marbles or mesh create gaps that eggs fall through, putting them out of reach of the parents. Fill with the same water as the main tank, add a sponge filter on low flow, and bump the temperature to 78-80°F to trigger spawning.
Condition a breeding pair (or trio of one male and two females) in the main tank for a week on heavy frozen and live foods — daphnia, brine shrimp, mosquito larvae. Move them to the breeding tank in the evening. Spawning typically occurs at dawn the next morning, with the female scattering 100-300 eggs across the marble bottom. Remove the adults immediately after spawning. Eggs hatch in 48-72 hours at 78°F.
Raising Fry#
Newly hatched fry are tiny — about 3-4 mm long — and survive on yolk sac for the first 2-3 days. After that they need infusoria, commercial liquid fry food, or paramecium cultures for the first week. Transition to newly hatched baby brine shrimp around day 7-10 once they're large enough to eat them.
Keep the rearing tank dim (fry are photosensitive in the first week) and do small daily water changes (10-15%) with temperature-matched water to manage ammonia. By week 4-6, fry are large enough to eat crushed flake and to be moved into a grow-out tank. Sexual maturity is reached at 3-4 months in captivity.
Zebra danios are the most-studied vertebrate model organism in developmental biology. Their embryos develop outside the body, are nearly transparent, and reach key developmental stages within 24 hours of fertilization — researchers can watch organs form in real time under a microscope. The fluorescent GloFish strains are a direct commercial spinoff of those research lines.
Common Health Issues#
Zebra danios are hardy, but they're not bulletproof. The diseases below cover roughly 90% of what you'll encounter in a typical danio tank, and most respond well to early intervention.
Ich & Fin Rot#
Ich (white spot disease, Ichthyophthirius multifiliis) is the most common parasite in danio tanks, almost always triggered by a temperature swing or new fish introduction. Symptoms are tiny white grains scattered across the body and fins, often accompanied by flashing (rubbing against decor). Treat by raising the tank temperature to 82°F over 24 hours and dosing a copper-free ich medication for the full 14-day life cycle of the parasite. Don't stop treatment when spots disappear — the parasite is still in its substrate-bound phase.
Fin rot starts as a white or grey edge on the tail and dorsal fin, often progressing to ragged tears. The cause is almost always water quality. Test parameters first; if ammonia or nitrite is detectable or nitrate is above 30 ppm, do a 50% water change with temperature-matched, dechlorinated water before reaching for medication. Use aquarium salt cautiously with danios — they tolerate low doses (1 tablespoon per 5 gallons) but prolonged salt exposure stresses them more than it does livebearers.
Swim Bladder Disorder#
Swim bladder issues in danios usually trace back to overfeeding. A fish with a damaged or inflamed swim bladder swims at an odd angle, can't hold position in the water column, or floats at the surface. Treat by fasting the affected fish for 3 days, then offering a single blanched, deshelled pea (de-skinned green pea, microwaved for 20 seconds and broken into tiny pieces). The pea acts as a mild laxative and clears mild constipation that's pressing against the swim bladder.
For chronic swim bladder problems, look at the broader feeding regime. Cut feeding frequency to once daily, switch to a higher-quality pellet, and add more live or frozen daphnia, which acts as a gentle digestive aid for the whole school.
Tuberculosis (Mycobacterium marinum)#
Fish tuberculosis is a chronic bacterial infection that's been documented in zebra danio populations more often than in most aquarium species. Symptoms include progressive weight loss despite normal eating, spinal curvature, raised scales, ulcers, and lethargy. There's no reliable cure — euthanize affected fish and disinfect equipment thoroughly to prevent spread.
The reason it gets called out for danios specifically: Mycobacterium marinum can cause skin infections in humans through cuts and scrapes, especially when handling tanks barehanded. The risk is low but real. Wear waterproof gloves if you have open cuts on your hands, wash thoroughly after tank maintenance, and don't reuse equipment between tanks without disinfecting.
Where to Buy & What to Look For#
Zebra danios are available almost everywhere — big-box pet stores, independent fish stores, and online retailers all carry them. The fish themselves are inexpensive ($2-4 each for standard, $6-12 for GloFish strains), but the source still matters because new arrivals can introduce parasites and bacterial issues to an established tank.
Selecting Healthy Fish at Your Local Fish Store#
Watch the store's danio tank for a full minute before pointing at any fish. Healthy zebra danios school tightly, swim constantly in the upper two-thirds of the tank, and chase each other in playful bursts. The whole group should be active, alert, and visually engaged with the world outside the glass.
Skip any tank where danios are hanging at the surface gasping, drifting near the bottom, showing clamped fins, or displaying white spots, frayed fins, or sunken bellies. If even one fish in the display looks sick, don't buy from that tank — danios share water and disease moves fast through the species. Eyes should be clear and bright, fins held erect, and gill movement smooth and rhythmic.
Quarantine new danios for 10-14 days in a separate 5-gallon tank with a sponge filter and heater before adding them to your main display. The quarantine window catches late-onset disease, lets you confirm the fish are eating normally, and prevents wiping out an established community over a $3 fish. Drip-acclimate over 30-45 minutes when transferring — see the acclimation guide for the step-by-step method.
GloFish Danio Considerations#
GloFish Danios are the same species (Danio rerio) with an inserted fluorescent protein gene that makes them glow under blue/UV light. Care requirements are identical to standard zebras — same tank size, same parameters, same diet. They school with regular zebras and can interbreed (though commercial breeding is restricted by patent). For a deeper dive into GloFish husbandry, see the GloFish Danio guide.
A few practical notes. GloFish color is brightest under actinic blue or specifically marketed GloFish lighting; standard white LEDs render them as muted pinks and greens. They cost 3-4 times more than standard zebras at retail. The fluorescent protein doesn't affect lifespan or hardiness, but the dyed-fish scams that occasionally pop up online are not the same thing — real GloFish are genetically modified and patented, while injected-dye fish are an animal welfare issue and short-lived. Buy GloFish only from licensed retailers, never from third-party sellers offering "rare colors" at bargain prices.
For more on starting a beginner freshwater tank, see the freshwater fish overview.
Quick Reference#
- Tank size: 10 gallons minimum (school of 6); 20-gallon long preferred for 8-10 fish
- Temperature: 65-77°F (one of few popular species tolerant of unheated tanks)
- pH: 6.5-7.5
- Hardness: 2-12 dGH
- Filtration: HOB or sponge filter producing moderate horizontal flow
- Diet: High-quality flake/micropellet 2x daily + frozen daphnia or brine shrimp 2-3x weekly; fast 1 day/week
- School size: 6 minimum, 8-10 ideal
- Tank mates: Corydoras, small tetras, harlequin rasboras, platies, otocinclus, Amano shrimp
- Avoid: Bettas, angelfish, long-finned gouramis, large cichlids, goldfish, large loaches
- Lifespan: 3-5 years
- Adult size: 2 inches (5 cm)
- Difficulty: Beginner — among the most forgiving freshwater community species, with the unique advantage of cool-water tolerance
Related species
Similar species you might also be considering for your tank.
Danio margaritatus
Poecilia sphenops
Mikrogeophagus ramirezi
Boraras brigittae
Poecilia wingei
Thayeria boehlkei