Exploring Earth's Oceans Since 1999 · Founded by Blane Perun
3,072 Articles·80+ Countries·25 Years of Ocean Science·Site Map
◆ Trending
25 years exploring Earth's oceans,
coral reefs, and the creatures within.
3,072Articles
80+Countries
1999Founded

Where Do Flatworms Live? Oceans, Ponds, Soil and Inside Hosts

Where Do Flatworms Live? — Anywhere Damp, Including Inside You

Platyhelminthes Q&A
November 7, 2026
12 min read
The short answer

Flatworms live in almost every wet habitat on Earth. Free-living species are found in oceans (from tide pools and coral reefs to the deep sea and between sand grains), in fresh water (ponds, streams, springs and caves) and on land in damp soil and leaf litter. Parasitic flatworms live inside or on other animals: fish gills, guts, livers, blood vessels and even the brain. What they all need is moisture, because they breathe through their skin and dry out quickly.

Habitat card
Marine
Reefs, rocky shores, sand, deep sea
Fresh water
Ponds, streams, springs, caves
Land
Damp soil, leaf litter, under logs
Inside hosts
Fish, snails, birds, mammals, people
Key need
Moisture
Range
Worldwide wherever it stays damp

Turn over a stone in a cold stream, lift a log in a damp garden or peer under a coral ledge at night, and there is a good chance a flatworm is there. Flatworms (phylum Platyhelminthes) live in the sea, in fresh water, in moist places on land and inside other animals. What ties those habitats together is water: a flatworm has no lungs, gills or blood system, so it must live where its thin skin can stay wet.

Why do flatworms need moist habitats?

Because they breathe, and lose water, through the same thin skin. Flatworms are acoelomates, with no body cavity, and they have no specialised circulatory or respiratory organs. Oxygen and carbon dioxide simply diffuse through the body surface, and nutrients diffuse out from the gut to the surrounding tissues. That arrangement limits their shape: every cell has to be close to the surface or to a branch of the gut, which is why many flatworms are microscopic and the larger ones are flattened into ribbons or leaves.

Breathing through the whole surface of the body also makes flatworms highly vulnerable to drying out. That restricts free-living species to places where dehydration is unlikely: the sea and fresh water, moist land habitats such as leaf litter or the spaces between soil grains, and, for the parasites, the inside of other animals. Salt balance matters too. Marine flatworms and internal parasites live in fluids rich in dissolved material and generally keep their tissues at a similar concentration, while freshwater species must work to stop their bodies becoming too dilute. For the mechanics, see how flatworms breathe.

Persian carpet flatworm (Pseudobiceros bedfordi), a marine flatworm with ruffled edges gliding over a reef
Persian carpet flatworm (Pseudobiceros bedfordi), a marine flatworm with ruffled edges gliding over a reef

Where do marine flatworms live?

Marine habitatFlatworms found there
Coral reefsColourful polyclads (Pseudoceros, Pseudobiceros, Thysanozoon)
Rocky shores and tide poolsSmall polyclads and marine triclads under stones
Sand and mudTiny flatworms living between grains
Oyster and mussel bedsOyster flatworms (Stylochus) and other acotylean polyclads
Open waterSwimming larvae of some polyclads
Deep seaPoorly known species, including some at hydrothermal vents
AquariumsHitchhikers on live rock and corals

The sea is where flatworms are most varied as free-living animals. The best known are the polyclads, broad, leaf-thin flatworms that glide over rock and coral. Polyclads are found from the shoreline down into the sublittoral zone and even at deep hydrothermal vents, and many species are common on coral reefs. The brightly coloured members of the group, the cotyleans, with as many as 16 families, are prominent members of tropical reef communities. Their bright patterns are widely thought to warn predators that they are distasteful.

The other major branch of polyclads, the acotyleans, are mostly drab and live under stones, in crevices and among shellfish. They are major predators of sessile invertebrates, including all commercially farmed bivalves: pearl and rock oysters, mussels, scallops and giant clams. Oyster flatworms in the genus Stylochus slip between the valves of an oyster and eat the soft tissue, which makes them a pest in shellfish farms. On rocky shores, small polyclads and marine triclads hide under boulders and in tide pools by day and hunt by night.

A whole hidden fauna lives between grains of sand and mud. These interstitial flatworms are often less than a millimetre or two long, small enough to slide through the water-filled spaces in sediment, where they hunt microscopic animals. They are rarely seen except by specialists who extract them from sediment samples, and many species are undescribed. Free-living flatworms of this kind range from about 1 mm to 600 mm in length overall, and the smallest are among the most abundant.

Most polyclads lay eggs from which miniature adults hatch, but a few species produce planktonic larvae, such as the Müller’s larva, which drift in open water before settling. That larval stage is the only time many polyclads leave the bottom, and it helps explain how species spread between reefs. Reefs in the Indo-Pacific have the greatest diversity of polyclads, many of them described only in recent decades. Explore them in marine flatworms.

~4,500
Mostly free-living “turbellarian” species
~11,000
Flukes (digeneans)
~3,400
Tapeworm species

Where do freshwater flatworms live?

In fresh water the dominant flatworms are planarians, members of the order Tricladida. Planarians occur in marine, freshwater and land habitats, and the order is divided into three suborders that reflect that split: Maricola in the sea, Cavernicola in caves, and Continenticola, which includes most freshwater species and the land planarians. Only a few polyclads have made the move into fresh water.

Freshwater planarians live under stones, leaves and wood in streams, ponds, lakes and springs, mostly in clean, well-oxygenated water. They avoid light and come out to scavenge or hunt small invertebrates. Because many species are sensitive to pollution and low oxygen, their presence is often taken as a sign of good water quality, and planarians are widely used in toxicology research. Planarians are also famous for regeneration: cut one into pieces and each fragment can regrow a complete animal, thanks to abundant adult stem cells called neoblasts. Some species reproduce routinely by splitting in two. Those abilities have made planarians standard laboratory animals for studies of regeneration, stem cells, ageing and memory, so the flatworm from under a stream stone may also be one of the best-studied animals in biology.

Some freshwater flatworms live in caves and underground waters, where food is scarce and there is no light; cave planarians form a suborder of their own. Freshwater flatworms can be voracious for their size: the tiny freshwater species Microstomum caudatum can open its mouth almost as wide as its body is long and swallow prey about as big as itself.

Where do land flatworms live?

Land planarians live in damp, shaded places such as leaf litter, rotting wood, under stones and in garden soil, and are most diverse in humid tropical and subtropical forests. Terrestrial species are mostly nocturnal and come to the surface after rain, when the risk of drying out is lowest. In dry weather they retreat into soil crevices, under logs or into the root balls of plants. That habit of sheltering in moist soil around roots has made them easy for people to move around the world in the plant trade.

Some of those travellers have become serious invasive species. Hammerhead flatworms (Bipalium), which can reach around 600 mm when stretched, now turn up in gardens and greenhouses in the United States and Europe; see are hammerhead flatworms dangerous? The New Guinea flatworm, Platydemus manokwari, is native to New Guinea but has been accidentally introduced to soil in many countries, including the United States and France. It preys on land snails and other invertebrates, has had a significant impact on the rare native land snails of some Pacific islands, and is listed among the world’s 100 worst invasive species.

Part of that spread was deliberate. Two planarian species were released in the Philippines, Indonesia, Hawaii, New Guinea and Guam to control the invasive giant African snail, Achatina fulica, which was displacing native snails. The flatworms did reduce the giant snails, but they also attacked native snails, and biologists now warn that such planarians should not be used for biological control. In northwest Europe, the New Zealand flatworm, Arthurdendyus triangulatus, raises a different concern: it eats earthworms, which are vital to soil health and farm productivity.

Field note
If you dive at night, scan the tops of rubble and the undersides of overhangs with a narrow beam. Polyclads that hide by day come out to hunt and often glide in the open.

Where do parasitic flatworms live?

Inside or on other animals. Most flatworm species are in fact parasites, belonging to a single group called Neodermata, which includes the flukes, tapeworms and monogeneans. Their “habitat” is defined by their hosts, and many need more than one host to complete their life cycle. See are flatworms parasites?

Monogeneans, of which there are about 1,100 species, are mostly external parasites that cling to particular host species, mainly fish but also some amphibians and aquatic reptiles. They anchor themselves with a large rear attachment organ, the haptor, armed with suckers, clamps and hooks, and they live on gills, skin and fins, grazing on mucus and skin or, in some species, feeding on blood. Because they have only one adult generation and their larvae settle directly onto a new host, they can build up on fish held in tanks and farms.

Digenean flukes, with about 11,000 species, are the largest group of flatworms. Adults live in the gut, lungs, large blood vessels or liver of vertebrates, while juvenile stages usually begin in a snail, on land or in water, and often pass through a second host such as a fish or arthropod. The intestinal fluke Metagonimus, for example, hatches in a snail, moves into a fish and encysts in its flesh, then matures in the intestine of a mammal that eats the fish raw. The liver fluke Opisthorchis viverrini of Southeast Asia can cause bile-duct cancer in people. Schistosomes, the blood flukes, cause schistosomiasis: people are infected when larvae released by freshwater snails penetrate the skin in infested water. The World Health Organization reports transmission in 79 countries and estimates that at least 253.7 million people needed preventive treatment in 2024.

All 3,400 or so species of tapeworm are internal parasites as adults. They have no mouth or gut and absorb nutrients from the host through their skin, which also disguises them chemically from the host’s immune system. Adults live in vertebrate intestines, while larval stages can encyst in other hosts. Diphyllobothrium, a fish tapeworm, uses copepods as its first host and fish as the next; various Taenia species live in the guts of humans, cats and dogs, with livestock such as pigs and cattle as intermediate hosts.

Two marine polyclad flatworms, one gliding on a sponge and one orange-rimmed on reef rubble
Two marine polyclad flatworms, one gliding on a sponge and one orange-rimmed on reef rubble

How does habitat shape a flatworm?

Each habitat has pushed flatworms in a different direction. Free-living species that hunt in the open rely on simple eyes: most have pigment-cup ocelli, usually one pair, though some have two or three pairs, and a few large species carry clusters of eyes over the brain, on tentacles or spaced around the edge of the body. These eyes cannot form detailed images, but they tell the animal where light and shade are, which is exactly what a creature that must avoid drying out and being seen needs to know.

Feeding equipment follows the same logic. Most free-living flatworms have a pharynx that can be turned inside out and pushed onto prey, and some secrete enzymes to soften food before swallowing it. Large species have highly branched guts that carry food close to every part of the flattened body, and some long species even have more than one anus. Reproduction varies with lifestyle as well. Some of the larger aquatic species mate by “penis fencing,” a duel in which each hermaphrodite tries to inseminate the other, and in most species the eggs hatch as miniature adults rather than drifting larvae.

Life inside a host demands the most extreme changes. Adult flukes can survive without oxygen for long periods, because the gut or blood of a host is often oxygen-poor. Parasitic flatworms produce between 10,000 and 100,000 times as many eggs as a free-living flatworm, and the stages living in snails multiply asexually as well, which compensates for the tiny odds that any one egg will find its way to the right sequence of hosts. Tapeworms have abandoned the gut altogether and depend so heavily on the carbohydrates in their host’s food that a shortage can stunt or even kill them. The habitat, in other words, is not just where a flatworm lives; it has rebuilt the animal.

Are flatworms found everywhere in the world?

Very nearly. Free-living flatworms occur on every continent where there is reliable moisture, in every ocean, and from the shore to the deep sea, while parasitic species reach wherever their hosts go, including fish of the open ocean. Their real limits are dryness and, for parasites, the absence of suitable hosts. Many habitats, especially sediments, the deep sea and tropical forest soils, are still poorly surveyed, so a large number of species are likely to remain undescribed.

Which flatworms live in which habitats?

Flatworms have colonised almost every moist habitat on Earth, and the major groups map neatly onto them:

HabitatTypical flatwormsNotes
SeaPolyclads, marine triclads, interstitial speciesFrom the shore to the sublittoral zone and deep hot vents; especially common on coral reefs
Fresh waterPlanarians (triclads)Only a few polyclads live in fresh water; some species in caves
LandLand planarians, such as hammerhead flatworms (Bipalium)Mostly nocturnal, in shaded, humid leaf litter and rotting wood
Inside other animalsFlukes, tapeworms, monogeneansGuts, bile ducts, liver, lungs, blood and gills of hosts

The pattern reflects evolution. The parasitic groups descend from free-living ancestors, which is why the old category “Turbellaria,” once used for all free-living flatworms, is no longer considered a natural group. Free-living flatworms took the moist environments; the parasites took the most reliably moist environment of all, the inside of another animal. In both cases the solution to life without lungs or blood was the same: never let the skin dry out.

Can you find flatworms in an aquarium?

Yes, and often without meaning to. Marine flatworms regularly arrive in reef aquariums as hitchhikers on live rock, corals and macroalgae. Most are harmless, but with no predators some can build up large populations, and polyclads that prey on clams and other bivalves are unwelcome. Freshwater aquariums can also develop populations of planarians, usually when uneaten food provides a steady supply of nourishment. Monogenean flatworms are a separate problem: as fish parasites on gills and skin, they can spread through a tank or a fish farm and are a common reason for quarantining new fish.

Divided flatworm (Pseudoceros dimidiatus), a marine flatworm crawling over a shallow tropical reef rock
Divided flatworm (Pseudoceros dimidiatus), a marine flatworm crawling over a shallow tropical reef rock
Frequently asked questions

Where do flatworms live?

In oceans, fresh water, damp soil and leaf litter, and inside or on other animals.

Do flatworms live in the ocean?

Yes, from tide pools and coral reefs to sand, mud and deep hydrothermal vents.

Do flatworms live on land?

Yes. Land planarians, including hammerhead flatworms, live in damp soil, leaf litter and rotting wood.

Where do planarians live?

Mostly under stones and leaves in clean streams, ponds and springs; some live in the sea, in caves or on land.

Where do parasitic flatworms live?

On or inside hosts: fish gills and skin, and the gut, liver, lungs and blood vessels of vertebrates, with larval stages often in snails.

Why do flatworms live in wet places?

They breathe through their skin and dry out easily.

Are flatworms found on coral reefs?

Yes. Colourful polyclad flatworms are common members of tropical reef communities.

Can flatworms live in aquariums?

Yes, often arriving as hitchhikers on live rock and corals.

Sources & further reading
  1. Wikipedia: Flatworm / Platyhelminthes (habitats, physiology, group sizes, land planarians).
  2. Wikipedia: Polycladida; Planarian; Platydemus manokwari.
  3. World Health Organization, Schistosomiasis fact sheet (2024 data).
  4. Newman, L.J. & Cannon, L.R.G. (2003). Marine Flatworms: The World of Polyclads. CSIRO Publishing.
BP
Last updated November 7, 2026
Written by
Blane Perun

Blane Perun has been exploring Earth’s oceans and marine life for over 25 years. Founder of TheSea.Org in 1999, underwater photographer, coral aquaculture pioneer, and explorer of 80+ countries.

About Blane Perun →
Coral Aquaculture · The Pioneer Story
Blane Perun, A coral aquaculture pioneer

Built one of the first home reef tanks designed as a multi-zone replica of natural reef conditions. Author of long-form profiles cited by Wikipedia, Quality Marine, and SeaScope. Independent — no advertisers, no sponsored placements, no editorial board outside the dive log.

Widely credited as the pioneer of named-coral culture in the reef-keeping hobby. The original — “Perun's Purple People Eater”, a Protopalythoa morph from his coral farm — became the first hobbyist coral to carry an aquaculturist's name in trade, sparking the now-standard practice of naming individual coral strains across the industry.

Founded1999 Articles3,072 Countries80+ Cited inWikipedia · Quality Marine · SeaScope
Read Blane's full bio →
The Dispatch · Monthly

Field notes from eighty countries worth of ocean.

One monthly email. New long-form reporting, species profiles, and dive reports — no filler, no tracking pixels, no sponsored placements. Ever.

Sign up and get my one-click underwater color-correction actions for Photoshop — the set I run on my own dive shots. Free.

Get the action now + monthly field notes
No spam · Unsubscribe anytime
Underwater reef photo before and after Blane Perun's Photoshop color-correction action — washed-out blue-green on the left, full natural color restored on the right
Same shot · one click