White worms in your aquarium: planaria or harmless detritus worms?
White worms in the tank usually come down to two things: harmless detritus worms or planaria. It's not an emergency. Nudge one with tweezers or a pipette and watch what it does — that tells you which one you have.
How to spot it
- Thin white threads on the glass, in the gravel or on the filter
- Worms gliding slowly across the glass like tiny snails
- Two dark eye spots on the head
- They curl up or contract when you touch them
- No eyes at all, and they stay flat when touched
Why it happens
- Possibly leftover food and waste collecting on the substrate — Detritus worms seem to turn up where there is plenty of organic matter, but this is a guess rather than something proven. Planaria numbers do go with too much food.
What to do now
- Nudge a worm and see how it reacts — Planaria contract when touched; detritus worms stay flat.
- Look at the head for two eye spots — Planaria have visible eyes; detritus worms have none.
- Siphon the substrate — It pulls out the worms and the leftover food and waste they gather around.
- Feed less for a while — Less leftover food means less for the worms to live on.
What not to do
- Don't treat the tank before you know which worm it is — The eyeless ones are harmless, so if it's them there's nothing to fix.
- Don't keep feeding heavily and hope they vanish — More food usually means more of what they feed on.
- Don't tear the tank down over a few white worms — Eyeless, flat worms on the bottom are harmless; you can just siphon them out.
How to stop it coming back
- Feed only what the fish eat and remove what's left
- Siphon the substrate when you do water changes
- Check the glass and gravel now and then so you spot worms early
- Cut back on food at the first sign of worms
Stop it happening again
Ondaqua tells you which fish suit your water, how many fit your tank, and reminds you about water changes and tests. Free, no sign-up.
Check my tank →Frequently asked questions
How do I tell planaria from detritus worms?
Touch one. Planaria contract and have visible eye spots; detritus worms have no eyes and stay flat.
Are white worms in the aquarium dangerous?
The eyeless, flat ones are harmless. If they contract and have eyes, they're planaria, so identify them before you do anything else.
Do I need to treat the tank for white worms?
Not for the harmless detritus worms. Siphon the substrate, feed less and keep watching the glass.
Similar problems
- Snails everywhere in your aquarium? Here's what to do
- Planaria in your tank: what those small white worms on the glass mean
- Hydra in the aquarium: what those white polyps are and how to get rid of them
Sources: Aquasabi (wiki), Parasites in your aquarium. Updated 13 November 2026.