The rainbow shark looks like a tiny black predator with flaming red fins. That striking look sells plenty of fish. It also creates plenty of problems. Many new keepers add one to a peaceful community tank, then watch it chase every neighbor around the glass.
This guide helps you avoid that story. You will learn how big the tank should be, which tankmates work, and which ones cause trouble. You will also learn how to calm an aggressive rainbow shark and keep it healthy for years.
What Is a Rainbow Shark?
The rainbow shark, known scientifically as Epalzeorhynchos frenatum, is a freshwater fish from Southeast Asia. It belongs to the Cyprinidae family, the same large group that includes carp and minnows. Hobbyists also call it the ruby shark, red fin shark, or rainbow sharkminnow.
Despite the name, it is not a true shark. True sharks have skeletons made of cartilage. This fish is a ray finned fish, like most aquarium species. It earns the nickname from its pointed snout, its arched dorsal fin, and its bold, confident swimming style.
In the wild, it lives in river systems such as the Mekong, Chao Phraya, and Maeklong. It stays close to the bottom over sandy ground and grazes on algae and tiny organisms. That natural behavior explains a lot about how it acts in your tank.
The body is usually black or deep blue, with red to orange fins. An albino variety also exists. It has a bright white body with the same red fins, and its care needs are the same.
Quick Care Facts
Here is a fast summary before we go deeper.
- Adult size: about 6 inches (15 cm) in most home aquariums
- Recommended tank size: 55 gallons (about 208 liters)
- Temperature: 75 to 80°F (24 to 27°C)
- pH: roughly 6.5 to 7.5
- Temperament: semi aggressive and territorial
- Diet: omnivore that eats algae, pellets, flakes, and frozen foods
- Lifespan: often reported at 5 to 8 years
- Swimming zone: bottom to middle of the tank
Care sheets do not always agree. Some stores list a 30 gallon minimum, while others suggest 50 or 55 gallons. Adult size and pH ranges also vary between sources. When numbers differ, choose the more generous option. Your fish will thank you.
Rainbow Shark Tank Size and Setup
A good setup prevents most behavior problems before they start. Territory is the key idea here. A rainbow shark wants its own space, and the design of your tank decides whether it feels secure or threatened.
How Big Should the Tank Be?
Aim for 55 gallons as your baseline. A standard 55 gallon tank is about four feet long. That length matters more than height, because this fish patrols the lower half of the tank.
Juveniles sold at 2 to 3 inches can look fine in a 30 gallon tank. They will not stay small, though. A cramped tank raises stress, and stress fuels aggression. If you already own a smaller tank, plan an upgrade before your shark reaches adult size.
Substrate and Decor
Choose sand or fine, smooth gravel. Your shark spends much of its time near the bottom, so rough material can irritate its mouth and body. Sand also mimics its natural habitat.
Add plenty of hiding places:
- Caves and ceramic tubes
- Driftwood with twists and gaps
- Smooth rock stacks
- Dense, hardy plants such as java fern and anubias
Break up the line of sight across the tank. When the shark cannot see the whole aquarium at once, it feels less need to defend everything. Give it one favorite cave and it will usually claim it happily.
Water Conditions and Filtration
Keep the water clean and steady. Cycle the tank fully before adding fish. Use a filter that suits the tank volume, and change about 25 percent of the water each week.
Stability beats perfection. Some keepers report that swinging pH values make their sharks hyper or sluggish. Test the water regularly and avoid sudden changes.
Use a Tight Lid
This fish jumps. It can leap out during a scare or a fight. Cover the tank with a snug lid and close gaps around filter tubes and heater cables. Many keepers learn this lesson the hard way.
Best Rainbow Shark Tankmates
Tankmate choice is the single biggest factor in a peaceful setup. The rainbow shark is not a wild brawler by nature. It simply guards its territory, and it reacts badly to fish that invade it.
Good Tankmates
The best companions are quick, sturdy fish that live in the middle or top of the tank. They stay out of the shark’s zone and can outswim it when needed.
- Danios, including zebra and giant danios
- Rosy barbs
- Congo tetras and other larger, active tetras
- Similar sized schooling fish in groups of six or more
Schools work well because the shark’s attention spreads across many fish. A single small fish, by contrast, becomes an easy target.
Risky Tankmates
Some fish might work but need close watching.
- Bottom dwellers such as corydoras, loaches, and plecos, since they compete for the same space
- Long finned fish such as bettas and fancy guppies, which invite fin nipping
- Very small or shy fish such as neon tetras
If you try bottom dwellers, use a large tank with many caves. One keeper found that fast danios coexisted with a shark while slower tetras and corydoras were harassed.
Tankmates to Avoid
Never keep a rainbow shark with another rainbow shark or with a red tail shark. Fights are common and often end badly for the weaker fish. Also avoid dwarf frogs, shrimp, and other tiny or slow animals. They cannot defend themselves.
One Shark or a Group?
For nearly every home aquarium, keep one. A pair is the worst choice, because the dominant fish chases the same target all day long. That constant pressure stresses the weaker shark until it hides, stops eating, or worse.
Some experienced hobbyists keep four or five in very large tanks packed with cover. In that case, the aggression spreads out. This approach is risky and needs lots of space, so beginners should not try it.
How to Handle Rainbow Shark Aggression

Aggression is the top complaint about this fish. The good news is that you can often fix it with small changes.
Why Rainbow Sharks Become Aggressive
Several triggers show up again and again:
- The tank is too small for an adult
- Hiding spots are limited
- Tankmates look similar or swim in the shark’s zone
- Feeding time creates competition
- The shark is maturing, since young fish are usually calmer than adults
Understanding the cause helps you choose the right fix.
Steps to Calm an Aggressive Rainbow Shark
- Check the tank size. If the tank is under 55 gallons, plan an upgrade.
- Rearrange the decor. Moving caves and rocks resets territory lines and gives every fish a fresh start.
- Add more hiding places and visual barriers so fish can escape the shark’s view.
- Feed in two spots. Drop sinking food where the shark can reach it, and place flakes elsewhere for other fish.
- Test the water. Poor quality or unstable readings add stress.
- Separate the bully or the victim if the chasing continues. Use a secure, covered container, because a stressed shark may try to jump.
When to Rehome
Sometimes the match simply fails. Rehome the fish if you see nonstop chasing, torn fins, or a victim that hides all day and refuses food. Many local fish stores accept returns when you explain the problem, but call ahead. Ask first, then transport the fish carefully.
Feeding Your Rainbow Shark
This fish eats almost anything, which makes feeding easy. Offer variety for health and color.
Good foods include:
- Sinking pellets
- Spirulina flakes
- Algae wafers
- Frozen bloodworms or brine shrimp
- Blanched vegetables such as zucchini and cucumber
Feed small portions once or twice a day. Remove leftovers after a few minutes. Some sharks ignore algae wafers, so watch what yours actually eats.
Do not buy a rainbow shark to clean your tank. It grazes on algae, but it is not a dedicated cleaner. Feed it properly instead.
Health, Stress, and Lifespan
A well cared for rainbow shark can live 5 to 8 years. Keeping that streak going means spotting problems early.
Watch for these stress signs:
- Hiding all day
- Faded color
- Clamped fins
- Loss of appetite
- White spots on the body or fins, which often signal ich
Quarantine every new fish for two to four weeks. Keep the temperature steady, and treat illness with medication according to the label. Most health problems trace back to poor water or constant bullying, so fix those first.
Breeding and Buying Tips
Breeding
Breeding a rainbow shark at home is rare. Adults fight in small tanks, and the details of their breeding habits are poorly documented among hobbyists. Fish farms produce most of the sharks sold in the trade, so wild populations are not pressured by the hobby. Rivers in their native range still face threats from dams and pollution.
Telling Males from Females
Look at the anal fin. Males often show a thin black outline on it. This is a useful clue, but it is hard to spot on young fish.
Buying a Healthy Fish
Choose an active shark with clear eyes, full fins, and strong color. Avoid fish that hover at the surface or show white spots. Ask the store how it houses the fish, and never buy two.
Rainbow Shark vs Red Tail Shark

The red tail shark is a close relative and looks similar at first glance. It has a black body with a bright red tail only. The rainbow shark shows red or orange across its fins.
Both are territorial. Both need space, caves, and careful tankmates. Do not house them together, because they usually clash. If you want one of them, pick one and design the tank around it.
Frequently Asked Questions
Is a rainbow shark a real shark?
No. It is a freshwater ray finned fish from the carp family. The name comes from its shape and attitude.
How big does a rainbow shark get?
Most reach about 6 inches in home tanks. Some sources report larger sizes, so plan for a generous tank.
Can I keep two rainbow sharks together?
Usually not. They fight, and the weaker fish suffers. Keep one unless you have a very large, heavily decorated tank.
What do rainbow sharks eat?
They eat pellets, flakes, algae wafers, frozen foods, and blanched vegetables. A varied diet keeps them healthy.
Why is my rainbow shark chasing other fish?
It is defending territory. A bigger tank, more hiding spots, and better tankmates usually reduce the chasing.
Conclusion
The rainbow shark is a stunning fish with a bold personality. Success comes down to three choices: give it a large tank, pick fast and sturdy tankmates, and provide enough cover to ease territorial stress. Add a tight lid, a varied diet, and stable water, and your fish can thrive for years.
Before you buy, ask yourself if your tank can support a territorial bottom dweller. If the answer is yes, a single rainbow shark can become the star of your aquarium. If not, choose gentler species and enjoy a calmer tank.
