Planaria in your tank: what those small white worms on the glass mean
Planaria are small flatworms that show up on the glass, often near the surface. A few are harmless for fish, so don't panic. The number of them is the message: it tells you the tank is getting more food and less cleaning than it should.
How to spot it
- Small transparent, white or brown worms, up to 20 mm long
- Often crawling on the glass close to the water surface
- They glide along like snails
- You can see tiny eye spots up close
- Touch one and it pulls itself into a little dot
Why it happens
- Too much food going in — Uneaten food and the waste around it are what the worms live on, so more food means more worms
- A bottom that never gets siphoned — Leftovers and mulm settle in the gravel and keep the food supply going
- Maintenance slipping behind — Big numbers of planaria usually go with poor upkeep and drifting water values, so the water is worth checking
What to do now
- Test the water — Numbers show you what has drifted, so you fix the cause and not just the worms
- Cut back on food — Less food going in means less food for them to live on
- Siphon the substrate more often — Pulls out worms, eggs and the mulm they feed on
- Set traps with protein food or raw meat — They come to the bait, and you lift the trap out the next day
- If you decide to treat: flubendazole or fenbendazole — These work on the worms but not on the eggs, so they have to be repeated after 2-3 weeks. They also kill snails, and too much can deform shrimp, so follow the label or ask your vet
What not to do
- Don't squash them — It doesn't solve anything, they come back
- Don't keep feeding the same amount — With food still going in, the worms come back whatever else you do
- Don't treat by guesswork — These are veterinary medicines on prescription, they kill your snails, and an overdose can deform shrimp
How to stop it coming back
- Feed less, so there is nothing left lying around
- Siphon the bottom regularly
- Check the water now and then
- Deal with a growing number of worms early, before it gets out of hand
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
Are planaria harmful to fish or shrimp?
A few are harmless to fish. Large numbers mean too much food and poor maintenance, which is the real problem. The danger to shrimp is not documented.
How do I get rid of planaria?
Test the water, feed less, siphon the substrate more often and set traps with protein food or raw meat, taken out the next day. Squashing them does not work.
Does medication get rid of them for good?
Flubendazole or fenbendazole hit the worms but not the eggs, so repeat after 2-3 weeks. They are prescription medicines and they kill snails; follow the label or your vet.
Similar problems
- Snails everywhere in your aquarium? Here's what to do
- Hydra in the aquarium: what those white polyps are and how to get rid of them
- White worms in your aquarium: planaria or harmless detritus worms?
Sources: Aquasabi (wiki), Parasites in your aquarium · PFK, Frequently asked questions on aquarium pests. Updated 13 November 2026.