Can Shrimp Live With Rainbow Sharks? The Honest Answer

Can shrimp live with rainbow sharks? The water chemistry fits fine, but a six inch territorial bottom-dweller that eats the same food makes it a poor match.

📅 Published 2026-11-29

You've seen a rainbow shark at the store, that sleek dark fish with the bright red fins, and the tag said it eats algae. You already keep shrimp, you have some algae, and the math looks simple. Before you put the two together, there's a reason most experienced shrimp keepers would talk you out of it.

A rainbow shark is a six inch, territorial bottom fish that lives and feeds in the exact part of the tank your shrimp call home. The water chemistry actually lines up fine, which is why the pairing looks workable on paper. The trouble is everything else: the shark defends the substrate, competes for the same food, and will pick off shrimplets and eggs. Whether it hunts your adult shrimp is the one question the sources genuinely disagree on.

A densely planted freshwater community aquarium with tall stem plants, broad sword leaves, and small fish swimming near the surface
A densely planted freshwater community aquarium with tall stem plants, broad sword leaves, and small fish swimming near the surface
A rainbow shark needs a big, heavily planted tank with broken sightlines like this one. A nano shrimp tank is the opposite of what it wants

Quick Answer

A rainbow shark is a bad fit for a dwarf shrimp colony. The water parameters overlap, but the fish grows to six inches, defends the bottom of the tank where shrimp live, and competes for the same biofilm, algae, and sinking food. Wikipedia notes that it can share a tank with some larger shrimp species, though any fry or eggs are likely to be eaten.

For cherry or other neocaridina shrimp, expect lost shrimplets, a stressed and harassed colony, and a fish that needs a far bigger tank than a shrimp setup ever would. If an algae eater is what you actually want, otocinclus, amano shrimp, and nerite snails do the job without putting your colony at risk.

First, a Rainbow Shark Is Not a Shark

The name sells a lot of these fish, and it's misleading. A rainbow shark, Epalzeorhynchos frenatum, is a freshwater member of the carp and minnow family, Cyprinidae. It's a ray-finned bony fish, so it has nothing to do with true sharks, which are cartilaginous. The name comes from the shape: a tall dorsal fin and a torpedo body that looks shark-like when it cruises. It comes from the Mekong, Chao Phraya, and Maeklong river basins of Thailand, Laos, and Cambodia.

You'll see it sold under several names. Wikipedia lists ruby shark, red-fin shark, rainbow sharkminnow, and whitefin shark among them, and there's a popular albino form too. All of them are the same fish with the same temperament.

It has close relatives that get confused with it, which matters if you're trying to identify what's in the tank. The red-tail shark, Epalzeorhynchos bicolor, has a solid black body and one vivid red tail, and it's a Thailand endemic that's critically endangered in the wild but bred in huge numbers for the aquarium trade. The flying fox, Epalzeorhynchos kalopterus, is a fourth cousin often mislabeled as an algae eater. They share the same build and the same growing-territorial streak, so most of what follows applies to the red-tail shark as well.

Will a Rainbow Shark Eat Your Shrimp?

This is where the honest answer has to split by shrimp size and shrimp age.

For eggs and babies, the answer is a clear yes. Wikipedia states plainly that a rainbow shark can be housed with some larger freshwater shrimp, but any fry or eggs are likely to be eaten. Seriously Fish lists small crustaceans among its natural foods, which is exactly what a newly hatched shrimplet is. The Shrimp Farm, a dwarf shrimp retailer, puts it bluntly for any small fish: even the smallest fish common in the trade will make a quick meal of baby shrimp. A rainbow shark is not small.

For full grown adults, the sources stop agreeing. Wikipedia's framing suggests larger shrimp such as amano can survive alongside one. Guidarium rates amano and bee shrimp as compatible with a rainbow shark on water parameters, while flagging the shark itself as aggressive at 7 out of 10. None of the references I found directly confirmed a rainbow shark hunting down and eating a healthy adult dwarf shrimp, so that specific risk sits unproven rather than disproven. What's not in doubt is that a cherry shrimp is small, soft right after a molt, and spends its time grazing the bottom in plain view of a fish that forages the same ground.

So the fair reading is this. A big amano shrimp in a large tank might be too much mouthful for a rainbow shark to bother with. A cherry shrimp colony, with its endless supply of tiny shrimplets and freshly molted adults, is a slow buffet. If your goal is to raise shrimp, every rainbow shark is a drain on your numbers even in the best case. Our guide to what fish eat shrimp covers how size and mouth gape decide these outcomes.

The Bigger Problem: You Both Want the Bottom

Predation gets the attention, but the quieter issue sinks a lot of these tanks first. A rainbow shark and a shrimp colony want the same real estate and the same meals.

A rainbow shark is a bottom grazer. Wikipedia describes it as a tank-bottom and surface cleaner that eats leftover food and the algae growing on surfaces. Seriously Fish calls it primarily an aufwuchs grazer, feeding on algae, small crustaceans, and insect larvae, and notes it will rise into midwater to browse biofilm. Read that against how dwarf shrimp live: they graze biofilm, soft algae, leaf litter, and whatever sinking food you drop. The two animals are after the identical food on the identical surfaces, and the shark is many times larger and far bolder at a wafer.

Then there's temperament. Seriously Fish says rainbow sharks become increasingly territorial as they grow and show particularly high aggression toward similar-looking fish, and it specifically advises against keeping them with other bottom-dwellers such as most catfish and cichlids. Wikipedia agrees that juveniles are peaceful while adults turn territorial and will chase smaller fish out of their patch. Your shrimp are not fish, but they are a constant presence on the ground the shark has decided to own. In a tank that's too small, the shark has nowhere to patrol but everywhere, and a hungry, crowded colony and a territorial fish share one small floor. The same outgrows-the-tank trap sinks another popular "cleanup" choice, which our guide on whether shrimp can live with plecos walks through.

It Is Not Even a Good Algae Eater

Here's the part that should end the debate for most people. The main reason anyone adds a rainbow shark to a planted tank is the algae-eater label, and that label is weak.

Seriously Fish says the fish does browse on algae, but not with anything like the efficiency of a true algae eater such as a Crossocheilus species, and it concludes there's little worth in buying one for that purpose. A young rainbow shark does pick at surfaces. An older one increasingly wants the easy protein and the dropped pellet, the same drift any maturing cyprinid shows. You'd be taking on a six inch territorial fish and a shrimplet risk to solve an algae problem it only half addresses, when your shrimp and a couple of snails already handle ordinary film and soft algae. See our shrimp tank algae control guide for what actually clears it.

Tank Size and Temperament: Why This Fish Needs Its Own Room

Even setting shrimp aside, a rainbow shark is a demanding fish, and the demands clash with how shrimp tanks get built.

Size and space are the first wall. Both Wikipedia and Seriously Fish put the adult at up to 6 inches, around 15 cm. On tank size the sources split: Wikipedia's profile lists a 50 gallon minimum and recommends 55 gallons for an adult, while Seriously Fish calls a 48 by 18 inch footprint, roughly 64 gallons, the smallest it would consider for a single fish. Either way, that's a big tank. A thriving neocaridina colony fits in 5 gallons. You would be building a 50-plus gallon tank around the fish, not the shrimp.

Aggression is the second wall, and here the labels vary. Hepper and Tankarium call it semi-aggressive. Guidarium rates it 7 out of 10 and calls it highly territorial. Wikipedia lands on semi-aggressive and not recommendable for a new aquarist. The practical advice is consistent even where the ratings differ: keep only one per tank, since two will fight; add it last so it can't claim the whole tank as a juvenile; and expect more aggression in a smaller tank, because the fish has less room to carve out a territory it tolerates sharing. Rainbow sharks also live a long time, over 15 years by Seriously Fish's account, so this is a decade-plus commitment, not a quick cleanup hire.

Water Parameters: Where Shark and Shrimp Overlap

The one thing in the rainbow shark's favor is chemistry. On water, the two animals genuinely do overlap, and the disagreements between sources are small.

ParameterRainbow sharkNeocaridina shrimp
Temperature72 to 79 F65 to 78 F
pH6.5 to 7.56.5 to 7.5
Hardness (GH)5 to 11 dGH6 to 8 dGH
Minimum tank50 to 55 gallons5 gallons

Treat those shark numbers as a middle estimate. Wikipedia gives a warmer band, 75 to 81 F, with pH 6 to 8 and 5 to 11 dH. Seriously Fish gives a cooler and softer range, 68 to 79 F, pH 6.5 to 8, and 2 to 15 dGH. Fishkeeping World lands between them at 72 to 79 F. The shared ground sits comfortably in the mid-70s at a near-neutral pH, which suits neocaridina well. Caridina shrimp such as crystals want cooler, softer, more acidic water, so they're a weaker chemistry match on top of every other problem. For the shrimp side of the equation, see our shrimp water parameters guide.

One shared rule overrides all of it. Both shrimp and rainbow sharks are harmed by copper, which turns up in some fish medications and a few plant fertilizers. If you ever do mix them, treat the whole tank as a shrimp tank and keep copper out entirely.

If You Still Want One, Stack the Odds

Suppose you have the big tank anyway and you're set on the fish. A few moves lower the damage, even if they can't erase it.

Keep the shark with amano shrimp rather than cherries. Amanos are larger, too big for the shark to swallow casually, and they don't breed in freshwater, so there's no steady stream of shrimplets to lose. Our amano shrimp care guide covers them. Build the tank dense: heavy planting, moss, driftwood, and leaf litter break the shark's sightlines and give shrimp cover it can't patrol all at once, which is the same tactic used to calm the fish toward its other tankmates. Feed both zones, so the shark isn't guarding the only food in the tank. A few sinking algae wafers dropped at opposite ends give shrimp somewhere to eat away from the fish. None of this makes a rainbow shark a good shrimp tankmate. It makes a bad pairing survivable in a large, mature, planted tank, and only with the hardiest, largest shrimp.

Better Algae Eaters for a Shrimp Tank

If the real goal was a cleaner tank, there are animals built for the job that won't eat your colony or claim the floor.

Otocinclus catfish stay under two inches, graze soft green algae all day, and ignore shrimp of every size, which is why they're the standard pick for a planted shrimp tank. Our can shrimp live with otocinclus guide has the details. Amano shrimp are the other obvious answer, since they're hungry algae grazers that are themselves shrimp, so there's no predator in the tank at all. Nerite snails round out a cleanup crew without touching plants or shrimp. And if your specific enemy is black beard algae, a true Siamese algae eater is one of the few fish that eats it, though it comes with its own cautions we cover in can shrimp live with Siamese algae eaters. Any of these beats a rainbow shark for a shrimp keeper.

Frequently Asked Questions

◆Will a rainbow shark eat cherry shrimp?

It will certainly eat cherry shrimp eggs and babies, which Wikipedia confirms get picked off. Whether it hunts healthy adult cherries is not firmly documented, but a cherry is small, often soft after molting, and grazes the same bottom the shark patrols. In a breeding tank, expect the colony to shrink over time even if the grown shrimp survive.

◆Can shrimp and a rainbow shark live together at all?

In a large, heavily planted tank, a rainbow shark can coexist with big shrimp such as amano, according to Wikipedia and Guidarium. It's a poor match for a dwarf shrimp colony like cherries, because of predation on babies, competition for food, and the shark's territorial hold on the substrate. The water chemistry is the only part that lines up easily.

◆Are rainbow sharks aggressive?

Sources call them semi-aggressive to highly territorial, and they agree aggression climbs as the fish matures. Guidarium rates it 7 out of 10. Seriously Fish notes especially high aggression toward similar-looking fish and other bottom-dwellers. Keep only one per tank, give it 50 gallons or more, and add it last to a community.

◆Is a rainbow shark a good algae eater for a shrimp tank?

Not really. Seriously Fish says it browses algae far less effectively than a dedicated algae eater and sees little point in buying one for that job. It eats some algae while young and drifts toward leftover food as it ages. Otocinclus, amano shrimp, and nerite snails clean a shrimp tank far better and far more safely.

The Bottom Line

Can shrimp live with rainbow sharks? On water chemistry, yes, and that's the whole of the good news. A rainbow shark is a six inch, long-lived, territorial bottom fish that competes with your shrimp for food, defends the floor they live on, eats their eggs and babies, and needs a 50-plus gallon tank that a shrimp colony never would. It isn't even a strong algae eater, which is the one job people buy it for. If you keep shrimp and want a cleaner tank, reach for otocinclus, amano shrimp, or nerite snails and skip the shark entirely.

Found this helpful?

Check out our other shrimp care guides

Browse All Guides →