Can African Knifefish and Dwarf Neon Rainbowfish (Praecox) Live Together?

Possible with Caution

Keeping African Knifefish and Dwarf Neon Rainbowfish (Praecox) together is possible but requires caution due to potential behavioral clashes. Provide a spacious tank of at least 200 litres with plenty of hiding spots to reduce stress. Monitor behaviour closely, especially during the first few weeks.


At a Glance

African Knifefish

Xenomystus nigri

Dwarf Neon Rainbowfish (Praecox)

Melanotaenia praecox

🐠Family Group
African Knifefish
Oddballs
Dwarf Neon Rainbowfish (Praecox)
Rainbowfish
Temperament
African Knifefish
Semi-Aggressive (5/10)
Dwarf Neon Rainbowfish (Praecox)
Peaceful (2/10)
Temperature
✓ Compatible
African Knifefish
23–28°C
Dwarf Neon Rainbowfish (Praecox)
23–28°C
pH Range
✓ Compatible
African Knifefish
6–7.5
Dwarf Neon Rainbowfish (Praecox)
6.5–8
Hardness (dGH)
✓ Compatible
African Knifefish
2–15
Dwarf Neon Rainbowfish (Praecox)
5–15
Water Type
✓ Compatible
African Knifefish
Freshwater Only
Dwarf Neon Rainbowfish (Praecox)
Freshwater Only
Flow Preference
✓ Compatible
African Knifefish
Low
Dwarf Neon Rainbowfish (Praecox)
Moderate
Min Tank Volume
Combined: 200 L
African Knifefish
200 L
Dwarf Neon Rainbowfish (Praecox)
75 L
Swimming Level
Shared: 1 zone
African Knifefish
MiddleBottom
Dwarf Neon Rainbowfish (Praecox)
TopMiddle
🏷️Behavior Tags
African Knifefish
Piscivore (Eats small/nano fish)Shrimp EaterNocturnalShy / Slow Moving (Easily Stressed)Aggressive to same species/look-alikes
Dwarf Neon Rainbowfish (Praecox)
Hyperactive / Fast SwimmerJumper (Lid Required)Aggressive Eater (Starves shy fish)
Stocking calculator

Can your tank handle African Knifefish and Dwarf Neon Rainbowfish (Praecox)?

Compatibility is only part of the answer. Test both fish with your real tank size, current stock, and maintenance needs to see if you have enough space and a safe stocking level before you add them.

African Knifefish
Dwarf Neon Rainbowfish (Praecox)
Test both in my tank

Behaviour & Temperament

African Knifefish is a moderately assertive species (5/10), while Dwarf Neon Rainbowfish (Praecox) is peaceful (2/10). This modest difference means African Knifefish may occasionally assert dominance over Dwarf Neon Rainbowfish (Praecox).

African Knifefish and Dwarf Neon Rainbowfish (Praecox) both frequent the Middle (Open Water) region of the setup. This overlap can increase competition for space, so providing ample room and cover is important to keep both species comfortable.

Additional behavioural considerations to keep in mind: Hyperactive swimmers can stress shy, slow-moving species through constant motion. Aggressive eaters may outcompete shy fish for food, leading to malnutrition.

Worth noting: African Knifefish is nocturnal and will be most active after lights-out, naturally reducing daytime encounters. Also, Dwarf Neon Rainbowfish (Praecox) is a known jumper, so a tight-fitting lid is essential.

To improve the chances of a peaceful coexistence in this community tank: A larger aquarium with ample hiding spots can help diffuse aggression and give the less dominant fish space to retreat.

Water Parameters

The safe temperature window for both species falls between 23°C and 28°C. Aim for the midpoint of this range (around 25.5°C) for optimal comfort.

Both fish can tolerate a pH between 6.5 and 7.5. Maintaining a stable value within this band is more important than hitting an exact number.

For general hardness, the shared comfort zone is 5–15 dGH. Regular testing will ensure conditions stay within this range.

Tank Setup

To house African Knifefish and Dwarf Neon Rainbowfish (Praecox) together, plan for an aquarium of at least 200 litres with a minimum length of 120 cm. This recommendation combines the stricter species minimums with a community-load allowance so the pairing has realistic long-term space and filtration headroom.

Because this pairing requires extra vigilance, include plenty of hiding spots — caves, driftwood, and dense plant clusters — so the less dominant fish can retreat when needed.

Specific environmental needs for this combination include: Driftwood (Digestion/Hiding), Smooth Gravel (Sensitive Barbels), Plants - Floating, Plants - Densely covered. Meeting these requirements will help both species thrive.

Both species do well with low (still water) water movement, so a standard filtration setup rated for the tank volume should suffice.

Suitable Tank Sizes

Standard aquarium sizes large enough for both African Knifefish and Dwarf Neon Rainbowfish (Praecox).

Show 5 more tank sizes

Diet & Feeding

Feeding time deserves special attention with this pairing. Dwarf Neon Rainbowfish (Praecox) is an aggressive eater that may prevent African Knifefish from getting enough food.

Because Dwarf Neon Rainbowfish (Praecox) is a fast, competitive feeder, consider using sinking pellets or feeding at opposite ends of the setup to ensure African Knifefish receives an adequate share.

Frequently Asked Questions

Can African Knifefish and Dwarf Neon Rainbowfish (Praecox) live together?

They can coexist, but the pairing requires careful monitoring. Provide ample space (at least 200 litres), plenty of hiding spots, and watch for signs of stress or aggression.

What size tank do African Knifefish and Dwarf Neon Rainbowfish (Praecox) need?

A minimum of 200 litres (tank length at least 120 cm) is recommended. This provides enough space for both species to establish their own areas and reduces the likelihood of territorial disputes.

What water temperature is best for African Knifefish and Dwarf Neon Rainbowfish (Praecox) together?

Keep the aquarium between 23°C and 28°C. A target of around 25.5°C sits comfortably within both species' preferred ranges.

Are African Knifefish or Dwarf Neon Rainbowfish (Praecox) aggressive?

African Knifefish is moderately assertive (5/10) and Dwarf Neon Rainbowfish (Praecox) is peaceful (2/10). Their similar temperaments generally lead to a peaceful coexistence.

What pH do African Knifefish and Dwarf Neon Rainbowfish (Praecox) need?

Both species overlap in the 6.5–7.5 pH range. Consistency is key — avoid sudden swings, and test regularly to stay within this window.

Does African Knifefish being nocturnal affect compatibility?

African Knifefish is most active after lights-out, which naturally reduces daytime encounters with its tank mate. This can actually be beneficial, as both fish get undisturbed time to feed and explore. Just ensure food reaches African Knifefish during evening hours.


Related Comparisons

African Knifefish & Reedfish (Ropefish)

·

Not Recommended
African Knifefish: PeacefulReedfish (Ropefish): Peaceful

African Knifefish & African Arowana

·

Possible with Caution
African Knifefish: PeacefulAfrican Arowana: Peaceful

African Knifefish & Arapaima

·

Possible with Caution
African Knifefish: PeacefulArapaima: Peaceful

African Knifefish & Black Ghost Knifefish

·

Possible with Caution
African Knifefish: PeacefulBlack Ghost Knifefish: Peaceful

African Knifefish & Buettikoferi Bichir

·

Possible with Caution
African Knifefish: PeacefulBuettikoferi Bichir: Peaceful

African Knifefish & Clown Knifefish

·

Possible with Caution
African Knifefish: PeacefulClown Knifefish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Ajamaru Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulAjamaru Rainbowfish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Allen's Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulAllen's Rainbowfish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Angfa Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulAngfa Rainbowfish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Axelrod's Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulAxelrod's Rainbowfish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Barred Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulBarred Rainbowfish: Peaceful

Dwarf Neon Rainbowfish (Praecox) & Batanta Rainbowfish

·

Ideal Tank Mates
Dwarf Neon Rainbowfish (Praecox): PeacefulBatanta Rainbowfish: Peaceful