What Madagascar Rainbowfish Need to Thrive in Your Tank
Madagascar rainbowfish are small, colorful fish native to freshwater streams and rivers on the island of Madagascar. They reach about 2 to 2.5 inches in length and display iridescent blue, green, and red coloring that intensifies under good lighting. These fish are schooling species, meaning they live in groups in the wild and do best in groups of at least six to eight in captivity. A single Madagascar rainbowfish will hide constantly and show dull coloring; a school displays natural behavior and vibrant hues.
The species tolerates a wide temperature range — 64 to 82 degrees Fahrenheit — but prefers the cooler end of that spectrum, around 72 to 76 degrees. They are not aggressive toward other fish of similar size, though males will display and chase each other within the school. They eat small live and frozen foods and will accept high-quality flake food. Their lifespan in captivity is typically four to six years with proper care.
Key Takeaways
- Madagascar rainbowfish must be kept in schools of at least six to eight individuals, or they will hide and lose their color.
- A 20-gallon long tank is the minimum for a school, with an additional 2 to 3 gallons per fish beyond the first six.
- They prefer cooler water (72 to 76 degrees Fahrenheit) with moderate current and dense plants for cover and grazing.
- Live and frozen foods like daphnia, brine shrimp, and bloodworms bring out their best coloring and support breeding behavior.
- Breeding occurs in captivity when water temperature drops slightly and food quality improves, though fry are difficult to raise without infusoria cultures.
Tank Size and Water Conditions
Start with a minimum of 20 gallons for a school of six to eight Madagascar rainbowfish. Add 2 to 3 gallons for each additional fish. A 20-gallon long tank (30 inches by 12 inches by 12 inches) is better than a tall one because it provides more surface area for oxygen exchange and more horizontal swimming space, which these active fish need.
Water parameters should stay between pH 6.5 and 7.5, with moderate hardness (4 to 8 dGH). They tolerate a range but do best in slightly acidic to neutral water. Perform a 25 to 30 percent water change weekly to maintain stable conditions. Use a sponge filter or gentle hang-on filter; strong current stresses them, though they appreciate some water movement. Avoid powerful powerheads or canister filters set to high flow.
Lighting should run 10 to 12 hours per day. Good lighting brings out their iridescent coloring and supports plant growth. Keep the tank away from direct sunlight, which causes algae blooms and temperature swings. A standard aquarium light rated for the tank size is sufficient.
Plants, Substrate, and Décor
Madagascar rainbowfish spend much of their time grazing on algae and biofilm in the water column and on plants. Dense vegetation is essential for their well-being. Plant the tank heavily with stem plants like ludwigia, rotala, and cabomba. These plants provide cover, reduce stress, and give the fish surfaces to graze on. Floating plants like water sprite also work well and help diffuse light.
Use a fine sand or small gravel substrate. These fish often sift through the bottom looking for food, and fine substrate prevents injury to their mouths. Dark substrate also makes their colors appear more vibrant by contrast. Add driftwood or smooth rocks to create hiding spots and visual breaks in the tank, but leave open swimming space in the middle and upper levels where the school spends most of its time.
Avoid sharp decorations and rough surfaces. Madagascar rainbowfish have delicate scales and fins, and injuries can lead to infection. Smooth wood, rounded rocks, and live plants are ideal.
Feeding and Nutrition
Madagascar rainbowfish are omnivores with a preference for small live and frozen foods. In the wild, they eat small crustaceans, insect larvae, and algae. In captivity, offer a varied diet: frozen daphnia, frozen bloodworms, frozen brine shrimp, and live foods when available. These foods bring out their best coloring and support natural feeding behavior.
High-quality flake food designed for small community fish can form the base of their diet, but should not be the only food. Feed small amounts twice daily, only what the fish can consume in two to three minutes. Overfeeding fouls the water and causes bloating. Rainbowfish have small mouths and stomachs; frequent small meals are better than one large feeding.
Once or twice weekly, offer live foods if possible — cultures of daphnia, micro worms, or newly hatched brine shrimp. These foods trigger natural hunting behavior and are especially important if you plan to breed them.
Tank Mates and Compatibility
Madagascar rainbowfish are peaceful and do well with other small, non-aggressive community fish. Good tank mates include small tetras, rasboras, corydoras catfish, and dwarf gouramis. Avoid large cichlids, aggressive barbs, and any fish large enough to eat a 2-inch rainbowfish. Do not house them with fin-nippers like tiger barbs or serpae tetras, which will damage their delicate fins.
Keep the school together; do not split them between tanks. A single rainbowfish or a pair will not display natural behavior or color. If you want to add them to an established community tank, introduce the entire school at once so they can establish their social hierarchy without stress.
Avoid housing them with large plecos or aggressive bottom feeders that will compete for food and space. Peaceful bottom feeders like small corydoras or kuhli loaches are compatible.
Breeding Madagascar Rainbowfish in Captivity
Madagascar rainbowfish breed in captivity under the right conditions, though raising fry is challenging. Breeding is triggered by a slight temperature drop (to around 70 to 72 degrees) combined with improved food quality — frequent feedings of live foods like daphnia and brine shrimp. Females become noticeably rounder as they fill with eggs.
Spawning occurs over several days. Females scatter eggs among fine-leaved plants; males fertilize them as they fall. The eggs are adhesive and stick to plant leaves. Remove the adults after spawning or they will eat the eggs. Eggs hatch in 7 to 10 days at 72 degrees. Fry are extremely small and require infusoria (microscopic organisms) as their first food for the first week or two.
Prepare an infusoria culture before spawning by placing plant matter in aged water and letting it sit for several days. Feed the fry infusoria for the first week, then gradually introduce newly hatched brine shrimp and finely powdered fry food. Fry grow slowly and take three to four months to reach juvenile size. Mortality is high without proper feeding and water quality management.
Common Health Issues and Prevention
Madagascar rainbowfish are hardy when kept in proper conditions but can develop health problems if water quality declines or they are kept alone. The most common issue is stress-related color loss and hiding, which occurs in undersized tanks or when the school is too small. Ich (white spot disease) can appear if water temperature fluctuates or if new fish are added without quarantine. Treat ich with gradual temperature increase to 80 degrees and salt baths, or use ich medication according to package directions.
Fin rot and mouth rot develop when water quality is poor or substrate is too sharp. Perform large water changes, improve filtration, and switch to fine sand if needed. Bloating can result from overfeeding or poor-quality food; reduce feeding frequency and offer only what they can eat in a few minutes.
Quarantine any new fish for two weeks before adding them to the main tank. This prevents disease introduction and gives new arrivals time to adjust to your water conditions. Monitor the school daily for signs of stress, injury, or disease, and address problems immediately.
Frequently Asked Questions
Can I keep Madagascar rainbowfish in a 10-gallon tank?
No. A 10-gallon tank is too small for a school of six to eight fish. They will become stressed, hide constantly, and lose their color. The minimum is 20 gallons for a proper school. Overcrowding also causes water quality to decline quickly, leading to disease.
Do Madagascar rainbowfish need a heater?
It depends on your room temperature. They tolerate 64 to 82 degrees but do best at 72 to 76 degrees. If your home stays above 70 degrees year-round, a heater may not be necessary. In cooler climates or during winter, a small heater rated for your tank size will keep them healthy and support breeding behavior.
Why are my rainbowfish hiding and pale?
This usually means the school is too small, the tank is too large, or water conditions are poor. Ensure you have at least six to eight fish together. Check water parameters — ammonia and nitrite should be zero, nitrate below 20 ppm. Perform a large water change and add more plants for cover. If the tank is very large, add more fish to the school.
How often should I do water changes?
Perform a 25 to 30 percent water change weekly. In heavily planted tanks with light bioload, you may extend this to every 10 days. In tanks with more fish or less vegetation, change water twice weekly. Test water parameters weekly to guide your schedule — if nitrate rises above 20 ppm between changes, increase change frequency.
What is the difference between male and female Madagascar rainbowfish?
Males are more colorful and slender, with more pronounced red and blue coloring. Females are duller, slightly rounder, and less vibrant. During breeding season, females become noticeably plump with eggs. Outside of breeding, the difference is subtle and difficult to spot in young fish.