New Guinea rainbowfish
Melanotaenia affinis
Also known as Northern Blue Rainbow
FreshwaterFish
Care at a glance
- Temperature
- 68–86°F
- 20–30°C
- pH
- 7.0–8.0
- Adult size
- 4.7 in
- 12 cm
- Minimum tank
- 30 gal
- 115 L
- Temperament
- Peaceful
- Social behavior
- Schooling
- Swim level
- Middle
- Difficulty
- Easy
- Breeding
- Egg depositor · Hard
- Rarity
- Common
- Family
- Melanotaeniidae
- Origin
- New Guinea
Overview
The New Guinea rainbowfish is an active schooling fish that cruises the middle of a larger community tank. It is easy to keep.
Did you know
Male New Guinea rainbowfish flash a bright stripe down the forehead during courtship and feeding. It flickers on and off, almost like a switch, and few aquarium fish do anything like it. The display is strongest first thing in the morning, when they usually spawn.
Caring for the New Guinea rainbowfish
Give New Guinea rainbowfish a group of six or more and a tank of 30 gal (115 L) or larger. They are active swimmers, so a long footprint suits them better than a tall one. Provide good flow and plenty of room to swim.
They tolerate a broad temperature range, from 68 to 86°F (20 to 30°C), so heating is rarely a problem. Keep the pH at 7.0 to 8.0, on the neutral to alkaline side. Feed a varied diet of quality flake, small pellets and frozen foods to bring out their color.
New Guinea rainbowfish stay peaceful and suit a larger community of similar-sized fish. Males develop deeper color and a taller body than females. They hang their eggs on fine plants over a long spawning period rather than in one batch, and breeding them is hard.
Good to know
The New Guinea rainbowfish is a member of the rainbowfish family Melanotaeniidae. With good care, it commonly lives around five years. It is also known as the northern blue rainbow.
In the wild
The New Guinea rainbowfish lives in clear, flowing rivers and streams across New Guinea, often in fairly hard, alkaline water. These are open, well-oxygenated waters with current.
Weekly picks
Tank mates
The New Guinea 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.

Neocaridina shrimp
Neocaridina davidi
Freshwater1.6 in (4 cm) · 5 gal (19 L)59–84°F (15–29°C)
Guppy
Poecilia reticulata
FreshwaterBrackish2.4 in (6 cm) · 10 gal (38 L)64–82°F (18–28°C)
Neon tetra
Paracheirodon innesi
Freshwater1.5 in (3.8 cm) · 11 gal (40 L)70–77°F (21–25°C)
Firemouth cichlid
Thorichthys meeki
Freshwater5.9 in (15 cm) · 30 gal (115 L)73–82°F (23–28°C)
Silver hatchetfish
Gasteropelecus levis
Freshwater1.4 in (3.5 cm) · 30 gal (112 L)73–82°F (23–28°C)
Candy striped pleco (L015)
Peckoltia vittata
Freshwater4.7 in (12 cm) · 30 gal (115 L)77–84°F (25–29°C)
Common questions
What size tank does a New Guinea rainbowfish need?
A New Guinea rainbowfish needs at least 30 gal (115 L). It spends most of its time in the middle.
What temperature and pH does a New Guinea rainbowfish need?
A New Guinea rainbowfish is comfortable at 68–86°F (20–30°C) with a pH of 7.0–8.0.
What does a New Guinea rainbowfish eat?
A New Guinea rainbowfish eats a varied diet of quality flake, small pellets and frozen foods. The variety brings out its color.
How big does a New Guinea rainbowfish get?
An adult New Guinea rainbowfish reaches about 4.7 in (12 cm).
Does a New Guinea rainbowfish need a group?
Yes. A New Guinea rainbowfish is a schooling species and should be kept in a group, not singly.
How can you tell a male New Guinea rainbowfish from a female?
Males develop deeper color and a taller body than females.
How does a New Guinea rainbowfish breed?
New Guinea rainbowfish hang their eggs on fine plants over a long spawning period, not in one batch. Breeding them is hard.
Related species
4.7 in (12 cm)29 gal (110 L)72–86°F (22–30°C)Checkered rainbowfish
Melanotaenia splendida inornata
4.7 in (12 cm) · 29 gal (110 L)
4.7 in (12 cm)30 gal (115 L)64–82°F (18–28°C)Duboulayi's rainbowfish
Melanotaenia duboulayi
4.7 in (12 cm) · 30 gal (115 L)
4.7 in (12 cm)30 gal (115 L)72–81°F (22–27°C)Western rainbowfish
Melanotaenia australis
4.7 in (12 cm) · 30 gal (115 L)
4.6 in (11.7 cm)42 gal (160 L)77–86°F (25–30°C)Ammer rainbowfish
Melanotaenia ammeri
4.6 in (11.7 cm) · 42 gal (160 L)
4.6 in (11.7 cm)42 gal (160 L)75–84°F (24–29°C)Sembra rainbowfish
Melanotaenia sembrae
4.6 in (11.7 cm) · 42 gal (160 L)
5.1 in (13 cm)53 gal (200 L)75–86°F (24–30°C)Goldie River rainbowfish
Melanotaenia goldiei
5.1 in (13 cm) · 53 gal (200 L)
