Rainbow Shark Aggression: 7 Fixes That Work
In this article
- Why Rainbow Sharks Turn Aggressive
- Fix 1: Upgrade to a Larger Tank (55 Gallons Minimum)
- Fix 2: Add Hiding Spots and Visual Barriers
- Fix 3: Keep Only One Rainbow Shark
- Fix 4: Add Dither Fish to Distract
- Fix 5: Rearrange the Aquascape Periodically
- Fix 6: Maintain Warm, Clean Water
- Fix 7: Feed a Varied Diet and Feed Often
- Frequently Asked Questions
To stop a rainbow shark from being aggressive, you need to reduce its territorial triggers: provide at least a 55-gallon tank, add hiding spots and visual barriers, keep only one rainbow shark, maintain a group of 5+ dither fish, rearrange the aquascape periodically, ensure the water is warm and clean, and feed a varied diet. These seven fixes address the root causes of aggression—territory, boredom, and stress—rather than just treating the symptom. Below, we break down each fix in detail, explain why rainbow sharks behave this way, and answer common questions about keeping them peaceful.
Why Rainbow Sharks Turn Aggressive
Rainbow sharks (Epalzeorhynchos frenatum) are not true sharks; they are cyprinids related to barbs and danios. In the wild, they inhabit fast-flowing streams in Southeast Asia, where they defend feeding territories against rivals. This instinct remains strong in aquariums. Aggression usually peaks when the fish reaches sexual maturity (around 4–6 inches) and when the tank is too small or lacks structure. Common triggers include:
- Overcrowding – too many fish in a small space increases competition.
- Lack of hiding spots – the shark feels exposed and becomes more defensive.
- Same-species rivals – two rainbow sharks in one tank almost always fight.
- Boredom – a barren tank with no stimulation leads to redirected aggression.
- Poor water quality – stress from ammonia or nitrite spikes makes fish irritable.
Understanding these triggers is the first step. The fixes below directly address each one.
Fix 1: Upgrade to a Larger Tank (55 Gallons Minimum)
Rainbow sharks are active swimmers that need horizontal space. A 20-gallon tank might keep a juvenile alive, but it will not thrive—and aggression skyrockets when a 5-inch fish feels cramped. The general rule is 55 gallons for a single adult rainbow shark, and more if you keep tankmates. Larger tanks dilute territorial pressure because the shark can claim a zone without dominating the whole tank. If you cannot upgrade, consider rehoming the shark to someone with a bigger setup. A 75-gallon tank is even better if you plan to keep multiple bottom dwellers.
Fix 2: Add Hiding Spots and Visual Barriers
Rainbow sharks are territorial but not open-water predators. They feel secure when they can retreat into caves, driftwood, or dense plants. Provide at least 2–3 hiding spots per shark, placed at different levels. Good options:
- Terracotta pots (clean, no sharp edges)
- PVC pipes (cut to size, smooth ends)
- Driftwood with crevices
- Rock piles (use aquarium-safe adhesive to prevent collapse)
- Dense plants like Java fern, Anubias, or Vallisneria
These barriers break the line of sight, so the shark does not see every fish as an intruder. This is the single most effective fix for reducing chases.
Fix 3: Keep Only One Rainbow Shark
Rainbow sharks are solitary in nature. Keeping two in the same tank almost always results in one dominating and often killing the other. Even in a large tank, they will fight unless the tank is huge (100+ gallons) and heavily structured. The safest approach is to keep exactly one rainbow shark per tank. If you already have two, separate them immediately. If you want a similar look, consider a red-tailed black shark (also solitary) or a group of peaceful barbs instead.
Fix 4: Add Dither Fish to Distract
Dither fish are active, peaceful species that swim in the open water and signal safety to other fish. Their presence can reduce a rainbow shark’s aggression because the shark focuses on chasing them (mildly) rather than bullying bottom dwellers. Good dither fish for a rainbow shark tank:
- Danios (zebra, pearl, giant)
- Rainbowfish (Boesemani, dwarf neon)
- Giant danios (very active, but need a 4-foot tank)
- Silver dollars (large, but peaceful)
Avoid slow, long-finned fish like angelfish or bettas—they will be nipped. Also avoid other bottom dwellers like corydoras or plecos, as they compete for the same territory.
Fix 5: Rearrange the Aquascape Periodically
Rainbow sharks establish a territory and defend it. If you rearrange the decorations, you reset the territorial map, which can reduce aggression for weeks. Move driftwood, rocks, and plants every 2–4 weeks, or whenever aggression spikes. This works because the shark must re-establish its home range, and during that time it is less likely to attack. It also adds novelty, which reduces boredom. Be gentle when moving fish—use a net, not your hands.
Fix 6: Maintain Warm, Clean Water
Rainbow sharks are tropical fish that need temperatures between 72–79°F (22–26°C) and a pH of 6.5–7.5. Poor water quality causes stress, which lowers the fish’s tolerance for tankmates. Perform weekly water changes of 25–30%, and test for ammonia, nitrite, and nitrate. Ammonia and nitrite should always be 0 ppm; nitrate should stay below 20–30 ppm. A clean tank also reduces the chance of disease, which can make fish more aggressive. Use a filter rated for at least twice your tank volume, and ensure good water movement—rainbow sharks prefer current.
Fix 7: Feed a Varied Diet and Feed Often
Rainbow sharks are omnivores. In the wild, they graze on algae, insects, and small crustaceans. In the aquarium, they accept flakes and pellets, but a varied diet reduces food competition and boredom. Feed 2–3 times a day in small amounts. Include:
- High-quality sinking pellets or wafers
- Frozen or live foods like bloodworms, brine shrimp, or daphnia
- Blanched vegetables like zucchini or cucumber (remove after 24 hours)
- Algae wafers (as a treat, not a staple)
Feed at opposite ends of the tank to reduce competition. A well-fed shark is less likely to chase tankmates for food.
Frequently Asked Questions
Why is my rainbow shark chasing my other fish?
It is defending its territory, especially if the tank is small or lacks hiding spots. The chases are usually harmless, but they can stress other fish. Apply the fixes above—especially adding hiding spots and dither fish—to reduce the behavior.
Can I keep two rainbow sharks together?
No, not in a typical home aquarium. They will fight, often to the death. Keep one per tank, or provide a 100+ gallon tank with heavy planting and many hiding spots, but even then it is risky.
Will a rainbow shark kill my goldfish?
Rainbow sharks are tropical fish and should not be kept with goldfish (which prefer cooler water). Additionally, goldfish are slow and may be nipped. It is best to keep rainbow sharks with other tropical fish of similar size and temperament.
How big do rainbow sharks get?
They reach about 6 inches (15 cm) in length. Their size, combined with their activity level, is why a 55-gallon tank is the minimum recommendation.
Do rainbow sharks need a heater?
Yes, they are tropical fish and need a heater to maintain 72–79°F. Without a heater, the water may drop below their tolerance, causing stress and disease.
Why is my rainbow shark hiding all the time?
Hiding is normal for this species, especially when it feels threatened. If it hides constantly, check water quality, add more hiding spots, and ensure it is not being bullied by tankmates. A shy rainbow shark is often a stressed one.