How Many Rainbowfish Should You Keep Together?

How Many Rainbowfish Should You Keep Together?

Elena Vargas
Elena Vargas, Freshwater Aquarium Specialist
Updated May 28, 20267 min read
Share:

Rainbowfish are some of the most stunning freshwater fish you can keep. Their shimmering scales and peaceful nature make them a top pick for community tanks. But one question keeps coming up: how many rainbowfish should you keep together?

The short answer: keep at least 6. Here's why group size matters — and how to set up the perfect rainbowfish tank.

Why Rainbowfish Need a School

Rainbowfish are schooling fish. In the wild, they swim in large groups across rivers, lakes, and streams in Australia, New Guinea, and Southeast Asia. A lone rainbowfish — or a group of two or three — will show clear signs of stress. They hide, lose color, and often refuse to eat.

Here's what happens when you keep 6 or more rainbowfish together: the males start competing to impress the females. They flash their brightest colors and swim in tight, active formation. This display behavior is one of the most rewarding sights in a freshwater aquarium.

Schools of 10–15 produce even better results. The colors are more intense, the movement is constant, and the whole tank feels alive.

Minimum Group Size: 6

Six rainbowfish is the absolute minimum. Below that number, males don't feel social pressure to display. The fish grow dull and spend most of their time hiding near the back of the tank.

For a 55-gallon tank, a group of 6–8 works well. If you have a larger setup — 75 gallons or more — aim for 10–15 fish. A larger school brings out full display behavior and the most vivid colors.

A good ratio is two females for every male. This spreads a male's attention and prevents any single female from being harassed constantly.

How Much Space Do Rainbowfish Need?

Rainbowfish are active, open-water swimmers. They need room to move. Here's a quick guide:

  • 6 fish: 55-gallon tank minimum
  • 10 fish: 75-gallon tank
  • 15 fish: 90–100-gallon tank

Don't keep rainbowfish in anything smaller than 30 gallons. Even the smallest species — like the Praecox dwarf neon rainbowfish — needs that much space to school properly.

A complete aquarium starter kit that includes a tank, heater, and filter makes initial setup much easier and cuts down on early mistakes.

Water Parameters

Most rainbowfish species come from similar environments. They do best in these conditions:

  • Temperature: 74–82°F (23–28°C)
  • pH: 6.5–8.0 (most prefer 7.0–7.5)
  • Hardness: 5–20 dGH
  • Ammonia and Nitrite: 0 ppm
  • Nitrate: below 20 ppm

Always treat tap water before adding it to the tank. Use a water conditioner to remove chlorine and chloramines. These chemicals are safe for humans but toxic to fish.

Test your water at least once a week, especially in new tanks. A reliable aquarium test kit lets you catch dangerous ammonia or nitrite spikes before they harm your fish. Check out our full guide to the best aquarium water test kits to pick the right one for your setup.

Setting Up the Tank

Rainbowfish prefer open swimming space in the center of the tank. Add plants along the sides and background to give females places to escape. Good plant choices include Java fern, Amazon sword, and Vallisneria. Dense planting also makes the fish's colors stand out more.

Keep the substrate fine and smooth. Rainbowfish don't dig, but they do swim close to the bottom. Fine gravel or sand works well.

Good lighting encourages plant growth and makes rainbowfish colors pop. A timed LED light set to 10–12 hours a day is ideal.

Rainbowfish are sensitive to poor water quality. They need strong, reliable filtration. A hang-on-back or canister filter sized for your tank keeps the water clean and well-oxygenated. Clean the filter media monthly, but don't replace all of it at once — that removes the beneficial bacteria that process ammonia. See our guide to sponge filters and filtration basics for more on how to keep your filter running well.

What to Feed Rainbowfish

Rainbowfish are omnivores. They eat both plant matter and protein in the wild. A varied diet keeps them healthy and their colors bright.

Feed them twice a day in amounts they can finish in 2–3 minutes. Overfeeding is one of the most common mistakes in fishkeeping. Leftover food decays quickly and spikes ammonia.

Here's a weekly feeding schedule that works well:

  • Daily: high-quality flake food or small pellets as the base
  • 2–3 times a week: frozen or live brine shrimp — the single best color enhancer for rainbowfish
  • 1–2 times a week: frozen bloodworms for extra protein
  • Occasionally: blanched spinach or spirulina flakes for vegetable nutrients

Brine shrimp (artemia) are especially effective at intensifying color. Learn more about using artemia as fish food and how to culture your own at home.

Best Tank Mates for Rainbowfish

Rainbowfish are peaceful community fish. They do well with most non-aggressive species of similar size. Good tank mates include:

  • Tetras: neon tetras, cardinal tetras, rummy-nose tetras
  • Corydoras catfish: they clean the substrate, which rainbowfish tend to ignore
  • Dwarf cichlids: German Blue Rams, Apistogramma species
  • Danios and peaceful barbs of similar size
  • Livebearers: mollies, platies, swordtails

Avoid fin nippers like tiger barbs. Long-finned rainbowfish varieties are especially vulnerable to fin damage. Large, aggressive cichlids will bully or eat smaller rainbowfish, so keep those in a separate setup.

There are over 100 species of rainbowfish. Here are the most common ones you'll find at fish stores:

Boesemani Rainbowfish (Melanotaenia boesemani): The front half is blue-purple, the back half is vivid orange-yellow. Males reach 4 inches. One of the most popular and recognizable rainbowfish species. Needs at least 55 gallons.

Praecox Rainbowfish (Melanotaenia praecox): Also called the dwarf neon rainbowfish. Stays small at 2–3 inches. Males are iridescent blue with bright red fins. A good choice for 30-gallon tanks.

Turquoise Rainbowfish (Melanotaenia lacustris): Named for its vivid blue-green body. Males develop a forehead hump as they mature. Very striking in a proper school.

Red Rainbowfish (Glossolepis incisus): Males are deep blood-red. Females are silvery. A dramatic species that needs a 55-gallon or larger tank.

Threadfin Rainbowfish (Iriatherina werneri): A delicate dwarf species with long, flowing fin extensions. Best kept in a species tank or with very gentle, small tank mates.

Australian Rainbowfish (Melanotaenia splendida): Hardy and colorful with blues, greens, and reds. It adapts well to a wide range of water conditions, making it a solid beginner choice.

Common Health Issues

Rainbowfish are generally hardy, but they do get sick. Here's what to watch for:

Ich: Tiny white spots appear on the body and fins. Raise the temperature to 82°F and add a low dose of aquarium salt. Use an over-the-counter ich treatment if it doesn't clear up within a few days.

Velvet: A fine golden dust coats the fish. It's hard to spot under normal light. Shine a flashlight at a low angle in a darkened room to see it clearly. Treat with copper-based medication.

Fin rot: The fins look ragged and frayed at the edges. This usually means the water quality is poor. Do a large water change first. If it doesn't improve within a day or two, add an antibacterial treatment.

Wasting: The fish eats but keeps losing weight. Internal parasites are the most common cause. Treat with medicated food or an anti-parasitic medication.

The best prevention for all of these is consistent water changes. Do 25–30% weekly and you'll avoid most problems before they start.

Breeding Rainbowfish

Rainbowfish are egg scatterers. They don't guard their eggs or care for the fry. If you want to breed them, set up a dedicated breeding tank with fine-leaved plants or a spawning mop.

Females lay eggs daily over several days. The eggs attach to plants by a sticky thread. They hatch in 7–12 days depending on temperature.

Move the adults back to the main tank after spawning — rainbowfish will eat their own eggs if they find them. Feed the fry infusoria or commercial liquid fry food for the first two weeks. Then switch to baby brine shrimp as they grow.


Ready to set up your rainbowfish tank? Shop now for aquarium starter kits and get everything you need to build a healthy, colorful school.

Frequently Asked Questions

You can, but it's not a good idea. Two rainbowfish won't show natural schooling behavior and will often look stressed and pale. Keep at least 6 for healthy social dynamics and good color display.
Disclaimer: This content is for informational purposes only and does not replace professional veterinary advice. Product recommendations may contain affiliate links. Always consult a qualified aquatic veterinarian for health concerns.

Related Articles

HomeSpeciesGuidesGear