Detritus worms are tiny, thin, white to tan segmented worms that live in your substrate and eat leftover food and waste. They’re harmless to fish, shrimp, snails, plants and people, and a small number in the gravel is a normal sign of a living tank. You only notice them when there’s a population boom, usually from overfeeding or a dirty substrate, or when low oxygen drives them out onto the glass and into the water. To get rid of them, feed less, vacuum the substrate, clean the filter and keep up water changes. The key mistake is treating them with chemicals before checking they aren’t planaria or parasites, which need different fixes.

This guide covers what detritus worms are, how they breed so fast, whether they can infect humans or harm your fish and shrimp, how to tell them apart from planaria and parasites, and how to get rid of them and keep them from coming back.

Detritus worms at a glance

Detail Detritus worms
What they are Freshwater annelids (segmented worms), mostly small oligochaetes in the family Naididae
Size Usually under 1 in (2.5 cm), often just a few millimeters
Color White, cream, tan or light pink, sometimes with tiny red spots
Body Thin, round and segmented, with no distinct head
Movement Wriggle and twist in an S shape, and can swim in jerky loops
Where they live Substrate, filter media, under decorations and in plant roots
Diet Uneaten food, fish waste, dead plant matter and bacteria
Harmful to fish? No. Many fish eat them as a snack
Harmful to shrimp and snails? No
Harmful to humans? No. They can’t infect people or pets
Reproduction Mostly by splitting in two, so numbers can jump in days
Main cause of a bloom Overfeeding and waste building up in the substrate
How to reduce them Feed less, gravel vacuum, clean filter, regular water changes

What are detritus worms?

“Detritus worm” is a hobby name, not a species. It covers several kinds of small freshwater annelids, the same group of segmented worms as earthworms, that live in the detritus at the bottom of a tank. Most are tiny oligochaetes in the family Naididae, which also includes the tubifex-type sludge worms sold as fish food.

In nature, these worms live in the mud and leaf litter of ponds, streams and lakes, where they are an important part of the cleanup crew. They burrow through soft sediment, swallow decaying matter and the bacteria growing on it, and in turn become food for fish and insects. Your aquarium substrate is simply a small version of that pond bottom.

Nearly every established tank has some detritus worms. You rarely notice them because they stay buried and their numbers stay small. They only become visible when something gives them extra food, or pushes them out of the substrate.

How detritus worms reproduce so fast

The reason a few hidden worms can turn into hundreds on the glass is the way they reproduce. Most naidid worms reproduce asexually by splitting. A worm grows extra segments in the middle of its body, a new head and tail form at that point, and it divides into two complete worms. Under good conditions, this can happen every few days.

They can also reproduce sexually. Each worm is a hermaphrodite, carrying both male and female organs, and the eggs are laid in a small cocoon in the substrate. There is no larval stage. Young worms hatch as tiny versions of the adults.

Put together, this means a population is limited almost entirely by food. Cut the food supply, and the population shrinks just as quickly as it grew. That’s why feeding less works better than any medicine.

Detritus worms vs planaria vs nematodes vs camallanus: which worms do you have?

“Worms in my fish tank” can mean several very different things. Three are harmless, one is a problem for shrimp keepers, and one is a real fish parasite. This table helps you tell them apart in a few seconds.

Feature Detritus worms Planaria Nematodes Camallanus
Body Round and segmented Flat, like a tiny ribbon Very thin, smooth, no segments Thin red or orange threads
Head No obvious head Triangle or arrow-shaped head with two eyespots No head, pointed ends Not visible
Movement Wriggles and twists Glides smoothly, like it’s sliding Whips fast in a C or S shape Dangles and twitches
Where you see them Substrate, glass, water column Glass, around food Glass, substrate, water column Hanging out of a fish’s vent
Harmful? No Yes to shrimp eggs, baby shrimp and sometimes small snails No (free-living types) Yes, a serious fish parasite
What to do Fix feeding and cleaning Reduce food, trap, or treat in shrimp tanks Fix feeding and cleaning Treat the fish with a dewormer

Here’s the honest part most worm guides skip. Detritus worms aren’t the problem, they’re the signal. A bloom tells you there’s more food and waste in the tank than your fish and bacteria can handle. Killing the worms with medicine doesn’t fix that. The waste stays, the next bloom comes back, and some treatments also kill your snails and stress shrimp. Fix the food and the cleaning, and the worms fade on their own.

What detritus worms look like

Most detritus worms are thin, pale threads a few millimeters to about an inch long. Look closely, or use your phone’s camera zoom, and you’ll see a segmented body that bends and twists as it moves. Some species have tiny red or orange spots, and some can swim in loops through the water when disturbed.

You’ll usually see them in three places. In the gravel or sand, poking out and waving. On the front glass, especially near the substrate line. Or swimming in open water, which usually means something is off with oxygen or water quality.

Detritus worms vs bloodworms. If the worms are bright red and wriggling in the substrate, they may be midge larvae, often sold frozen as “bloodworms”. They are insect larvae, not true worms, and are harmless too. They usually arrive with live food or through an open tank lid.

Can detritus worms infect humans?

No. Detritus worms cannot infect humans. They are free-living worms that feed on decaying matter, not parasites. They have no way to enter the body, can’t live at human body temperature, and are not related to the worms that cause infections in people, such as pinworms or roundworms. Touching them, getting tank water on your hands, or even accidentally swallowing a few while starting a siphon won’t give you worms.

What about pets? The same is true for cats, dogs and other pets. A cat that drinks from the aquarium is not going to pick up detritus worms.

The real hygiene point. The worms aren’t the risk, but aquarium water itself can carry bacteria. The best known is Mycobacterium marinum, which can cause a skin infection sometimes called fish tank granuloma, usually through a cut or scratch on the hands. That’s rare, and it has nothing to do with detritus worms. The simple habits that protect you:

  • Wear gloves for tank maintenance if you have cuts or scratches on your hands.
  • Wash your hands and arms with soap after working in the tank.
  • Use a siphon with a pump bulb instead of starting it with your mouth.
  • Keep children from putting tank water or decorations in their mouths.

Are detritus worms harmful?

To fish. No. They don’t bite, burrow into fish or carry disease to them. Many fish, from tetras and guppies to corydoras and loaches, happily eat them.

To shrimp and snails. No. Detritus worms eat the same leftovers shrimp do, but they don’t attack shrimp, eggs or baby shrimp. That’s the big difference from planaria. Shrimp keepers often see a few detritus worms in healthy tanks.

To plants. No. They help break down organic matter in the substrate, which plants benefit from.

To humans. No. Aquarium detritus worms aren’t parasites of people or pets. Normal hygiene, like washing your hands after tank maintenance, is all you need.

Can detritus worms kill fish? Not directly. But the conditions behind a huge bloom, like rotting food, ammonia and low oxygen, can make fish sick. Mass deaths that happen at the same time as a worm bloom almost always come from the water, not the worms.

The only real downside is what a large bloom says about your tank: too much food or waste, and sometimes low oxygen.

Are detritus worms good for your aquarium?

In small numbers, yes. They do useful work in the background:

  • Clean the substrate. They eat leftover food and waste that slips between gravel and sand.
  • Stir the substrate. Their burrowing loosens compacted sand and soil, letting water move through it.
  • Feed plants. Breaking down waste releases nutrients that plant roots can use.
  • Feed fish and fry. They’re a natural live snack, and small fry and bottom feeders hunt them.

Many shrimp and planted tank keepers see a small worm population as a sign of a healthy, living substrate rather than a pest.

Why you suddenly have so many detritus worms

Overfeeding. The number one cause. Every flake or pellet that hits the bottom uneaten feeds the worms, and their numbers grow quickly.

A dirty substrate. Gravel that’s rarely vacuumed traps food and waste, which is a buffet for them.

A clogged filter. Filter media full of sludge holds huge populations, and flow drops so waste settles.

Too many fish. More fish means more food and waste. Our aquarium stocking calculator shows whether your tank is overloaded.

Low oxygen. When oxygen drops in the substrate, worms leave it and appear on the glass or swim in the water. This is why a sudden swarm is worth taking seriously.

A new tank settling in. Worms often arrive on plants, gravel or in the bag water and boom while the tank is still finding its balance. Our how to cycle a fish tank guide explains that early stage.

How do detritus worms get in an aquarium?

Almost always as hitchhikers. The most common routes are:

  • Live plants, especially in pots or rock wool, which hold mud and worm eggs.
  • Bag water from the fish store that gets poured into your tank with new fish or shrimp.
  • Used substrate, filter media or decorations from another tank, often added on purpose to seed bacteria.
  • Live foods like blackworms, tubifex or daphnia cultures.

Because they are so tiny and stay buried, they can live in a tank for months before you see one. A sudden “infestation” usually means they were already there and something boosted their numbers.

How to get rid of detritus worms

  1. Test your water. Check ammonia, nitrite and nitrate. A worm bloom often goes hand in hand with rising waste, and fixing that matters more than the worms.
  2. Feed less. Give only what your fish finish in about 1 to 2 minutes, once or twice a day. Skip a day each week if you’ve been overfeeding.
  3. Vacuum the substrate. Gravel vacuum during a 25 to 30 percent water change, working through a section of the tank each week. In sand, hover the siphon just above the surface.
  4. Clean the filter. Rinse sponges and media in old tank water, never tap water, so you keep your beneficial bacteria.
  5. Improve oxygen. Add surface movement with the filter outlet or an air stone, especially if worms are swimming in the water.
  6. Let your fish help. Corydoras, loaches, small tetras, guppies, bettas and gouramis all eat detritus worms.
  7. Be patient. Once the food supply drops, most blooms fade within 2 to 3 weeks.

What about medication?

You can buy dewormers like fenbendazole that kill detritus worms, but they’re rarely worth it for this. They kill snails too, they can stress shrimp, and without fixing the cause the worms return. A mass die-off of worms in the substrate can also cause an ammonia spike. Never use copper-based treatments to kill worms in a tank with shrimp or snails, since copper kills invertebrates. Save medicine for real problems like planaria in a shrimp tank or Camallanus in fish.

Fish that eat detritus worms

Fish How they help
Corydoras, including panda corys Sift sand and gravel and eat worms in the substrate
Kuhli loaches and other small loaches Dig through the substrate after worms
Bettas and gouramis Pick off worms that swim in the water
Guppies, platies and mollies Snack on worms near the glass and surface
Small tetras and rasboras Eat worms in the water column

Fish are a helper, not a cure. If the extra food is still there, the worms will out-breed what your fish can eat.

How to keep detritus worms from coming back

  • Feed small amounts your fish finish in 1 to 2 minutes, and use a feeding dish in shrimp tanks.
  • Vacuum part of the substrate every week during water changes. Our water change calculator helps you plan the amount.
  • Choose the right substrate. Coarse gravel larger than about 5 mm traps food in the gaps where fish can’t reach it. Fine gravel or sand keeps leftovers on the surface.
  • Remove dead leaves and plant debris before they rot.
  • Rinse new plants, remove rock wool and quarantine new fish where possible.
  • Keep water moving with good filter flow and surface agitation.
  • Don’t overstock, since more fish means more food and more waste.

Detritus worms in shrimp tanks, betta tanks and turtle tanks

Shrimp tanks. Very common, because shrimp keepers often feed small amounts often and have lots of moss and leaves. They don’t harm shrimp. Feed a bit less, use a feeding dish, and remove leftovers after a couple of hours. If you see a worm with a triangular head gliding on the glass, that’s planaria, not a detritus worm. Our Amano shrimp guide covers shrimp tank care.

Betta tanks. Small betta tanks are easy to overfeed. The good news is that bettas love eating these worms.

Sand vs gravel tanks. In sand, worms are easier to see because they move on the surface, but they’re also easier to remove by hovering a siphon over the top. In deep gravel, they can breed unseen for months until a big bloom appears, which is why regular gravel vacuuming matters more.

Turtle tanks. Turtles are messy eaters, so blooms are common. Remove uneaten food quickly and clean the filter more often.

Other tiny critters you might be seeing

If what you’re seeing doesn’t look like a worm, it may be something else entirely. Small, fast, shrimp-like animals crawling on the gravel are often scuds, and our scuds in aquariums guide explains them. Clear jelly blobs with dots on the glass are usually snail eggs, covered in our aquarium snail eggs guide. White fuzz on new wood is harmless biofilm, explained in our white fuzz guide.

Common detritus worm problems

Worms swimming all over the tank. Usually low oxygen or a big waste problem. Test the water, do a 30 to 50 percent water change, and add surface agitation.

They came back after cleaning. Feeding hasn’t changed. Cut food and keep vacuuming weekly.

Hundreds after adding new plants. They hitched a ride. With normal feeding they’ll settle to small numbers.

Worms in the filter. The media is dirty. Rinse it in tank water and check the flow.

A red worm hanging from a fish. That’s Camallanus, not a detritus worm. Isolate the fish if you can and treat with a fish dewormer.

Flat worms with a triangle head. Planaria. Reduce feeding first, and in shrimp tanks consider a planaria trap or a shrimp-safe treatment.

FAQ

Are detritus worms harmful to fish?

No. Detritus worms don’t harm fish, and many fish eat them. A big bloom is a sign of overfeeding or dirty substrate, not a threat in itself.

Are detritus worms harmful to humans?

No. They can’t infect people or pets. Wash your hands after tank maintenance as usual.

Are detritus worms harmful to shrimp?

No. They eat leftovers and don’t attack shrimp, eggs or babies. Planaria are the worms to worry about in shrimp tanks.

How do detritus worms get in an aquarium?

Usually on live plants, in substrate or decorations from another tank, or in the water that comes with new fish. Nearly every established tank has some.

What do detritus worms look like?

Thin white, cream or tan worms, usually under an inch long, with a segmented body that wriggles in an S shape. They have no obvious head.

How do I get rid of detritus worms naturally?

Feed less, vacuum the substrate during weekly water changes, clean the filter in tank water and add surface movement. Most blooms fade within 2 to 3 weeks.

Why are detritus worms on the glass?

Usually because their numbers are high or oxygen in the substrate is low. Do a water change, vacuum the gravel and add aeration.

Can detritus worms infect humans?

No. They are free-living, not parasites, and can’t survive in or infect people. Just wash your hands after tank maintenance, as with any aquarium.

Can detritus worms kill fish?

No. They don’t attack fish. If fish die during a worm bloom, the cause is usually poor water quality from overfeeding.

Do detritus worms eat plants?

No. They eat decaying matter and bacteria, not healthy plants. They may feed on dead or melting leaves.

Do detritus worms go away on their own?

Their numbers fall on their own once you feed less and keep the substrate clean, usually within 2 to 3 weeks. A small hidden population will always stay, which is normal.

Are detritus worms good for an aquarium?

In small numbers, yes. They clean leftovers from the substrate, stir it as they burrow and are a natural snack for fish.

Final thoughts on detritus worms

Detritus worms are harmless to your fish, shrimp, plants and you. They can’t infect humans, and a few in the substrate are part of a healthy tank. When you see lots of them, treat it as a message about feeding and cleaning, not as a disease. Feed less, vacuum the substrate, clean the filter in tank water, keep the water moving, and the bloom will fade on its own without any medicine.


Anum Saeed

Anum Saeed is the fishkeeper behind Aqua Planet and the AQUA PLANET 128 YouTube channel. She keeps planted tanks, freshwater fish, shrimp and snails, and writes practical, fact-checked guides to help hobbyists fix tank problems and keep healthy aquariums.

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *