Madagascar rainbowfish
Bedotia madagascariensis
FreshwaterFish
Care at a glance
- Temperature
- 73–90°F
- 23–32°C
- pH
- 6.5–7.5
- Adult size
- 3.3 in
- 8.5 cm
- Minimum tank
- 45 gal
- 170 L
- Temperament
- Peaceful
- Social behavior
- Schooling
- Swim level
- Middle
- Difficulty
- Medium
- Breeding
- Hard
- Rarity
- Rare
- Family
- Bedotiidae
- Origin
- Madagascar
Overview
Madagascar rainbowfish are lively, peaceful schoolers that do best in a group of six or more, where males show off the red-edged, forked tails that mark the species. They swim in the middle of the tank and suit an active community of other calm, similarly sized fish. They are strong swimmers and appreciate room to move, along with a varied diet of flake or pellet, frozen bloodworms, daphnia, and brine shrimp. Plant the sides and back and keep a long open lane down the center. Aim for a tank around 170 liters or larger.
In the wild
This rainbowfish comes from the streams and rivers of eastern Madagascar, where it lives in flowing, well-oxygenated water among plants and cover. Those waters are warm and run slightly acidic to neutral, matching a pH of about 6.5 to 7.5 and a broad recorded temperature range of roughly 23 to 32 degrees Celsius. Recreate it with fine substrate, wood and rock, robust plants around the edges, and clean water with a steady gentle current.
Good to know
Bedotia madagascariensis is not a true rainbowfish but a member of Bedotiidae, a small family of silverside relatives found only on Madagascar. It grows to around 8.5 centimeters, with males showing more color in the fins than females. It scatters eggs among fine plants over a long spawning period, and the sticky eggs hang from plant leaves until they hatch. Rearing the fry through their slow early stage makes breeding hard.
Did you know
Much of what is sold as the Madagascar rainbowfish is actually its close relative Bedotia geayi, and the two are easily mixed up in shops. Both belong to a family of fishes found nowhere on Earth except Madagascar.
Weekly picks
Tank mates
Madagascar rainbowfish is a peaceful, schooling species that keeps to the middle. These picks share a community profile with it, are safe together in both directions, and overlap on water type, temperature and pH.

Bandit pleco
Hypancistrus furunculus
Freshwater3.9 in (10 cm) · 42 gal (160 L)79–86°F (26–30°C)
Pike topminnow
Belonesox belizanus
Freshwater7.9 in (20 cm) · 44 gal (165 L)73–82°F (23–28°C)
Hilgendorf's Congo tetra
Alestopetersius hilgendorfi
Freshwater3.9 in (10 cm) · 42 gal (160 L)73–81°F (23–27°C)
Arrow loach
Nemacheilus masyae
Freshwater6.3 in (16 cm) · 42 gal (160 L)72–81°F (22–27°C)
Blue spotted hill trout
Barilius bakeri
Freshwater5.1 in (13 cm) · 53 gal (200 L)64–79°F (18–26°C)
Flameback cichlid
Pundamilia nyererei
Freshwater3.5 in (9 cm) · 42 gal (160 L)73–81°F (23–27°C)
Common questions
What size tank does a Madagascar rainbowfish need?
A Madagascar rainbowfish needs at least 45 gal (170 L). It spends most of its time in the middle.
What temperature and pH does a Madagascar rainbowfish need?
A Madagascar rainbowfish is comfortable at 73–90°F (23–32°C) with a pH of 6.5–7.5.
How big does a Madagascar rainbowfish get?
An adult Madagascar rainbowfish reaches about 3.3 in (8.5 cm).
Does a Madagascar rainbowfish need a group?
Yes. A Madagascar rainbowfish is a schooling species and should be kept in a group, not singly.
Related species
3.1 in (8 cm)22 gal (85 L)72–77°F (22–25°C)African moon tetra
Bathyaethiops caudomaculatus
3.1 in (8 cm) · 22 gal (85 L)
3 in (7.6 cm)29 gal (110 L)75–84°F (24–29°C)Allen's rainbowfish
Chilatherina alleni
3 in (7.6 cm) · 29 gal (110 L)
3 in (7.5 cm)22 gal (85 L)59–75°F (15–24°C)Golden topminnow
Fundulus chrysotus
3 in (7.5 cm) · 22 gal (85 L)
2.8 in (7 cm)18 gal (70 L)64–75°F (18–24°C)Argentine pearl killifish
Austrolebias nigripinnis
2.8 in (7 cm) · 18 gal (70 L)
2.8 in (7 cm)40 gal (150 L)72–79°F (22–26°C)Melon barb
Haludaria fasciata
2.8 in (7 cm) · 40 gal (150 L)
2.8 in (7 cm)16 gal (60 L)72–82°F (22–28°C)Pugnax betta
Betta pugnax
2.8 in (7 cm) · 16 gal (60 L)
