Can Shrimp Live With Gobies? It Depends on the Goby
Can shrimp live with gobies? Algae-grazing neon gobies are shrimp-safe, peacock gudgeons pick off shrimplets, and bumblebee gobies hunt small shrimp outright.
📅 Published 2026-11-26
Search "shrimp goby" and you fall straight into a trap. The famous shrimp goby is a saltwater animal that has nothing to do with the freshwater shrimp in your tank, and plenty of keepers end up reading about the wrong fish entirely. If you want to know whether a cherry colony can share a planted tank with a goby, you need to sort out which question you are actually asking first.
The short version is that goby is a label for thousands of species, and the three you will actually meet in a freshwater shop behave completely differently around shrimp. One grazes algae and ignores your colony. One eats the babies but leaves the adults. One hunts small shrimp on purpose and wants salt in its water besides. So can shrimp live with gobies? It depends entirely on the goby, and this guide walks through the three you are likely to see.

Quick Answer
It depends on the species. A neon or stream goby from the genus Stiphodon is an algae grazer with a gut built for vegetable matter, so it is the safest goby you can keep with shrimp and even gets listed as a companion for Caridina and Neocaridina. A peacock gudgeon, often sold as a peacock goby, is a peaceful community fish, but it prefers small live and frozen foods, so adult shrimp are usually safe while shrimplets get eaten. A bumblebee goby is a tiny dedicated hunter that will pick off small shrimp, and most of them want brackish water that shrimp do not, so it is the worst match of the three.
No goby is a safe bet with shrimplets except the algae-grazing Stiphodon, and even then a heavily planted tank gives the babies their best odds. Pick the grazer if you want both to thrive together, treat the peacock gudgeon as a display fish over an adult colony, and keep bumblebee gobies in their own brackish tank.
"Shrimp Goby" Means Two Different Things
Before anything else, clear up the name, because the search results blur two unrelated setups.
The classic shrimp goby is a marine partnership. A pistol shrimp, also called a snapping shrimp, digs and maintains a sand burrow, and a goby shares it as a lookout. The shrimp has poor eyesight, so it keeps its antennae touching the goby while it works at the burrow mouth, and a flick of the goby's tail sends both of them diving for cover. They sleep in the same burrow at night. It is one of the best known mutual relationships on a reef, and estimates run to well over a hundred goby species pairing with around twenty pistol shrimp.
None of that happens in a freshwater tank. Those are saltwater animals, the pistol shrimp is not a dwarf shrimp you would keep in a planted tank, and the goby in that pairing is a marine species. When a freshwater keeper asks whether shrimp can live with a goby, they mean something different: can a colony of cherries or amanos share a tank with one of the freshwater gobies sold in the shop. That is the question the rest of this guide answers, so if you came here looking for the burrow-sharing reef pair, that story lives in the saltwater hobby.
Goby Is a Huge Family, Not One Fish
Gobies make up one of the largest groups of fish on the planet, with thousands of species across fresh, brackish, and salt water. The handful that reach a freshwater aquarium shop share almost nothing except the bottom-hugging body shape and the fused pelvic fins that many of them use to cling to surfaces.
What they do not share is diet, and diet is the whole game when shrimp are in the tank. Some gobies are grazers that scrape algae and biofilm off rocks. Others are micropredators built to pick small invertebrates out of the substrate, which is exactly what a shrimplet is. A grazer barely registers your colony. A micropredator treats it as a buffet. This is why one keeper swears gobies and shrimp live together fine while the next one watched the colony vanish: they were keeping different fish under the same word. Sort the species and the contradiction disappears.
The Neon Goby: The Shrimp-Safe Grazer
If you want a goby that genuinely coexists with a shrimp colony, you want a Stiphodon, sold under names like neon goby, blue neon goby, or stream goby.
Seriously Fish describes these as specialised algal grazers that feed on benthic algae and the micro-organisms living in it, with an elongate gut built to process vegetable matter. In other words, the fish is designed to eat the green film on your rocks, not the animals walking over them. The same page lists Caridina and Neocaridina shrimp among the companions these gobies are kept with, and notes that in the wild they share streams with Macrobrachium shrimp and nerite snails. A grazer that evolved alongside shrimp is about as safe a fish as you will find.
The catch is that a Stiphodon is a demanding fish for different reasons. These are stream and hillstream animals, so they want cooler, well-oxygenated water with real flow and a mature tank full of algae-covered rock to graze. Seriously Fish puts them at 72 to 79 F, pH 6.5 to 7.5, and 2 to 12 dGH, and warns that you need extra surface agitation to hold oxygen at the warm end of that range. A still, warm, spotless shrimp tank can slowly starve one. Almost every Stiphodon in the trade is wild-caught, since the fish has not been bred reliably in captivity, so quarantine and careful acclimation matter. If a high-flow planted tank appeals, our guide to keeping shrimp with hillstream loaches covers the same cool, oxygen-rich setup these gobies want.
One honest note on the numbers. Sources disagree on the exact Stiphodon in front of you because "neon goby" gets slapped on several species. Seriously Fish gives the blue neon goby a size near two inches and a pH of 6.5 to 7.5, while other references list different species at a more alkaline 7.4 to 8.4 and a slightly larger size. Confirm the actual species before you build water around it.
The Peacock Gudgeon: Safe for Adults, Not for Babies
The peacock gudgeon, Tateurndina ocellicauda, often sells as a peacock goby, and it sits in the middle. It is a stunning little fish, peaceful enough for a community, and one of the most popular nano centerpieces going. It is also a different kind of eater than a Stiphodon.
Seriously Fish puts the peacock gudgeon at three inches, 72 to 79 F, pH 6.5 to 7.5, and 5 to 10 dGH, and describes its diet plainly: it will usually accept dried food but much prefers small live and frozen foods like bloodworm, daphnia, and brine shrimp, and it colors up and spawns far better on that diet. A fish that hunts daphnia and brine shrimp is a fish that will take a drifting shrimplet.
The care consensus matches that. Guides agree that a full-grown gudgeon sees baby shrimp as food, while an adult cherry or amano is usually too big to be swallowed and comes through fine. One keeper reported running a gudgeon with both adult and baby cherries without losing many, which is encouraging but anecdotal rather than a controlled result. Read it the way you would any mid-sized nano fish over a colony: the adults are safe, the shrimplets are not, and how many babies survive comes down to how much cover the tank gives them. A peacock gudgeon over an established, heavily planted adult colony makes a fine display. A peacock gudgeon in a bare tank you were counting on to breed does not. For a dedicated nursery, our how to raise shrimplets guide walks through a separate grow-out tank with no fish in it.
The Bumblebee Goby: A Hunter With a Salt Problem
The bumblebee goby, from the genus Brachygobius, is the one to be careful with, and it fails a shrimp colony on two separate counts.
The first is predation. A bumblebee goby is tiny, often just an inch and a half, but it is a dedicated carnivore that wants live and frozen foods and hunts small invertebrates off the bottom. Care sources are blunt that it will eat cherry shrimp, especially juveniles and shrimplets, and only the largest adults stand a chance of being too big to swallow. One guide takes the optimistic line that adult cherries are large and easygoing enough to be fine, but that view sits against several warnings that the fish is a known shrimp eater, and it is the minority position. Treat a bumblebee goby as a threat to anything smaller than a full-grown shrimp.
The second problem is water. Most bumblebee gobies in the trade, led by Brachygobius doriae, are brackish fish that do best with some salt in the water, often around a specific gravity that no freshwater shrimp wants. There is a genuinely freshwater species, Brachygobius xanthomelas, that needs only stable, slightly alkaline water, but it is still a shrimp hunter, and telling the species apart at the shop is hard. Soft-water Caridina like crystal reds are the worst possible match, since they want the exact opposite of what the goby wants. A pairing that clashes on both diet and salinity is not a pairing. Keep bumblebee gobies in their own setup.
A Quick Comparison
This table lines up the three common freshwater gobies against a shrimp colony.
| Goby | Adult size | Diet | Threat to adult shrimp | Threat to shrimplets | Verdict |
|---|---|---|---|---|---|
| Neon / stream (Stiphodon) | About 2 in | Algae and biofilm grazer | None | Very low | Best choice, safe with shrimp |
| Peacock gudgeon (Tateurndina) | About 3 in | Small live and frozen foods | Low | Real, eats babies | Display over an adult colony |
| Bumblebee (Brachygobius) | About 1.5 in | Carnivore, hunts small inverts | Low to moderate | High | Avoid, plus wants brackish water |
The pattern is about how the fish feeds, not how big it is. The smallest goby on the list, the bumblebee, is the most dangerous, because it is a hunter. The grazer is the safe one no matter its size. When you shop for a goby, ask what it eats in the wild before you ask how big it gets.
Why the Sources Disagree
Look up gobies with shrimp and you get a mess of contradictory advice. Most of it comes from people describing different fish or different tanks.
The peacock gudgeon splits opinion because the outcome depends on the setup. A gudgeon over a mature, jungle-planted colony leaves the adults alone and misses most of the hidden babies, so that keeper calls it shrimp-safe. A gudgeon in a sparse tank clears the shrimplets, so the next keeper calls it a predator. Both are telling the truth about their own tank. The bumblebee goby splits opinion for a simpler reason: one source is optimistic about adult cherries while the rest warn it eats small shrimp, and the optimistic source never reconciles the brackish-versus-freshwater conflict that makes the pairing questionable before predation even enters into it. When guides disagree this sharply, read it as a range of outcomes that you control with cover, colony size, and species choice, rather than a flat yes or no.
Water: Where Gobies and Shrimp Line Up, and Where They Clash
Water chemistry decides a lot of this before behavior ever comes up.
The neon goby and the peacock gudgeon both want roughly neutral water in the low to mid 70s F, with the gudgeon at pH 6.5 to 7.5 and 5 to 10 dGH and the Stiphodon at pH 6.5 to 7.5 and 2 to 12 dGH. Neocaridina, the cherry family, sit comfortably in that window at pH 6.5 to 8.0 and 4 to 8 dGH, so a plain cherry colony overlaps both fish well. Our shrimp water parameters guide has the full ranges if you want to match them precisely.
The bumblebee goby is where it falls apart. A brackish bumblebee wants salt and often harder, more alkaline water than a shrimp tank runs, and adding salt for the fish stresses the shrimp. High-grade Caridina make the mismatch worse, since they want soft, acidic water that no brackish goby shares. There is no middle setting that suits a salt-loving fish and a soft-water shrimp at once, which is the real reason to keep them apart.
How to Set Up a Tank Where Both Work
A few choices separate a thriving pairing from a shrinking colony.
Pick the right goby. This is the biggest lever you have, bigger than anything you do to the tank. A Stiphodon over a cherry colony is a genuinely compatible tank. A peacock gudgeon over an adult colony is a fair display. A bumblebee goby over any shrimp is a fight you set up on purpose. Choose the fish for the result you want.
Plant it like a thicket. Moss is the single best thing you can add, because it is a nursery no goby can follow a baby into. A dense bed of live java moss over driftwood gives shrimplets somewhere to spend their vulnerable first weeks, and a Stiphodon grazes the algae that grows on it besides.
Grow some algae on purpose. A Stiphodon needs it, so resist the urge to scrub every surface spotless. A mature tank with algae-covered rock and driftwood feeds the grazer and grows the biofilm a shrimp colony lives on. If algae gets ahead of you, our shrimp tank algae control guide covers the balance.
Feed the hunters properly. A fed peacock gudgeon hunts less than a hungry one. Offer it some frozen daphnia or bloodworm a few times a week to keep it in condition and take the edge off its interest in your babies, and let a little sink for the shrimp to scavenge.
Start with an established colony. Let the shrimp breed in a planted tank for a couple of months before the fish goes in. A big head start absorbs the losses and still comes out ahead. Our best tank mates for cherry shrimp guide ranks safer and riskier fish if you want to stock more than one species.
One health warning holds for any goby. If a fish shows ich or another parasite, do not reach for copper-based medicine while shrimp are in the tank. Copper kills invertebrates at doses fish shrug off. Treat the fish in a separate hospital tank, or use a shrimp-safe product.
Signs the Pairing Isn't Working
Most of the time a well-chosen goby works the bottom while the colony ticks along. Watch for these before you assume all is well.
- •Adult shrimp are vanishing, not just babies. With a neon goby or a peacock gudgeon, a grown shrimp is too big to eat, so disappearing adults point to water quality or a parameter swing rather than the fish. Test the water first. With a bumblebee goby, suspect the fish.
- •You never see a juvenile despite berried females. A micropredator goby is clearing the shrimplets faster than they can hide. Add moss and leaf litter and feed the fish more before you give up on breeding in that tank.
- •The goby looks thin or listless. A starving Stiphodon in a spotless tank is a common failure, because there is no algae left to graze. Grow more biofilm or add a dedicated grazing surface.
If adults are dropping from a tank with a grazer or a gudgeon, a readable ammonia or nitrite level does the damage far more often than the fish does. Amano shrimp are a safe hedge with either of the two friendlier gobies, since at two inches they are beyond those mouths and they do not breed in freshwater, so there are no babies to lose. Our amano shrimp care guide covers them.
Frequently Asked Questions
◆Will a goby eat my cherry shrimp?
It depends on the goby. An algae-grazing neon goby (Stiphodon) leaves shrimp alone and is listed as a companion for cherry shrimp. A peacock gudgeon eats shrimplets but usually leaves adults alone. A bumblebee goby is a hunter that will take small shrimp and juveniles, so it is a poor match for any shrimp colony.
◆Are peacock gudgeons shrimp-safe?
Adult shrimp are usually safe with a peacock gudgeon, which tops out around three inches with a modest mouth. Shrimplets are not, because the fish prefers small live and frozen foods and will pick off babies in the open. Keep a peacock gudgeon over an established, heavily planted adult colony rather than a breeding tank.
◆Is a shrimp goby a freshwater fish?
No. The classic shrimp goby is a marine fish that shares a sand burrow with a pistol shrimp on a reef, and neither animal is a freshwater pet. Freshwater keepers asking about gobies and shrimp mean a different question: keeping freshwater dwarf shrimp with one of the gobies sold for freshwater tanks.
◆What is the safest goby for a shrimp tank?
A neon or stream goby in the genus Stiphodon. These are specialised algae grazers with a gut built for vegetable matter, so they scrape biofilm off rocks instead of hunting shrimp. They need cool, oxygen-rich, high-flow water and a mature tank with plenty of algae to graze, which is their main downside.
The Bottom Line
Whether shrimp can live with gobies comes down to which goby you buy, and the deciding factor is what the fish eats rather than how big it is. A neon or stream goby grazes algae and genuinely belongs in a shrimp tank, as long as you can give it the cool, high-flow, algae-rich water it needs. A peacock gudgeon makes a fine centerpiece over an adult colony but will thin the shrimplets, so plan for a steady population rather than a growing one. A bumblebee goby hunts small shrimp and wants brackish water besides, so keep it in its own tank. Sort out the species first, plant the tank like a jungle, and the question answers itself. For the wider stocking picture, our best tank mates for cherry shrimp guide ranks the safe choices against the risky ones.
Found this helpful?
Check out our other shrimp care guides