Can African Knifefish and Japanese Ricefish (Medaka) Live Together?

Reviewed by Guidarium Editorial DeskUpdated May 2, 2026
Not Recommended

African Knifefish and Japanese Ricefish (Medaka) are not recommended as tank mates due to piscivorous fish will prey on nano-sized tank mates.. Housing these species together is likely to result in stress, health problems, or direct harm to one or both fish.


At a Glance

African Knifefish

Xenomystus nigri

Japanese Ricefish (Medaka)

Oryzias latipes

🐠Family Group
African Knifefish
Oddballs
Japanese Ricefish (Medaka)
Killifish
Temperament
African Knifefish
Semi-Aggressive (5/10)
Japanese Ricefish (Medaka)
Peaceful (2/10)
Temperature
✓ Compatible
African Knifefish
23–28°C
Japanese Ricefish (Medaka)
10–28°C
pH Range
✓ Compatible
African Knifefish
6–7.5
Japanese Ricefish (Medaka)
6.5–8.5
Hardness (dGH)
✓ Compatible
African Knifefish
2–15
Japanese Ricefish (Medaka)
5–25
Water Type
✓ Compatible
African Knifefish
Freshwater Only
Japanese Ricefish (Medaka)
Brackish Tolerant
Flow Preference
✓ Compatible
African Knifefish
Low
Japanese Ricefish (Medaka)
Low
Min Tank Volume
Combined: 200 L
African Knifefish
200 L
Japanese Ricefish (Medaka)
19 L
Swimming Level
✓ Different zones
African Knifefish
MiddleBottom
Japanese Ricefish (Medaka)
Top
🏷️Behavior Tags
African Knifefish
Piscivore (Eats small/nano fish)Shrimp EaterNocturnalShy / Slow Moving (Easily Stressed)Aggressive to same species/look-alikes
Japanese Ricefish (Medaka)
Nano / Bite-sized (Predation Risk)Hyperactive / Fast SwimmerJumper (Lid Required)Fry Predator
Stocking calculator

Can your tank handle African Knifefish and Japanese Ricefish (Medaka)?

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
Japanese Ricefish (Medaka)
Test both in my tank

Behaviour & Temperament

African Knifefish is a moderately assertive species (5/10), while Japanese Ricefish (Medaka) is peaceful (2/10). This modest difference means African Knifefish may occasionally assert dominance over Japanese Ricefish (Medaka).

In terms of spatial distribution, African Knifefish prefers the Middle (Open Water) and Bottom (Substrate) zones, whereas Japanese Ricefish (Medaka) occupies the Top (Surface) zone. Because they use different levels of the water column, territorial disputes are less likely and the tank will appear more balanced.

There is a critical concern: the Piscivore (Eats small/nano fish) behaviour of one fish directly conflicts with the Nano / Bite-sized (Predation Risk) trait of the other — piscivorous fish will prey on nano-sized tank mates..

Additional behavioural considerations to keep in mind: Hyperactive swimmers can stress shy, slow-moving species through constant motion. Shrimp eaters may also prey on very small nano fish.

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

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 Japanese Ricefish (Medaka) 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.

Providing a mix of open swimming space and sheltered areas with rocks, driftwood, or plants will keep both species comfortable and allow natural behaviour.

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.

Why This Pairing Usually Fails in Practice

African Knifefish and Japanese Ricefish (Medaka) are the kind of pair that can look acceptable in a shop but become a maintenance problem at home. The main risk is not a single number in the chart; it is the way incompatible behavior, water needs, or pressure on space compounds over time once both fish are established in the same tank.

Suitable Tank Sizes

Standard aquarium sizes large enough for both African Knifefish and Japanese Ricefish (Medaka).

Show 5 more tank sizes

Diet & Feeding

Feeding time deserves special attention with this pairing. African Knifefish is a known shrimp eater and may prey on small invertebrates or nano fish like Japanese Ricefish (Medaka).

Frequently Asked Questions

Can African Knifefish and Japanese Ricefish (Medaka) live together?

No. This combination is not recommended. Key incompatibilities — such as critical behavioural conflicts — make cohabitation unsafe.

What size tank do African Knifefish and Japanese Ricefish (Medaka) 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 Japanese Ricefish (Medaka) 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 Japanese Ricefish (Medaka) aggressive?

African Knifefish is moderately assertive (5/10) and Japanese Ricefish (Medaka) is peaceful (2/10). Their similar temperaments generally lead to a peaceful coexistence.

What pH do African Knifefish and Japanese Ricefish (Medaka) 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.

Editorial Review

Guidarium Editorial Desk

Reviewed against Guidarium care, stocking, and compatibility standards. Read the editorial policy.

Last reviewed
May 2, 2026
Last updated
May 2, 2026
Issues or corrections?
Contact the editorial team

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

Japanese Ricefish (Medaka) & Clown Killifish

·

Possible with Caution
Japanese Ricefish (Medaka): PeacefulClown Killifish: Peaceful

Japanese Ricefish (Medaka) & Gardner's Killifish

·

Possible with Caution
Japanese Ricefish (Medaka): PeacefulGardner's Killifish: Peaceful

Japanese Ricefish (Medaka) & Largereye Lampeye Killifish

·

Possible with Caution
Japanese Ricefish (Medaka): PeacefulLargereye Lampeye Killifish: Peaceful

Japanese Ricefish (Medaka) & Lyretail Killifish

·

Possible with Caution
Japanese Ricefish (Medaka): PeacefulLyretail Killifish: Peaceful

Japanese Ricefish (Medaka) & Golden Wonder Killifish

·

Not Recommended
Japanese Ricefish (Medaka): PeacefulGolden Wonder Killifish: Peaceful

Japanese Ricefish (Medaka) & Norman's Lampeye Killifish

·

Ideal Tank Mates
Japanese Ricefish (Medaka): PeacefulNorman's Lampeye Killifish: Peaceful