What African Knifefish Are and Why They Matter in the Aquarium
African knifefish are elongated, nocturnal fish native to freshwater rivers and swamps across West and Central Africa. They have a compressed body, a long anal fin that runs nearly the length of their underside, and small eyes — adaptations for hunting in murky water at night. The most common species in the aquarium hobby is Xenomystus nigri, the black knifefish, though several other species appear in the trade.
These fish are not beginner fish. They require specific water conditions, plenty of hiding space, and careful tank mates because they are predatory and territorial. They also produce weak electrical discharges to navigate and communicate, which is harmless to humans but signals their need for a particular kind of environment. Understanding their behavior and requirements before purchase will determine whether they thrive or become stressed.
Key Takeaways
- African knifefish are nocturnal predators that need dim lighting, dense plants or driftwood, and hiding spots to feel secure during the day.
- They require warm water between 72 and 82 degrees Fahrenheit and slightly acidic to neutral pH, with good filtration to handle their bioload.
- Tank mates must be large enough not to fit in their mouth and should not be fin-nippers, as knifefish are sensitive to harassment and will hide or become aggressive.
- Feeding consists of live or frozen foods — bloodworms, brine shrimp, and small fish — because they rarely accept dry pellets.
- A minimum 55-gallon tank is recommended for a single adult, with additional space needed if keeping more than one.
Tank Size and Water Conditions
A single adult African knifefish needs a minimum of 55 gallons, though larger is better if you plan to keep multiple fish or want to create a more stable environment. The tank should be longer rather than tall, because knifefish swim horizontally and use the length to establish territory and patrol at night. A 75-gallon or larger aquarium gives you more flexibility with tank mates and reduces the stress that comes from overcrowding.
Water temperature should stay between 72 and 82 degrees Fahrenheit, with 75 to 78 being ideal for most species. They prefer slightly acidic to neutral water — a pH between 6.0 and 7.0 — and moderate hardness. Perform 25 to 30 percent water changes every two weeks to maintain water quality, because knifefish are sensitive to ammonia and nitrite spikes. A good canister filter or hang-on-back filter rated for the tank volume is essential; these fish produce a moderate bioload and need consistent filtration.
Lighting, Décor, and Hiding Spaces
African knifefish are strictly nocturnal and will spend daylight hours hidden if the tank is brightly lit. Use low to moderate lighting — a standard aquarium light on a 8 to 10 hour photoperiod is sufficient. Many keepers use a dimmer or place the tank in a room with indirect natural light to reduce stress. The fish will become more active and visible in the evening and at night, which is when they naturally hunt.
Décor should prioritize hiding places. Add driftwood, PVC pipes, or large rocks to create caves and shelters where the fish can retreat during the day. Live plants like Java fern, Anubias, and Cryptocoryne provide both cover and help maintain water quality. Avoid sharp decorations that could damage their delicate body or fins. A soft substrate like sand or fine gravel is preferable to large rocks, since knifefish sometimes rest on the bottom and their body is sensitive to abrasion.
Feeding and Diet
African knifefish are carnivorous and rarely accept dry pellets or flakes. They hunt live or recently killed prey in the wild and prefer the same in captivity. Frozen bloodworms, frozen brine shrimp, and frozen small fish (such as silversides or feeder guppies) are the most reliable foods. Thaw frozen food in tank water before feeding, and offer portions small enough to be consumed within a few minutes to avoid water quality problems.
Feed juveniles once or twice daily and adults three to four times per week. Overfeeding is a common mistake and leads to poor water quality and obesity. Watch the fish's body shape — it should be streamlined, not bloated. Live foods like blackworms or live brine shrimp can be offered occasionally as enrichment, but frozen foods are safer and more practical for most keepers because they carry less risk of introducing parasites or disease.
Behavior, Temperament, and Tank Mate Compatibility
African knifefish are solitary and territorial, especially toward their own species. Keeping two or more in the same tank is possible only in very large aquariums (150+ gallons) with multiple hiding spots and careful observation. Even then, aggression can develop as they mature. They are predatory and will eat any fish small enough to fit in their mouth — this includes small tetras, rasboras, and young fish of any species.
Suitable tank mates are large, peaceful fish that will not nip at the knifefish's fins or compete aggressively for food. Larger catfish, peaceful cichlids, and large tetras or barbs can work, but always monitor behavior during the first few weeks. Avoid fin-nippers like tiger barbs or serpae tetras, because knifefish are sensitive to harassment and will either hide constantly or become aggressive in response. Invertebrates like shrimp and snails are usually safe, though very small shrimp may be eaten.
Common Health Issues and Stress Signals
African knifefish are hardy when conditions are stable, but stress and poor water quality lead to illness quickly. Signs of stress include constant hiding, loss of appetite, torn or frayed fins, and unusual swimming behavior like darting or hanging at the surface. The most common health problems are bacterial infections (often from fin damage or poor water quality), parasitic infections, and nutritional deficiencies from an inadequate diet.
Maintain consistent water parameters and perform regular water changes to prevent most problems. If a fish stops eating or shows visible sores or spots, perform a 30 percent water change immediately and observe for signs of specific disease. Quarantine any new fish for two to four weeks before adding them to the main tank, because knifefish are susceptible to parasites and pathogens introduced from outside sources. Avoid handling them whenever possible — their body is delicate and they produce a protective slime coat that is easily damaged.
Breeding in Captivity
Breeding African knifefish in the home aquarium is rare and difficult. They require very specific conditions — large tanks, perfect water parameters, and a compatible pair — and even then success is not may provide. Most knifefish in the hobby are wild-caught or bred in commercial facilities with specialized equipment. Unless you have experience with difficult fish and access to expert guidance, breeding should not be a goal for keeping this species.
If you are interested in observing natural behavior, focus instead on creating an environment where the fish feels secure enough to be active at night. A well-maintained tank with proper hiding spaces, appropriate tank mates, and consistent feeding will allow you to see the fish's personality and hunting behavior, which is rewarding in itself.
Frequently Asked Questions
Can African knifefish live with goldfish or bettas?
No. Goldfish produce too much waste and prefer cooler water than knifefish need. Bettas are small enough to be eaten and are also aggressive, making them incompatible. Knifefish do best with peaceful, large fish that occupy different parts of the tank.
Why is my knifefish not eating?
Uneaten food, poor water quality, or stress from bright lighting or unsuitable tank mates are the most common causes. Check water parameters first, then dim the lights and ensure the fish has adequate hiding spots. If the fish is new, it may need several days to adjust before eating.
Do African knifefish need a heater?
Yes. They require consistent warmth between 72 and 82 degrees Fahrenheit. A reliable aquarium heater with a thermostat is essential, especially in cooler climates or during winter months.
How long do African knifefish live?
With proper care, they typically live 8 to 10 years in captivity. Some individuals may live longer. Lifespan depends on water quality, diet, and stress levels — fish kept in poor conditions or with incompatible tank mates often die much younger.
Can I keep African knifefish with plants?
Yes. Live plants provide hiding cover and help maintain water quality. Knifefish do not uproot plants or eat them, so hardy species like Java fern, Anubias, and Cryptocoryne are safe choices.