Detritus Worms in Shrimp Tanks: Harmless Cleanup Crew or Warning Sign?
Those tiny white wriggling worms in your shrimp tank are almost certainly detritus worms, not planaria. Here's how to tell them apart and what they're telling you.
📅 Published 2026-09-01
You turned on the tank light this morning and the glass is crawling with tiny white threads. They're wriggling through the water column, squirming in the substrate, and generally making you wonder what you've done wrong. Before you dose anything, take a breath. What you're almost certainly looking at is detritus worms, and they will not hurt your shrimp.

Quick Answer
Detritus worms are thin, white or tan, round in cross section, and they wriggle. They're harmless annelids that eat waste, and they live in the substrate of virtually every established aquarium whether you see them or not. A sudden bloom means there's more food and waste in your tank than the system can process, so the fix is feeding less and cleaning more, not medication.
The worm you actually need to worry about is planaria, which is flat, glides rather than wriggles, and has an arrow shaped head. That one hunts shrimplets and molting adults. If you can't tell which you have, the identification section below is the part to read.
What Detritus Worms Actually Are
Detritus worms are segmented annelid worms, usually from the families Naididae or Tubificidae. They're relatives of the earthworm, scaled down to a size you need good light to see properly. Most are between 5 and 20mm long and about as thick as a hair.
They live in the top layer of your substrate, eating decaying plant matter, uneaten food, fish and shrimp waste, and the bacterial film that grows on all of it. In that role they're doing the same job as your shrimp, just smaller and out of sight. They break organic matter down into smaller pieces that your beneficial bacteria can process.
Here's the part that surprises people: they were almost certainly already there. Detritus worms arrive on plants, in substrate, on driftwood, or in the water from a bag of shrimp. An established tank that has never shown a single worm probably still has a population living quietly in the substrate. You're not seeing an infestation appear from nowhere. You're seeing an existing population get big enough, or uncomfortable enough, to become visible.
Detritus Worms vs Planaria: The Identification That Matters
This is the only part of worm identification with real consequences, because one of these is harmless and the other eats baby shrimp. The good news is that once you know what to look for, they're not hard to tell apart.
| Feature | Detritus Worm | Planaria |
|---|---|---|
| Body shape | Round in cross section, like thread | Flat, like a ribbon |
| Head | No distinct head | Distinct triangular or arrow shaped head |
| Eyes | None visible | Two visible eyespots |
| Movement | Wriggles, thrashes, swims in the water column | Glides smoothly along glass and hardscape |
| Where you see them | Substrate, water column, filter | Gliding on glass, hardscape, and plants |
| Segmentation | Visibly segmented | Not segmented |
| Threat to shrimp | None | Real, especially to shrimplets and molting adults |
The single fastest test is movement. Detritus worms thrash. They move like something trying to swim badly, whipping back and forth. Planaria glide, smoothly and deliberately, like a tiny flatworm on a conveyor belt. If it's gliding on the glass without visible thrashing, look closer at the head.
The second test is the head. Get a phone camera close to the glass and zoom in. Planaria have an unmistakable arrowhead or triangular head with two eyespots that look like a cross eyed cartoon. Detritus worms just taper to a point.
If you confirm planaria, our guide on planaria and hydra in shrimp tanks covers treatment in detail, including which treatments are safe around shrimp and which will kill your colony.
Are Detritus Worms Dangerous to Shrimp?
No. Detritus worms have no mouthparts capable of harming a shrimp, no interest in live animals, and no mechanism for attaching to one. They are detritivores in the most literal sense. They eat detritus.
They do not:
- •Attack adult shrimp
- •Eat shrimplets
- •Eat eggs off a berried female
- •Attach to or parasitize shrimp
- •Damage plants
- •Harm snails
A few keepers report shrimp picking at detritus worms and eating them, which is fine and normal. Your shrimp are opportunistic scavengers and a protein rich worm is a reasonable snack.
The one indirect concern worth naming honestly is competition. Detritus worms eat biofilm, and biofilm is the primary food source for shrimplets in their first weeks. A enormous worm population in a tank that's also short on food could theoretically compete with babies. In practice, if you have that many worms, you have far more waste than a healthy tank should, and that waste problem is the thing to fix.
What a Worm Bloom Is Actually Telling You
A visible detritus worm population is a signal, and the signal is useful. Worms multiply in proportion to available food. When you suddenly see hundreds of them, one of a small number of things has changed.
◆You're overfeeding
This is the most common cause by a wide margin. Shrimp need far less food than most people give them. Uneaten food sinks into the substrate, breaks down, and feeds the worm population. If you're feeding daily and the food isn't gone within two or three hours, you're feeding too much.
◆Your substrate has built up waste
Detritus accumulates in substrate over months. If you've never gently vacuumed the open areas of your substrate, there's likely a reservoir of organic matter down there. A shrimp tank shouldn't be deep cleaned aggressively, but light maintenance matters.
◆Something died and you missed it
A dead shrimp, snail, or fish that decomposed out of sight in the hardscape produces a large pulse of organic matter. A worm bloom a few days after an unexplained disappearance is a reasonable clue.
◆Oxygen dropped
Detritus worms leave the substrate and enter the water column when oxygen levels in the substrate fall. If worms that used to stay hidden are suddenly swimming everywhere, low oxygen is a real possibility. Check that your filter is flowing properly and consider adding surface agitation. This is the version of a worm bloom worth acting on quickly, because whatever is stressing the worms is also stressing your shrimp.
How to Reduce a Detritus Worm Population
The honest framing is that you're not eliminating them, you're reducing their food supply until the population shrinks back to invisible. Every one of these steps improves your tank regardless.
Cut back feeding. Feed a portion your shrimp finish in two hours, and take one or two days a week off entirely. An established shrimp tank has enough biofilm to carry a colony through a fast day without any trouble. This alone solves most worm blooms within two weeks.
Vacuum the open substrate lightly. Not a deep gravel churn, which would disturb your biofilter and stress shrimp. Just hover a siphon over the open areas during your regular water change and pull out the visible mulm. Leave the areas under hardscape and plants alone.
Clean your filter media in tank water. Sponge filters and canister media accumulate a startling amount of waste. Squeeze sponges out in a bucket of removed tank water, never under the tap, since chlorine kills your bacterial colony.
Increase surface agitation. More oxygen in the water means worms stay in the substrate where they belong, and it benefits your shrimp at the same time. Shrimp do better in well oxygenated water than most beginners expect.
Be patient. Populations fall over weeks, not days. If you cut feeding and improve maintenance, the visible worms will fade.
What Not to Do
Do not dose planaria treatments. The common planaria treatments are based on either fenbendazole or betel nut extract. Fenbendazole products kill flatworms and snails but do nothing useful about detritus worms, and if you keep snails you'll lose them. Treating for a problem you don't have is how tanks get destroyed.
Do not use copper based medications. This deserves its own warning in any shrimp article. Copper is lethal to invertebrates at concentrations that fish tolerate easily. Many general purpose worm and parasite treatments are copper based. Read every label, and if copper appears anywhere in the ingredients, it does not go in a shrimp tank.
Do not tear the tank down. A worm bloom is a maintenance signal, not a reason to restart. Breaking down a cycled shrimp tank will cause far more harm than the worms ever could.
Do not add fish to eat them. It's tempting, and some fish will happily eat detritus worms. The problem is that almost every fish that eats worms will also eat shrimplets. Our guide on what fish eat shrimp covers which species are genuinely safe, and the honest answer is that adding a predator to solve a maintenance problem trades a harmless issue for a real one.
Testing Your Water While You're At It
A worm bloom is a good prompt to check your parameters, because the conditions that feed worms also stress shrimp. Rising nitrates and organic waste go together. A standard API Freshwater Master Test Kit covers ammonia, nitrite, nitrate, and pH, which is what you need to confirm the tank is otherwise healthy.
If ammonia or nitrite read above zero, that's a much bigger problem than worms and takes priority. Our guide on why shrimp die walks through the usual causes. If everything reads clean and nitrates are just a little high, you've confirmed the diagnosis: too much organic matter, not enough export.
When Detritus Worms Are Actually Useful
Worth saying plainly, because the hobby tends to treat every unfamiliar organism as a pest. Detritus worms are part of a functioning cleanup crew. They process waste that would otherwise sit in your substrate and rot, they aerate the top layer of substrate as they move, and they turn organic matter into something your bacteria can finish off.
Breeders sometimes culture them deliberately as live food. A modest, invisible population in your substrate is a sign of a mature, biologically active tank. The goal isn't zero worms. It's a population small enough that you never notice it.
Frequently Asked Questions
◆Will detritus worms go away on their own?
The visible bloom will, if you fix what caused it. Reduce feeding, improve maintenance, and the population drops back to the invisible baseline within two to four weeks. The worms themselves never fully disappear from an established tank, and they don't need to.
◆Can detritus worms kill baby shrimp?
No. They have no ability to harm a shrimp of any size. If shrimplets are dying in a tank with visible worms, the cause is whatever created the worm bloom, usually poor water quality or a shortage of biofilm, rather than the worms themselves.
◆Why are the worms swimming in the water instead of the substrate?
That's usually an oxygen signal. Detritus worms leave the substrate when oxygen there gets low. Check your filter flow and add surface agitation. Since low substrate oxygen also stresses shrimp, this version is worth acting on promptly.
◆Do I need to treat my tank for detritus worms?
No, and treating is more likely to hurt than help. There is no medication that removes detritus worms without also risking your shrimp or snails. Feeding less and cleaning more is both safer and more effective.
◆Are detritus worms the same as planaria?
No. Detritus worms are round, segmented annelids that wriggle and are harmless. Planaria are flat, unsegmented flatworms with a triangular head and eyespots, they glide instead of wriggling, and they do prey on shrimplets and molting shrimp. The comparison table above covers the differences in detail.
The Bottom Line
Detritus worms are one of the most common false alarms in shrimp keeping. They look alarming, they appear suddenly, and they arrive in numbers. But they're harmless scavengers doing a job you'd otherwise have to do yourself, and their sudden visibility is genuinely useful information about your feeding and maintenance.
Confirm they're not planaria using the movement and head shape tests, cut your feeding back, tidy up the substrate and filter, and let the population settle. That's the whole treatment. For a broader picture of keeping a shrimp tank stable, our complete shrimp tank setup guide covers the maintenance rhythm that keeps blooms like this from starting.
Found this helpful?
Check out our other shrimp care guides