Why are there worms in my pool?
Why worms turn up in a concrete or fibreglass pool, spa or skimmer basket in NSW, Queensland, Victoria and across Australia after rain: earthworms, blue planarians and shovel-headed garden flatworms, Gordian or horsehair worms, and the red bloodworms that are really midge larvae, identified by size, shape and movement, with what to do about the filtration, pump and chlorine.
Why are there worms in my pool? Most arrive after rain: earthworms and flat, slimy land planarians (about 6 cm) come out on wet ground and end up in the water. A brown thread 22–30 cm long is a horsehair worm that has left an insect. Red worms up to 1 cm on the floor are midge larvae, not worms.
The short answer
- Earthworms after rain: NSW DPI says earthworms are active only when soil is moist; researchers think they surface in rain to travel, which they cannot do when it is dry.
- Flat, slimy, gliding like a slug: a land flatworm. The blue planarian is about 6 cm (Australian Museum) or 6–10 cm (a NSW Department of Education field centre); it comes out in large numbers after wet weather.
- Thin brown or black thread, 22–30 cm, about 1 mm thick, tying itself in knots: a Gordian (horsehair) worm. The Australian Museum says the young live inside crickets, grasshoppers, mantids, cockroaches and spiders and leave them near water.
- Red or brown, up to 1 cm, on the floor: bloodworms, the larvae of midges (Museums Victoria). They point to algae and debris on the floor, which the pool bug pages deal with.
- The fix for all of them is a net, the skimmer basket and a chlorine test: NSW Health counts organic matter and leaves among the things that raise chlorine demand.
| What you see | Size | What it is | Why it is in the pool | What to do |
|---|---|---|---|---|
| Round, pink to brown, ringed into segments; on the steps or floor after rain or watering | Varies by species | Earthworm (a segmented worm, like leeches) | Wet ground lets earthworms travel on the surface; paving leads them to the water’s edge | Net it out; empty the skimmer basket; test free chlorine |
| Flat, soft, slimy, gliding like a slug; navy blue with a pale stripe, pink or red head end | About 6 cm (Australian Museum); 6–10 cm (NSW field centre) | Blue planarian, a native land flatworm | Comes out to hunt after wet weather; lives in damp leaf litter, logs and plant pots | Net it out and put it in a damp, shady garden bed |
| Flat, yellowish with five dark stripes, a half-moon shaped head | A few millimetres wide | Shovel-headed garden worm, an introduced flatworm | Lives in dark, cool, moist places; spread in potted plants; eats earthworms | Net it out; the Australian Museum says it is not harmful to humans |
| Thin, brown or black thread, knotting itself | 22–30 cm long, about 1 mm thick | Gordian or horsehair worm | The young grow inside an insect or spider, which it leaves near water; the adult lives 2–4 weeks | Net it out; it does not feed as an adult |
| Red or brown, hard head, on the floor or walls | Up to 1 cm | Bloodworm: a midge larva, not a worm | Feeding on debris and algae on the floor | Vacuum, brush, restore chlorine: see the bug pages |
| Wriggling just under the surface | Up to 1 cm | Mosquito larva, not a worm | The water has gone still and untreated | Restore filtration and chlorine today: see the bug pages |
Why are there worms in my pool after rain?
Because rain brings them to the surface. NSW Department of Primary Industries says earthworms are active only when the soil is moist and inactive when it is dry, and that they can lose 20% of their body weight a day in mucus and castings, so they need moisture to stay alive. On dry ground a worm cannot travel above the soil. On wet ground it can.
Why they come up at all is still debated. The old explanation was that rain floods their burrows. Scientific American reports that earthworms can survive several days fully submerged, and that soil researchers now think they surface in rain to migrate, moving further over the surface than they could through soil; vibration from rain mimicking predators is another hypothesis. Either way, a wet night puts worms on the paving, and some of them end up in the pool.
Earthworm or something else? Earthworms are round and divided into many ring-like segments; the Australian Museum groups them with leeches as segmented worms. If what you have is flat, slimy and glides, it is a flatworm (next section). If it is a long thin thread, it is a horsehair worm.
What to do: net them out, empty the skimmer and pump baskets, and test free chlorine. NSW Health counts organic matter and leaves among the contaminants that raise chlorine demand, so a pool full of worms and leaves after a storm can lose its chlorine overnight. The storm clean-up order is on how to clean a pool after a storm, and the chlorine dose on how to raise pool chlorine.
The quotable version: earthworms in a pool are a rain event, not a water problem; net them out and test the chlorine.
What are the flat slimy worms in my pool?
Land flatworms, usually called planarians. The Australian Museum says that once the wet weather starts it gets calls about small, brightly coloured “snakes”, “leeches” and unusual “slugs” that are none of these, and that after wet weather these flatworms can emerge in large numbers. They move on a slime track like a slug and are all predators.
Blue planarian. The most common, a native: deep navy blue with a pale stripe down the back, bright blue underneath and a pink or red-tipped head. The Australian Museum gives about 6 cm; a NSW Department of Education field centre gives 6–10 cm. It lives in damp leaf litter, under logs and rocks, in well-treed gardens and in plant pots, and is most often seen after rain. It eats slaters, millipedes and other small animals.
Shovel-headed garden worm. An introduced flatworm with a half-moon shaped head and a long, flat body a few millimetres wide, light ochre-yellow with five dark stripes. The Australian Museum says it is very common in the bush around Sydney, spreads in potted plants, eats earthworms and is not harmful to humans.
Net them out. The field centre’s advice for blue planarians is to leave them where you find them, so the closest thing for a pool is to put them back in a damp, shady garden bed. Pots and leaf litter against the coping are the habitat both species use; pool landscaping ideas covers what to plant near the water.
The quotable version: a flat, slimy worm gliding like a slug in a pool after rain is a land planarian, a predator from the garden bed, not a pool pest.
What is the long thin worm like a hair in my pool?
A Gordian worm, also called a horsehair worm. The Australian Museum describes them as shaped like long thin cord, brown or black, 22–30 cm long and usually not much more than 1 mm thick, often writhing into knots. They are usually found after rain, in puddles, troughs, and sometimes in toilets and bowls of water.
The pool is the end of a strange life cycle. The young are parasites inside land insects and spiders: the museum names grasshoppers, crickets, mantids, beetles, cockroaches and spiders. When it is grown, the worm breaks out while its host is near water and lives free in the water. Adults do not feed at all, live for only two to four weeks, and die when their stored food runs out.
Net it out and put it in the bin or the garden. The museum says reports of people and dogs passing Gordian worms are most likely explained by swallowing them by accident, for example in drinking water, so do not swim with one in the pool.
The quotable version: a brown thread 22–30 cm long knotting itself in a pool is a horsehair worm that came out of a cricket, grasshopper or spider at the water’s edge.
What are the little red worms in my pool?
Not worms. Museums Victoria describes non-biting midge larvae as cylindrical, red or brown, with a hard head and up to 1 cm long; the red ones carry haemoglobin, which lets them live in low-oxygen water. In a pool they live in the debris and algae on the floor. Tiny wrigglers hanging just under the surface are mosquito larvae, also up to 1 cm.
Both point to the water, not the weather: food on the floor for bloodworms, still and untreated water for mosquito larvae. Identification by size and swimming style is on what the bugs swimming in your pool are, and the fix, including the Queensland mosquito rule, is on how to get rid of pool bugs.
The quotable version: worms up to 1 cm in a pool are insect larvae, and they mean the floor or the filtration needs attention.
How do I stop worms getting into my pool?
No health department or museum publishes a method for keeping worms out of a pool, and we found no evidence-backed product for it. What the sources do say points to three practical things:
- After rain, skim early and empty the baskets. Worms that are netted do not rot in the skimmer and use up chlorine.
- Keep the pump running on its normal schedule. Moving, chlorinated water does not suit bloodworms or mosquito larvae; how long to run a pool pump has the hours.
- Move damp habitat away from the edge. Flatworms live in leaf litter, under logs and in plant pots; garden beds and pots hard against the coping put them metres from the water. A cover also keeps out whatever crosses the paving at night; pool cover costs and payback has the prices.
If you are planning a new pool and the garden is part of the job, ask each builder how the coping, drainage and planting will meet the water, and compare free pool quotes with that written in.
The quotable version: you cannot stop rain bringing worms out, but you can keep damp garden beds off the pool edge and skim before they sink.
Common questions
Why are there worms in my pool after rain?
What is the long hair-like worm in my pool?
Are the flat worms in my pool dangerous?
What are the tiny red worms on my pool floor?
Do worms affect pool chlorine?
Sources
- Australian Museum, Gordian Worms factsheet (updated 30 June 2022): 22–30 cm long, about 1 mm thick; found after rain; young parasitic in land insects and spiders; adults live two to four weeks (read 26 November 2026)
- Australian Museum blog, Planarian Worms (22 February 2011): blue planarian about 6 cm; emerge in large numbers after wet weather; predators (read 26 November 2026)
- Field of Mars Environmental Education Centre (NSW Department of Education), Blue planarian flatworm fact sheet: 6–10 cm; damp leaf litter and plant pots; seen after rain (read 26 November 2026)
- Australian Museum, Shovel-headed Garden Worm factsheet (updated 14 December 2020): five dark stripes, few millimetres wide; eats earthworms; not harmful to humans (read 26 November 2026)
- Australian Museum, Worms: segmented worms include Australian earthworms and leeches (read 26 November 2026)
- NSW DPI (now DPIRD), Earthworms: active only when soil is moist; lose 20% of body weight a day in mucus and castings (web.archive.org capture of 11 November 2026; the live page returned 403 to us)
- Scientific American, Why Do Earthworms Surface After Rain? (14 April 2011): survive several days submerged; surfacing for migration (read 26 November 2026)
- Museums Victoria, Non-biting Midge larva field-guide entry: red or brown, hard head, up to 1 cm (read 26 November 2026 via the collections API)
- NSW Health, Guidelines for Managing Water Quality in Public Swimming Pools and Spa Pools, 2026 edition: chlorine demand rises with organic matter, leaves and dirt (read 26 November 2026)
General information only, current at 2026-11-26. Pool rules differ by state and by council, and penalty amounts are updated regularly. Confirm your own obligations with your council or a registered inspector before acting.
Thinking about a pool?
Compare quotes from builders who work in your postcode. One form, no obligation.
Get my quotes