Detritus Worms vs Planaria in Aquariums: Identification and Treatment
Detritus worms are harmless, segmented annelids that wriggle through open water, while predatory planaria are flatworms with triangular heads that glide over glass. Identifying the head shape and locomotion determines whether your tank needs routine gravel cleaning or targeted deworming.
By Sharon Ben-Moshe, Founder, The Aquarium Adviser
Updated / 8 min read

In this guide
Detritus worms vs planaria identification comes down to body shape, head morphology, and movement: detritus worms are slender, segmented roundworms that wriggle in an S-shape through water, while planaria are flat ribbon-like worms with distinct triangular heads and two visible eyespots that glide across surfaces. Detritus worms are harmless scavengers that aerate aquarium gravel and feed on decaying organic waste, whereas planaria are predatory carnivores that attack dwarf shrimp, molting crustaceans, and snail egg clutches.
| Characteristic | Detritus Worms (Oligochaeta) | Planaria (Tricladida / Turbellaria) |
|---|---|---|
| Body shape | Cylindrical, segmented, uniform width | Flat, unsegmented ribbon, expanded head |
| Head morphology | Rounded tip matching body diameter | Spade-shaped or arrow-shaped triangular head |
| Photoreceptors (eyespots) | Absent | Two dark sensory ocelli with clear fields |
| Locomotion | Energetic S-shaped swimming wriggle | Smooth, continuous gliding crawl on surfaces |
| Feeding strategy | Decomposer eating plant matter and waste | Carnivorous predator of shrimp and snails |
| Typical habitat | Deep within gravel and sand pore spaces | Gliding on glass, foliage, and hardscape |
| Corrective intervention | Reduced feeding and gravel vacuuming | Dewormer medication or mechanical traps |
How do you tell detritus worms and planaria apart?
Telling these two common aquarium worms apart requires observing their physical shape and locomotion. While both appear white, off-white, or light pinkish-brown to the naked eye, a basic magnifying glass or smartphone macro camera reveals completely distinct body structures.
Segmented detritus worms (Oligochaeta)
Detritus worms belong to the subclass Oligochaeta on Wikipedia, making them close biological relatives of earthworms and tubifex. They possess long, thin, cylindrical bodies divided into dozens of tiny segments. Their thickness rarely exceeds 0.5-1.0 mm, often resembling delicate strands of white sewing thread drifting through open water.
Locomotion is one of the easiest ways to identify them. When disturbed or swept into the water column, detritus worms swim through rapid, rhythmic muscular contractions that produce an energetic figure-eight or S-shaped thrashing motion. They do not possess eyespots, tentacles, or an expanded head. Both ends of the worm taper slightly, giving the animal a uniform width from tip to tail.
Predatory flatworms (Planaria)
Planaria are non-segmented flatworms belonging to the class Turbellaria on Animal Diversity Web and order Tricladida. Their bodies are dorsoventrally flattened, resembling a narrow ribbon rather than a cylinder. The definitive hallmark of a true planarian is its distinct, triangular or spade-shaped head with pointed lateral lobes called auricles.
Directly behind these auricles sit two dark, cross-eyed photoreceptor spots called ocelli. These eyespots allow the flatworm to detect light intensity and navigate away from illuminated areas.
Locomotion in Planaria on Wikipedia differs completely from the jerky swimming of detritus worms. Planaria cannot swim in open water. Instead, they glide continuously and smoothly over aquarium glass, driftwood, and plant foliage. Thousands of microscopic hair-like cilia on their ventral surface beat against a thin film of secreted mucus, moving the worm forward like a tiny terrestrial slug.
Harmless rhabdocoela and other common aquarium worms
Aquarists also encounter rhabdocoela, which are harmless micro-turbellarian flatworms that share the gliding movement of planaria. Unlike planaria, rhabdocoela have rounded heads without pointed auricles, lack cross-eyes, and feed strictly on algae and bacterial film. Harmless nematode roundworms and fungal filaments linked with white algae and biofilm in aquariums also colonize driftwood and filter outlets, posing zero danger to aquatic livestock.
Why do detritus worms suddenly appear in large numbers?
Under normal conditions in a healthy freshwater ecosystem, detritus worms go unnoticed. They spend their entire lives buried in the spaces between sand grains and gravel pebbles. They fill an active role in the biological decomposition chain: burrowing through the substrate bed, consuming rotting plant matter, breaking down solid fish waste, and opening tiny channels that allow oxygenated water to penetrate the gravel.
When hundreds or thousands of detritus worms suddenly crawl up the glass walls or wriggle through the water column, it indicates an environmental imbalance rather than a parasitic invasion:
- Excess fish food, sinking pellets, or dying plant foliage accumulates deep in the gravel bed, supplying a boundless food source that spurs rapid worm reproduction.
- Severe oxygen depletion occurs as decomposing matter fuels heterotrophic bacteria, suffocating the substrate and forcing worms upward toward oxygenated surface water.
If you notice detritus worms crawling near the surface, check your bioload and feeding routine. High organic waste often happens when evaluating whether your tank is overstocked, where waste production outpaces the biological filtration capacity of the system.
To clear a detritus worm bloom, avoid using chemical medications. Medications kill the worms deep inside the gravel, causing mass decay that spikes toxic ammonia and nitrite. Instead, perform thorough gravel vacuuming across half the tank substrate during your regular water change. Cut daily feeding quantities in half, remove dead plant matter promptly, and increase surface water circulation by installing reliable aquarium air stones. With organic waste reduced and oxygen levels restored, the worm population naturally declines within 7-10 days.
Why are planaria dangerous to freshwater shrimp and snails?
Detritus worms eat decaying plant waste, but planaria are active, carnivorous predators. In community tanks housing fast-swimming micropredators like guppies or tetras, planaria rarely become an issue because fish hunt them. In dedicated dwarf shrimp breeding tanks (Neocaridina and Caridina species) or ornamental snail habitats, planaria multiply unchecked and devastate livestock populations.
Planaria hunt using chemoreceptors on their triangular auricles to detect amino acids and hormones released by other aquatic creatures:
- Attacking molting dwarf shrimp: Newly molted dwarf shrimp have soft carapaces and remain exhausted while their new exoskeletons harden. Planaria locate these vulnerable shrimp, crawl onto their bodies, and secrete a toxic, sticky mucus that paralyzes the crustacean. Once immobilized, the planarian extends a muscular feeding pharynx from its ventral midsection, penetrates the shrimp's soft shell, and releases digestive enzymes to consume internal tissues.
- Predation on shrimplets: Newly hatched shrimplets measure only 1-2 mm in length and lack the escape speed to shake off attacking flatworms. A heavy planaria population can eliminate entire generations of shrimplets before the keeper notices.
- Snail clutches and soft tissue damage: Planaria crawl beneath the protective operculum of mystery, nerite, and rabbit snails, gradually consuming the soft mantle tissue. They also bore into gelatinous egg masses laid by freshwater snails, eating the developing embryos.
Never attempt to eliminate planaria by crushing them against the glass. Planaria possess extraordinary regenerative capabilities powered by undifferentiated stem cells known as neoblasts. Slicing or crushing a single flatworm creates multiple fragments, each of which regenerates into a complete, functioning worm within one to two weeks.
How do you safely eradicate planaria without harming livestock?
Eliminating planaria requires targeted removal methods that address both active worms and their resilient egg cocoons. The three most reliable approaches range from chemical-free trapping to targeted deworming medications.
Manual glass traps for chemical-free removal
Glass or plastic planaria traps offer a completely safe way to reduce worm numbers without altering water chemistry:
- Bait the internal chamber with a small piece of protein, such as raw beef heart, frozen bloodworm cubes, or boiled chicken liver.
- Submerge the trap on the substrate bed just after turning off the aquarium lights, because planaria hunt actively in the dark.
- The trap features tapered, funnel-shaped entry holes that allow flatworms to crawl inside following the scent of meat, while preventing them from finding their way out.
- Remove the trap early the next morning before the bait begins to foul the water. Siphon and dispose of the captured flatworms in hot tap water.
Trapping works well for small populations, but it rarely achieves complete eradication because it does not destroy planaria egg capsules buried in the gravel.
Fenbendazole treatment protocol
Fenbendazole is an anthelmintic medication widely used in veterinary medicine, often sold under the brand name Panacur C. As detailed on Fenbendazole on Wikipedia, it eliminates planaria by binding to beta-tubulin proteins, stopping cellular microtubule formation and halting glucose uptake until the flatworms starve.
Fenbendazole is safe for adult dwarf shrimp, shrimplets, fish, nitrifying bacteria, and live plants. However, it is lethal to ornamental snails, including nerite snails (Neritina), mystery snails (Pomacea), and rabbit snails (Tylomelania). Follow these steps to dose safely:
- Step 1: Remove all ornamental snails and place them in a separate holding tank. Fenbendazole binds to porous stones and substrate, meaning the treated tank may remain uninhabitable for sensitive snails for several months.
- Step 2: Remove activated carbon, chemical filtration resins, and UV sterilizers from your filter, as these pull the medication from the water column.
- Step 3: Measure 0.1 grams of pure fenbendazole powder per 10 gallons (38 liters) of water volume. Mix the dose in a small container of warm purified water and shake vigorously until a uniform suspension forms.
- Step 4: Pour the cloudy liquid evenly across the aquarium surface in areas with high water flow, maintaining strong surface agitation.
- Step 5: Leave the treatment in the water for 48-72 hours as flatworms detach from the glass and die.
- Step 6: Perform a 25-30% water change using a gravel vacuum to remove decaying flatworm bodies, then reinstall fresh activated carbon.
- Step 7: Administer a second half-dose 10-14 days later to eliminate newly hatched flatworms before they mature and lay fresh egg capsules.
Betel nut palm extract
Commercial remedies made from the extract of the betel nut palm (Areca catechu) offer an alternative to veterinary dewormers. The natural alkaloids in betel nut extract paralyze the nervous system of flatworms and hydra. Dose the commercial product strictly according to the package instructions over three consecutive days. Like fenbendazole, betel nut extract kills ornamental snails and requires high aeration to handle the biological decay of dying flatworms.
How to prevent future worm outbreaks in your aquarium
Preventing both detritus worm blooms and planaria introductions comes down to quarantine protocols and disciplined aquarium management:
- Dip all new plants, mosses, and hardscape in an alum or diluted potassium permanganate bath to kill hitchhiking worms and egg cocoons before introducing them to the main display.
- Keep sinking pellets, shrimp sticks, and frozen foods inside a shallow glass feeding dish, then siphon away uneaten remnants after two to three hours.
- Vacuum gravel beds systematically during regular water changes, pairing maintenance with proven methods to lower nitrates in an aquarium to curb organic waste.
- Restrict feeding amounts so fish consume all food within two minutes, preventing excess flakes from sinking into inaccessible gravel crevices.
Frequently asked questions
How do you tell the difference between detritus worms and planaria?
Detritus worms are thin, cylindrical roundworms that lack eyespots and swim through the water with an energetic S-shaped thrashing motion. Planaria are flatworms with a distinct triangular head, two dark cross-eyed spots, and a smooth gliding crawl across the glass and decor. Observing head shape and movement with a magnifying glass confirms the species immediately.
Are detritus worms harmful to fish or dwarf shrimp?
Detritus worms are completely harmless to fish, shrimp, and snails. They live in the gravel bed as beneficial scavengers that break down uneaten food and fish waste while aerating the substrate. Fish frequently hunt and consume them as a natural live food snack.
Why can you not kill planaria by crushing them against the glass?
Crushing or slicing planaria causes them to multiply rather than die. Planaria possess high concentrations of pluripotent stem cells called neoblasts that regenerate complete, functioning bodies from severed fragments within one to two weeks. Always remove flatworms intact with traps or treat the tank with fenbendazole.
Is fenbendazole safe for cherry shrimp and biological filters?
Fenbendazole is completely safe for adult dwarf shrimp, shrimplets, fish, live plants, and nitrifying filter bacteria at the recommended dose of 0.1 grams per 10 gallons. However, it is lethal to ornamental snails such as nerite, mystery, and rabbit snails. All sensitive snails must be relocated to a separate holding tank before dosing.
What causes a sudden population spike of detritus worms on aquarium glass?
A massive emergence of detritus worms on aquarium glass indicates excess organic debris in the gravel or severe oxygen depletion in the substrate bed. Overfeeding and compacted substrate allow decomposing waste to consume oxygen, forcing the worms to climb upward to survive. Vacuuming the substrate and improving surface water agitation quickly resolves the problem.
Related guides

Aquarium Quarantine Tank Setup: Equipment, Protocol, and Care
Setting up an isolated bare-bottom quarantine tank protects your display aquarium from parasites and pathogenic infections. Learn how to assemble the essential equipment and execute a 4-week observation protocol.

How to Clear Aquarium Green Water: Causes, Blackouts, and UV
Aquarium green water occurs when free-floating phytoplankton bloom rapidly in the water column due to excess light and unconsumed nutrients. Eliminate the pea-soup haze using proven methods including four-day complete blackouts, properly sized UV sterilizers, and fast-growing nutrient-export plants.

Aquarium Bacterial Bloom: How to Fix Milky Water Safely
An aquarium bacterial bloom turns tank water milky white when heterotrophic microbes surge on dissolved organics. Learn how to protect fish, avoid water change mistakes, and restore water clarity.

How to Raise Aquarium pH Safely: Crushed Coral, Aragonite, and Buffers
Raise aquarium pH safely by building carbonate hardness (KH) with crushed coral, aragonite sand, or measured bicarbonate dosing instead of harsh chemical spikes.
Photo by JJ Harrison ( https://www.jjharrison.com.au/ ) on Wikimedia Commons (CC BY-SA 4.0)

How to Lower Aquarium pH Naturally Without Chemical Swings
To lower aquarium pH naturally and prevent rapid rebounds, aquarists must first reduce carbonate hardness with reverse osmosis water before introducing botanicals or peat moss. This balanced approach releases humic acids smoothly to create stable, soft-water conditions for sensitive freshwater species.

How to Prepare Aquarium Driftwood: Boiling, Soaking, and Tannins
Preparing aquarium driftwood requires scrubbing off debris, boiling to sterilize the wood, and soaking out excess tannins. Proper preparation prevents floating branches, water discoloration, and fungal outbreaks.
