Also known asEuropean pill millipedecommon pill millipedeArmadillo bugrolling millipede
Name TagsWhat they’re called
♂MaleMale
♀FemaleFemale
YoungJuvenile
GroupSolitary
Overview
The pill millipede (Glomeris marginata) is a small, robust terrestrial arthropod renowned for its remarkable ability to roll into a near-perfect sphere when threatened, a defensive behavior known as conglobation that leads to frequent confusion with woodlice or roly-polies. Adult specimens typically measure between 8 to 20 millimeters in length and feature a distinctly shortened, convex body comprising only 11 to 12 body segments, unlike the elongated, many-segmented bodies of julid millipedes. The dorsal surface is heavily calcified, providing robust armored protection, and is typically glossy black, dark brown, or greyish, frequently adorned with contrasting yellow, orange, or reddish margins along the posterior edges of the tergites, giving the species its specific epithet 'marginata'.
Geographically, Glomeris marginata is widely distributed across Western, Central, and Northern Europe, with established populations stretching from the British Isles and France eastwards into Central Europe and parts of Scandinavia. They are primarily woodland-dwelling organisms, exhibiting a strong ecological preference for deciduous and mixed forests where the soil is rich in leaf litter and calcium. They thrive in damp, calcareous environments under fallen logs, beneath thick layers of decaying foliage, and within moss-covered limestone crevices. Their distribution is closely tied to soil pH and calcium availability, as these elements are crucial for the development and maintenance of their calcified exoskeletons.
As detritivores, pill millipedes play a vital, foundational role in forest floor nutrient cycling and soil conditioning. Their diet consists predominantly of decaying hardwood leaf litter, particularly beech, oak, and ash, alongside rotting wood, fungi, and detritus-rich soil. By consuming this decaying organic material, they accelerate decomposition, fragmenting organic matter and enriching the soil with microbial flora through their fecal pellets. They are largely nocturnal or crepuscular, spending daylight hours hidden beneath leaf litter or buried shallowly in the topsoil to prevent desiccation, as their respiration relies on internal tracheal systems that require high ambient humidity.
Reproduction in Glomeris marginata occurs primarily during the spring and autumn months. Unlike many other arthropods, male pill millipedes produce spermatophores that are transferred to the female via specialized gonopods or through direct substrate deposition, followed by internal fertilization. Females construct small, spherical nests from soil and organic secretions, depositing a clutch of eggs which they carefully guard. The juvenile millipedes hatch with fewer segments and legs than adults, undergoing a series of molts through successive instar stages over a multi-year lifespan before reaching sexual maturity.
Despite their small stature, pill millipedes possess a sophisticated array of chemical and physical defenses. When disturbed by predators such as shrews, toads, or ground beetles, they roll into a tight ball, tucking their antennae and legs safely inside an armored capsule. Simultaneously, they can secrete noxious, foul-tasting quinoline-based defensive chemicals from specialized repugnatory glands situated along their sides, rendering them unpalatable to most insectivores. This dual strategy of physical armoring and chemical deterrence ensures high survival rates across diverse European woodland ecosystems.
Decaying beech leaves, oak leaves, rotting wood, fungi, organic soil detritus Its favourite food is Decomposing beech leaf litter rich in fungal hyphae.
Where does the Pill Millipede live?
Inhabits deciduous and mixed woodland floor litter, damp soils, decaying logs, and limestone scree slopes, requiring high humidity and calcium-rich substrates. Found across the United Kingdom, France, Germany, Spain, Italy, Scandinavia, and Central Europe, this detritivorous arthropod relies heavily on deep layers of…
How big is the Pill Millipede?
Adult body length ranges from 8 mm to 20 mm.
How long does the Pill Millipede live?
Typically lives for 3 to 5 years in the wild.
Is the Pill Millipede endangered?
Pill Millipede is listed as Least Concern on the IUCN Red List. Threatened locally by intensive forestry practices, removal of deadwood, soil acidification from acid rain, and agricultural conversion destroying ancient woodland habitats.
What is the scientific name of the Pill Millipede?
The scientific name of Pill Millipede is Glomeris marginata, in the family Glomeridae.
Is the Pill Millipede dangerous to humans?
Completely harmless to humans; they do not bite, sting, or transmit diseases, and they do not damage living plant material, acting instead as beneficial soil decomposers. They are often encountered by gardeners and hikers who may pick them up, causing the millipede to roll into a tight, protective ball.
How does the Pill Millipede reproduce?
Oviparous; females lay small clutches of spherical eggs inside protective underground or leaf-litter nests, guarding them until hatching. Courtship involves tactile antennal contact among adults moving through damp woodland floor litter and decaying logs.
Etymology & Name
Glomeris is derived from the Latin 'glomus', meaning a ball or clew of yarn, referring to the animal's ability to roll up into a tight defensive sphere, while 'marginata' comes from the Latin 'marginatus', meaning bordered, describing the colored edges of its body segments. This invertebrate belongs to the family Glomeridae and is found across the United Kingdom, France, Germany, Spain, Italy, Scandinavia, and Central Europe, inhabiting deciduous and mixed woodland floor litter, damp soils, decaying logs, reaching a body length of 1 centimeter and a lifespan of 3 to 5 years in the wild.
Fritz Geller-Grimm (CC BY)
Did You Know?
When rolled into a tight defensive ball, the pill millipede can withstand compressive forces many times its own body weight without sustaining damage to its calcified exoskeleton. Unlike flat millipedes, it possesses specialized body plates that lock together mechanically when curled up. It feeds primarily on decaying beech leaves and helps recycle vital calcium back into forest floor soils.
★ Iconic Moment
The Armored Sphere of the Forest Floor
Naturalists have long marveled at the pill millipede's convergence with crustaceans; despite being an myriapod, its evolutionary adoption of spherical conglobation makes it one of the most mechanically perfect living armor balls in the invertebrate world.
Size Compared to a Human Finger
Length0.4 in1 cm
Weight50–200 mg
A Pill Millipede is roughly 0.4 in long, shown next to a human little finger (5 cm) for scale.
Classification & Traits
Size
Adult body length ranges from 8 mm to 20 mm.
Weight
Typically ranges between 50 to 200 milligrams.
Colors
Glossy black, dark brown, or slate grey dorsally, featuring contrasting yellow, orange, or reddish lateral and posterior margins on the tergites, with pale ventral surfaces and cream-colored legs.
Phylum
Arthropoda
Class
Diplopoda
Order
Glomerida
Family
Glomeridae
Genus
Glomeris
Adult
Adult
Captured by: portioid
Subtle; males often possess slightly modified posterior walking legs (gonopods) and can sometimes be distinguished by minor differences in antennal segment proportions and body breadth.
Anatomy & Field Signs
The body parts that define the Pill Millipede, head, thorax, abdomen, exoskeleton and the features that set it apart, plus the tracks and signs that let researchers identify it even when the animal is nowhere in sight.
Head & Antennae
The head with short antennae and, in most species, clusters of simple eyes.
Developed by: Abhilesh Kapdi
Body Rings
A cylindrical body of fused double segments, each ring carrying two pairs of legs, the difference from a centipede at a glance.
Captured by: Top: Gilles San Martin Middle: :Stemonitis Lower:USGS Native Bee Inventory and Monitoring Laboratory
Legs
Two pairs of legs to each body ring. Many legs, but never a thousand.
Captured by: Ralf Janssen
Defence Glands
Glands along the flanks that ooze or spray a defensive chemical when the animal is disturbed. A millipede has no venom and no bite.
Captured by: CMBJ based on prior works of Kazvorpal , Stemonitis , and Folini .
Exoskeleton
A chitin exoskeleton reinforced with calcium, shed as it grows.
Captured by: Ken T. A. Alminde
Egg
The eggs, laid in a nest of soil or chewed leaf litter.
How to Tell It Apart
Easily distinguished from woodlice (Isopoda) by possessing two pairs of legs per body segment (diplosegments) rather than one, and from julid millipedes by its short, broad, 11-segmented body rather than an elongated, worm-like cylindrical shape.
Distinguishing features, broken down field by field:
Physical Build & Coloration
Native Invertebrates BuildDistinct physical markers and natural coloration of Pill Millipedevs Related species
Anatomy
DefenseCapable of rolling into a tight, hard spherical ball when disturbed.vs Flat-Backed Millipede
Coat & Colour
Body SegmentsBody consists of 12 to 13 broad, highly arched body segments.vs Garden Millipede
Head & Face
AntennaeAntennae are short and clubbed at the tip.vs Centipede
Size & Build
Leg CountPossesses fewer legs than typical millipedes, usually around 17 to 19 pairs.vs Julid Millipede
Stemonitis (CC BY)
Evolution
Glomerid millipedes belong to the superorder Pentazonia, an ancient lineage of millipedes that split from helminthomorph millipedes over 400 million years ago during the Silurian period. Their shortened body plan and spherical conglobation evolved independently as a convergent adaptation for predator defense, closely mirroring the woodlouse. Fossil evidence demonstrates that early pentazonian arthropods inhabited Paleozoic forest floors, developing tough tergal plates capable of rolling into a tight, armored ball to withstand desiccation and invertebrate predators.
Conservation Status
On the IUCN Red List, this species is classified as Least Concern.
LC▲
NT
VU
EN
CR
EW
EX
Least concernExtinct
Habitat & Range
Inhabits deciduous and mixed woodland floor litter, damp soils, decaying logs, and limestone scree slopes, requiring high humidity and calcium-rich substrates. Found across the United Kingdom, France, Germany, Spain, Italy, Scandinavia, and Central Europe, this detritivorous arthropod relies heavily on deep layers of decomposing leaf mold from trees such as beech and oak. The calcium-rich environments it prefers are vital for the development and maintenance of its heavy, convex, segmented exoskeleton, allowing it to roll into a tight protective ball when disturbed by predators or environmental stress.
Where to Find Them
Where in the world the Pill Millipede is found. Each coloured area shows a region where it lives, plotted on the whole world so you can see its range at a glance. Drag and zoom in to explore.
Every confirmed sighting of the Pill Millipede logged by naturalists
and field surveys: 20,276 of them,
across 15 countries.
15Countries with records
20,276Wild sightings logged
United KingdomMost records · 31% of all
GBUnited Kingdom6,32631%
FRFrance4,04220%
DEGermany3,57618%
CHSwitzerland2,20111%
NLNetherlands1,6088%
SESweden1,0605%
DKDenmark3412%
IEIreland3052%
LULuxembourg2831%
NONorway2021%
IMIsle of Man1361%
BEBelgium1081%
ESSpain790%
ITItaly60%
PLPoland30%
How to read this. These are sighting
records, not population counts. A country near the top has been
watched and catalogued the most, not necessarily the most
Pill Millipedes living there, and a country with few naturalists will
sit low on this list even where the animal is common. Museum specimens and
captive animals are excluded, so these are wild sightings only. Compiled
from GBIF occurrence data.
Generally solitary and cryptic, spending most of its time foraging alone under leaf litter, though individuals may aggregate in large numbers in optimal microhabitats with high humidity and abundant food.
Reproduction
Oviparous; females lay small clutches of spherical eggs inside protective underground or leaf-litter nests, guarding them until hatching. Courtship involves tactile antennal contact among adults moving through damp woodland floor litter and decaying logs. The eggs are carefully shaped and secreted by the female to withstand moisture fluctuations in the soil. After a period of development, tiny, pale juveniles hatch with fewer body segments than adults. The young millipedes are completely self-sufficient from birth, burrowing through the soil and consuming decaying organic matter and leaf litter to fuel their gradual growth through successive molts.
Feeding Style
Detritivore/herbivore; grazes passively on decomposing leaf litter, fungi, and organic detritus rather than hunting. It crawls slowly along the forest floor beneath a thick layer of damp soil and leaf litter, using its mandibles to scrape away decaying plant material and fungal spores. This non-predatory feeding method recycles nutrients directly into the woodland ecosystem as it slowly processes organic matter during its nocturnal foraging bouts.
Captured by: Mickaël Lhéritier, Gregory D. Edgecombe, Russell J. Garwood, Adrien Buisson, Alexis Gerbe, Nicolás Mongiardino Koch, Jean Vannier, Gilles Escarguel, Jérome Adrien, Vincent Fernande
Life in a Group
A group of Pill Millipedes is called a Solitary.
Pill millipedes do not form complex social groups or colonies, but loose aggregations frequently occur under rotting logs or stones due to shared preferences for moisture and shelter.
Mating & Courtship
Males court females by emitting rhythmic vibrations and utilizing tactile stimulation with their antennae before transferring spermatophores.
A Great History
As a common inhabitant of European woodlands and gardens, this arthropod has been a familiar sight to humans for generations, often noted for its defensive behavior of rolling into a tight sphere. While it lacks significant economic or industrial utility, it is frequently encountered by naturalists and gardeners who recognize its role in soil decomposition. Its resemblance to the woodlouse has led to frequent comparisons in historical biological observations and amateur nature studies across its range.
The India Connection
This specific species of pill millipede is native to Europe, particularly common in woodland habitats across the continent, and is not found in the diverse invertebrate ecosystems of India.
People & the Pill Millipede
Completely harmless to humans; they do not bite, sting, or transmit diseases, and they do not damage living plant material, acting instead as beneficial soil decomposers. They are often encountered by gardeners and hikers who may pick them up, causing the millipede to roll into a tight, protective ball. This defensive behavior is a source of fascination for children and nature enthusiasts. They are not considered pests in agricultural or domestic settings, and their role in breaking down leaf litter makes them valuable contributors to soil health. They require no special management and are generally left to thrive in their natural damp, woodland environments.
Cultural Significance & History
Frequently featured in European folklore and natural history books as a classic example of convergent evolution alongside woodlice, often referred to colloquially as 'roly-polies' or 'potato bugs'. Their ability to roll into a perfect, protective sphere has made them a source of fascination for generations of children and amateur naturalists. In various European traditions, these small arthropods are sometimes associated with the soil's fertility, and their presence in garden compost is often viewed as a positive indicator of a healthy, thriving ecosystem.
Subspecies Comparison
There are several recognized subspecies including the nominate G. m. marginata found across much of Europe, and G. m. perplexa, which exhibits distinct morphological variations in its distribution within the British Isles.
Some Great News
Long-term monitoring in European deciduous reserves shows stable populations wherever ancient woodland management practices preserve undisturbed leaf litter layers.
The Rare Story
Population densities can exceed several hundred individuals per square meter in undisturbed ancient woodlands, yet local populations can vanish entirely if acid rain or soil acidification depletes calcium levels required for their armor. When disturbed by foraging shrews or predatory ground beetles, this tiny terrestrial arthropod curls tightly into a nearly impenetrable, glossy sphere. Field experiments demonstrate that this defensive posture effectively seals all vulnerable soft tissue inside a hardened, calcium-rich shell that withstands crushing pressures and deters chemical-seeking predators.
Threatened locally by intensive forestry practices, removal of deadwood, soil acidification from acid rain, and agricultural conversion destroying ancient woodland habitats. As a detritivore that relies heavily on undisturbed deciduous leaf litter and moist soil layers to maintain hydration and feeding activity, any large-scale disruption to the forest floor structure directly impacts local populations, reducing their capacity to survive in fragmented or chemically altered European woodlands.
Recent News
Recent phylogenomic studies utilizing mitochondrial DNA sequencing have clarified the evolutionary divergence times between European Glomeris species and their subterranean relatives.
As a Pet vs. In the Wild
Cheap, quiet and genuinely low-maintenance, with a few specific hazards.
Is it legal?
Generally unrestricted, but many stick insects and mantids are prohibited without a permit in the US and Australia as agricultural pests, and some tarantulas are CITES-listed.
The care reality
New World tarantulas kick urticating hairs that cause days of irritation and can do lasting damage to an eye; handle minimally and never near the face.
Old World tarantulas have no urticating hairs but stronger venom and much faster tempers, not beginner animals.
Hermit crabs are social, long-lived (30 years is possible) and need deep damp substrate to moult in, plus a supply of larger shells. The commercial 'kit' setup kills most of them within a year.
Moulting is when almost every invertebrate dies. Do not feed, disturb or handle an animal in premoult.
Humidity and ventilation matter more than temperature for most species.
Laws differ by country, state and city, and they change. Confirm the current rule where you live before acquiring any animal.
Further reading
The Spruce PetsBorn Free USA, state exotic pet lawsAnimalLaw.info, state exotic pet law tableAnimal Diversity Web
Sounds & Communication
Pill millipedes are entirely silent and do not produce vocalizations or acoustic signals, communicating and navigating exclusively through tactile and chemical cues.
What it carries, and what it doesPoison Profile
Poisonous, not venomousBenzoquinonesDefensive quinones, with phenols and cresols alongsideStains and burns skin · very painful in the eyes
A venom is injected: through a fang, a sting or a spine. A poison is passive: it only harms whatever eats, licks or handles the animal. The Pill Millipede attacks nobody with this. It simply carries it, and everything that has ever tried to eat one has learned so.
Where it is heldpaired glands along the flanks, one pair to most body segments
How it gets itMade by the animal itself
OnsetMinutes for burning; the stain appears over hours
How strong it is
Not dangerous to a healthy adult, but the liquid burns sensitive skin, stains it brown for days, and causes real damage if it reaches an eye.
Where it comes from
A millipede cannot bite and has no sting. Threatened, it coils into a spiral and weeps a brown, foul-smelling liquid from pores down each side, enough to make almost anything drop it.
Made by the millipede's own glands and stored ready to release. Larger tropical species can squirt it several centimetres.
How it reaches a victim
Skin contact while handling
Eyes, from fingers that have handled one
Swallowed by a pet
What it does inside a body
Benzoquinones react with proteins in skin and eye tissue, which is what produces the burning, the blistering in sensitive people and the lasting brown stain.
Signs of poisoning
Brown or purple staining of the skin, lasting days
Burning, itching, sometimes blistering
Severe pain, swelling and possible corneal damage if it reaches an eye
⏱How fast it acts
Burning within minutes of contact; the stain appears over the following hours.
⏳Time you have
Skin settles in a day or two, the stain over about a week. An eye splash needs fifteen minutes of flushing and medical attention the same day.
To pets and livestock
Mild. A dog that mouths one drools and may vomit, and learns quickly.
Capuchin monkeys and some lemurs deliberately catch millipedes and rub them through their fur, the benzoquinones work as an insect repellent, and the monkeys become visibly drugged in the process.
Why it has it
Slow, blind, soft-bodied and made mostly of legs: chemistry is the only defence a millipede has, and it is a good one.
Giant African millipedes are common pets and are safe to hold, provided hands are washed afterwardsMillipedes have no venom and cannot bite, that is centipedes, which are a different animal entirely
Composition on record
The defensive glands located along the lateral margins of the dorsal tergites secrete glomerin and homoglomerin, two quinazolinone alkaloids synthesized internally by the millipede. When disturbed or curled into a ball, it exudes these bitter, sticky chemical droplets. Handling the millipede poses minimal systemic risk to humans, though rubbing secretions into eyes or open cuts causes acute stinging and localized dermatitis within minutes. If a dog or cat bites or mouths the millipede, the bitter alkaloids induce immediate profuse salivation, head shaking, foaming at the mouth, and mild vomiting. Management consists of thoroughly flushing the animal's mouth with water to remove residue and providing supportive care if oral inflammation persists.
Further reading
Millipede: Wikipedia
Field protocolIf You Meet One
When encountered on a woodland walk, a pill millipede will immediately freeze and curl into a ball if touched. Picking it up is completely safe, as they do not bite, sting, or secrete toxins harmful to human skin. Placing it back gently under leaf litter ensures it resumes its natural foraging behavior.
If the worst happensEmergency First Aid
Benzoquinones: Stains and burns skin · very painful in the eyes. Get medical help first; everything below is what to do while you are getting there.
Wash hands thoroughly with soap and water after handling, always, without exception
Flush an affected eye with clean water for fifteen minutes and seek medical care
Never do these
Do not rub your eyes after handling one
Do not let a child hold one and then eat without washing
Do not scrub or bleach the stain off
Do not mistake a millipede for a centipede, the centipede is the one that bites, and it is venomous
The poison
Benzoquinones
General guidance, not a substitute for a doctor. When in doubt, get to a hospital.
Further reading
Millipede: Wikipedia
What people get wrongMyths, Busted
MYTH
A millipede has a thousand legs and a centipede a hundred.
TRUTH
Most millipedes have between 40 and 400; only one species, described in 2021, has ever passed a thousand. Centipedes always have an odd number of leg pairs, so exactly 100 legs is impossible. The real distinction is two pairs of legs per segment on a millipede against one pair on a centipede, and the centipede is the one with venom claws.
Further reading
Animal Diversity Web
In Your Backyard
They frequently turn up in gardens with mature trees, compost heaps, or rockeries. They can be attracted by leaving piles of damp autumn leaves and decaying wood. No deterrent is necessary as they are strictly beneficial decomposers.
Its Evolutionary Superpower
Armor Ball Transformation: With lightning speed, the pill millipede contracts its musculature to interlock its eleven armored body segments into a spherical capsule capable of withstanding crushing pressures from predators while simultaneously releasing chemical deterrents.
How It Sleeps
They do not experience true sleep in the vertebrate sense, instead entering periods of metabolic rest and immobility hidden beneath leaf litter or inside soil crevices during daylight hours.
Lookalikes & Misidentification
Armadillidium vulgare: Commonly confused pill woodlouse; has one pair of legs per segment and belongs to Crustacea, whereas Glomeris marginata is a myriapod with two pairs of legs per segment.
Porcellio scaber: Rough woodlouse; shares woodland habitats but cannot roll into a complete sphere.
If It Disappeared
If pill millipedes disappeared from European woodlands, the rate of leaf litter decomposition would slow noticeably. Their mechanical fragmentation of hardwood leaves and subsequent nutrient recycling are vital components of humus formation and forest soil fertility.
Legal Status & Protection
Glomeris marginata holds no special protected legal status under international conservation treaties, as populations remain robust and widespread throughout its native European range.
Tracks & Signs
Tracking pill millipedes involves searching damp microhabitats such as the underside of rotting beech or oak logs, limestone rocks, and deep leaf litter accumulations where their distinctive spherical exoskeletons can be spotted.
🎭Pop Culture & Mythology
Often used in primary school science classrooms across Europe to demonstrate convergent evolution, contrasting crustaceans and myriapods that share identical spherical defense strategies.
References & Further Reading
Where the Pill Millipede page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
WikipediaHabitat & Range, Reproduction, adapted under CC BY-SA 4.0
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Glomeris marginata
iNaturalistObservations and look-alike comparisons
Named, not linked. The works above are the standard literature on this group, further reading, not sources this page was copied from. Photographs are used under their individual licences and carry their own credit beside each image. If a source is missing or wrongly credited, tell us below.
Spotted a mistake?
Biospedia is compiled from public sources and written by people, so errors are possible, and wildlife science moves. If anything on this Pill Millipede page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
Sponsor this page and become the quiet guardian of its story, a company, a cause, or a person's name resting here with grace, met by everyone who comes to learn about the Pill Millipede.