Millipedes in the House: Why They Come In and How to Keep Them Out

They arrive by the dozen after heavy rain or in a dry spell, curl up and die within days. How to recognize them, what their defensive fluid does, how to tell them from centipedes and pill bugs, and how to keep them outside.

Quick Answer

A millipede is the slow, wormlike animal with two pairs of short legs on most body segments that curls into a coil when disturbed; a centipede has one pair per segment and runs. Millipedes indoors came from damp soil, mulch or leaf litter outside, and Penn State Extension says they do not live more than a few days inside.

  • Most millipedes that wander into homes are about 1 inch long; the giant American millipede can reach 4 inches, according to the University of Kentucky.
  • Most species have between 30 and 300 legs, not 1,000, and millipedes do not bite.
  • Mass migrations often follow heavy rain or cooler weather, and hot, dry spells can also drive them into buildings.
  • Some species ooze a defensive fluid that can irritate skin or burn the eyes, and crushed millipedes can leave stains.
  • They cannot breed indoors, so extension services advise sweeping them up and drying out damp spots rather than spraying.

As an Amazon Associate I earn from qualifying purchases.

To seal the door gap

Door sweep

Check price on Amazon →

Millipede or look-alike? Quick ID

BugSizeLegsWhen disturbed
Household millipedeAbout 1 inch; dark brownTwo pairs on most segments; 30 to 300 in allCurls into a tight coil; some ooze fluid
Giant American millipedeUp to 4 inchesTwo pairs on most segmentsCurls up tightly
House centipedeBody 1 to 1 1/2 inches15 long, banded pairs; one pair per segmentRuns fast; can bite
Pill bugUp to about 3/4 inchSeven pairsRolls into a ball
SowbugUp to about 3/4 inchSeven pairs; two tail-like appendagesCannot roll up

Sizes and legs from the University of Kentucky's millipede and sowbug fact sheets and Penn State Extension; behavior from UC IPM. Each source is linked on this page.

Published by BuzzSkito Mosquito & Tick Control

Published October 20, 2026 · Drafted with AI assistance and fact-checked against the sources listed below

What does a millipede look like?

A millipede is a slow, wormlike animal with a rounded, many-segmented body and two pairs of short legs on most segments. Penn State Extension's millipede fact sheet notes that the first three segments carry one pair each, and says most millipedes people come across are dark brown, about an inch long and about 1/16 inch thick, with a hard outer skin.

Two reddish-brown greenhouse millipedes side by side on a pale, lichen-flecked surface, each with a long segmented body and rows of short pale legs
Two greenhouse millipedes outdoors in a park in Columbus, Ohio. Look for the short legs, two pairs on most body segments. Photo: no rights reserved, via iNaturalist, CC0 1.0.

The University of Kentucky's ENTFACT-645 says most species have between 30 and 300 legs, set in two pairs on each body segment, and that the species that enter homes are around 1 inch long. It adds the millipede's short, elbowed antennae as a second clue. The greenhouse millipede (Oxidus gracilis), which NC State Extension's garden millipede fact sheet says is also called the garden or flat-backed millipede, is about an inch long; UC IPM names it as one of three species commonly seen in California.

The name means a thousand feet, but the millipedes in your basement come nowhere close. South Dakota State University Extension counts 160 legs on the common millipede. The first species known to have more than 1,000, Eumillipes persephone, was described in 2021 from about 200 feet underground in Western Australia and has up to 1,306 legs; before it, no millipede had been described with more than 750, according to the paper in Scientific Reports.

Large dark gray millipede with thin red rings between its segments, coiled into a tight spiral in loose brown soil
An American giant millipede coiled in loose soil in Chapel Hill, North Carolina. This large outdoor species is not one of the small kinds that usually wander indoors. Photo: no rights reserved, via iNaturalist, CC0 1.0.

Size separates the usual invaders from their big outdoor relatives: Kentucky says the giant American millipede can grow up to 4 inches long, while the species that come inside are around an inch. Kentucky also notes that millipedes often curl up tightly when threatened, and Penn State says most curl into a spiral when they die.

Why are there so many millipedes in my house?

Because something outdoors set a whole population moving, and your house was in the way. UC IPM says large numbers of millipedes sometimes migrate, often uphill, when their food supply dwindles or their living places become too wet or too dry, and that migrating millipedes may fall into swimming pools and drown. They are not breeding inside: South Dakota State University (SDSU) says millipedes found indoors are accidental entrants that cannot reproduce there and eventually die.

  • After heavy rain or cooler weather. Penn State says migrations into window wells, basements and garages are often associated with cooler weather or heavy rains, and NC State says garden millipedes emerge onto walks, patios and driveways the next time it rains, then crawl into homes.
  • In hot, dry spells. NC State adds that hot, dry weather can also drive millipedes into buildings, and UC IPM says migrations also start when their living places become too dry.
  • In spring and fall. SDSU says millipedes migrate in spring and fall in search of new feeding sites and are typically seen moving into homes in late summer and early fall, and Clemson Extension's millipede fact sheet says garden millipedes sometimes migrate in huge numbers, especially after heavy spring rains.
  • Up walls and through small gaps. Clemson says garden millipedes climb walls easily and may enter through any small opening, and Penn State describes millipedes climbing trees, fences and buildings to a height of about 6 feet.

Even entomologists hedge on the cause: Kentucky says gatherings on sidewalks, foundations, basements and garages can coincide with heavy rain but that it is unclear exactly what causes these migrations. SDSU adds that millipedes can travel as far as 50 feet or more and names long-term mulch piles, wooded areas and unmanaged grassy areas as possible sources of a migration. Millipedes are one of several outdoor animals that turn up indoors as the seasons change; bugs in the house in winter sorts the rest.

Are millipedes poisonous or dangerous?

They do not bite or sting, but some can irritate skin and eyes. UC IPM says millipedes don't bite when disturbed, but some species exude a defensive liquid that can irritate skin or burn the eyes. Kentucky says many species give off unpleasant-smelling fluids that can cause skin reactions similar to a burn, and that although some millipedes can produce hydrogen cyanide, it is not in quantities high enough to harm humans.

The greenhouse millipede is one of the cyanide producers: NC State says it gives off cyanide gas when alarmed and advises care when handling large numbers. Clemson adds that crushed millipedes can leave stains, that the fluids of many species are irritating and can cause allergic reactions, and that you should wash your hands thoroughly after touching one. Penn State's advice for the ones indoors is simply to vacuum them up or sweep them into a dustpan.

Clemson says millipedes do not bite people or pets. None of the sources on this page describes what happens when a dog or cat chews or swallows one, so if your pet mouths a millipede and seems unwell, call your veterinarian.

Centipede vs millipede: how can you tell them apart?

Look at a single body segment: a centipede has one pair of legs on it, a millipede two. UC IPM's comparison adds that centipedes move rapidly, have last legs that extend backward and may bite, while millipedes do none of these, and Kentucky adds the antennae and body shape: long and thin antennae on a flattened centipede, short and elbowed ones on a rounded millipede.

FeatureMillipedeCentipede
Legs per body segmentTwo pairs on mostOne pair
SpeedSlowFast
AntennaeShort and elbowedLong and thin
BodyRounded in most speciesFlattened
Last pair of legsNot extended backwardExtends backward
FoodDecaying plant matterSmall animals it hunts
Bites?NoCan bite
Survives indoors?No; dies soon after getting inOnly the house centipede

From UC IPM's centipede and millipede comparison table and the University of Kentucky's ENTFACT-645.

House centipede on a cracked, cream-colored painted wall, with long banded legs fanning out along both sides of its striped body and long antennae
A house centipede on a wall in Sandusky, Ohio. One pair of long, banded legs on each body segment marks a centipede, not a millipede. Photo: no rights reserved, via iNaturalist, CC0 1.0.

The centipede you are most likely to see indoors is the house centipede, which Kentucky calls the only centipede species that can survive inside buildings. Penn State Extension's house centipede page gives its body as 1 to 1 1/2 inches long, with 15 pairs of legs banded light and dark, and says that although it is fast and long-legged, it is harmless. Its bite, its diet and how to keep it out are covered in the guide to house centipedes.

Could it be a pill bug, a sowbug or a wireworm?

It could be, if you count seven pairs of legs or only three. Pill bugs and sowbugs are land-dwelling crustaceans that the University of Kentucky's sowbug and pillbug fact sheet describes as oval, rounded on top, rarely more than 3/4 inch long and carrying seven pairs of legs. A pill bug can roll into a ball; a sowbug cannot, and it has two tail-like appendages. Like millipedes, they move into crawl spaces and basements in search of water, they are harmless, and without high moisture Kentucky says they find it almost impossible to survive indoors. A guide to pill bugs covers them in detail.

Wireworms, the larvae of click beetles, are the other look-alike UC IPM names: they have only three pairs of legs, stay below the soil surface and are flatter from top to bottom. Millipedes also share damp basements and bathrooms with insects that need a different fix, such as silverfish and earwigs; see how to get rid of silverfish and how to get rid of earwigs.

Commonly confused with

Photos: House centipede: no rights reserved, via iNaturalist, CC0 1.0. Pill bug: no rights reserved, via iNaturalist, CC0 1.0.

Do millipedes damage anything in the house?

No. SDSU says millipedes neither bite nor sting and do not feed on structures, plants or items in the home, and UC IPM says they do not cause damage indoors and pose a minimal health hazard. Outdoors they are mostly helpful: UC IPM says they live in and feed on rotting leaves, rotting wood and other moist, decaying plant matter, and that their role is generally a beneficial one in breaking it down.

Large numbers can still be a garden pest and a mess. UC IPM says that when millipedes become numerous they may damage sprouting seeds, seedlings, and strawberries and other ripening fruit in contact with the ground. NC State says garden millipedes feed on roots to get moisture when the soil dries out, and that their droppings disfigure painted surfaces.

How do you get rid of millipedes in the house?

Sweep up or vacuum the ones inside, then dry out and clear the ground along the foundation; UC IPM says invasions are usually over within a few days. Penn State says treatment inside the home is not necessary, because millipedes do not live more than a few days indoors.

  • Remove the ones you see. Vacuum them or sweep them into a dustpan, as Penn State and NC State suggest, or pick them up and release them outdoors, as UC IPM allows.
  • Dry out damp spaces. UC IPM advises drying out crawl spaces and basements that hold excess moisture. The EPA's guide to mold and moisture suggests keeping indoor relative humidity below 60 percent, ideally 30 to 50 percent. See how to size a dehumidifier for a damp basement and a vapor barrier or a dehumidifier for a damp crawl space.
  • Clear the strip next to the house. Kentucky recommends removing or reducing mulch, woodpiles and paving stones close to the home, and UC IPM adds rotting wood and decaying grass and leaves around the foundation, which takes away both hiding places and food.
  • Fix the water sources. Kentucky says to check for leaks in crawl spaces and at air conditioners, hose bibs and sprinklers, and to make sure gutters and downspouts carry water away from the house.
  • Change the mulch and the lawn routine. NC State suggests inorganic mulches such as gravel for better drainage, and Penn State recommends removing plastic weed barriers beneath gravel or mulch. Clemson suggests dethatching, mowing closely and watering in the morning so the lawn dries before night.
  • Seal the way in. Kentucky names door thresholds and windowsills as possible entry points and suggests caulking gaps and fitting door sweeps or weather stripping.

Do you need an insecticide for millipedes?

Rarely. UC IPM says using pesticides is rarely justified for millipedes, Kentucky says applying pesticides inside the home is rarely necessary, SDSU does not recommend spraying insecticides to reduce their numbers and says perimeter sprays have limited effectiveness, and NC State sees no use in trying pesticides on millipedes once they are indoors. Clemson adds that pesticides give only temporary control unless the cleanup and drying steps are done too.

Where heavy migrations keep coming, Kentucky describes residual sprays on exterior door thresholds, window jambs and sills, and insecticidal dusts in utility openings and foundation cracks. Clemson describes boric acid powder in cracks, crevices and indoor voids where millipedes enter, and notes that many powders do not work well in damp spots. Use only a product whose label lists millipedes and the place you plan to treat: the EPA explains that pesticide labels are legally enforceable and that using a product in a manner inconsistent with its labeling violates federal law. If numbers stay extremely high, Clemson suggests a licensed pest control operator.

This guide is general educational information, not medical advice. If you have symptoms or concerns after a bite or exposure, contact a healthcare provider.

Use any pesticide exactly as its label directs. The label is the law, and what is registered and sold varies by state.

Frequently Asked Questions

Are millipedes poisonous?+

Not the way a venomous animal is: millipedes do not bite or sting. Some species defend themselves with a fluid that UC IPM says can irritate skin or burn the eyes, and the University of Kentucky says some produce hydrogen cyanide, though not in amounts that harm people. The common greenhouse millipede is one of the cyanide producers, so NC State advises care when handling large numbers. Wash your hands after touching one, as Clemson advises.

Do millipedes bite?+

No. UC IPM says millipedes do not bite when disturbed, South Dakota State University says they neither bite nor sting, and Clemson says they do not bite people or pets. Instead they curl up, and some species release a defensive fluid that can irritate skin or cause allergic reactions, so sweep them into a dustpan or vacuum them rather than picking them up with bare hands.

Are millipedes poisonous to dogs and cats?+

Clemson says millipedes do not bite people or pets, but none of the extension sources used here describes what happens when a dog or cat chews or swallows one. In people, the defensive fluid of some species can irritate skin and burn the eyes. Keep pets away from a migration while you sweep it up, and if your pet mouths a millipede and seems unwell, call your veterinarian.

Why do I suddenly have millipedes in my house?+

Usually because the weather set them moving. Penn State links millipede migrations to cooler weather or heavy rain, NC State says garden millipedes crawl into homes after rain and that hot, dry weather can also drive them indoors, and UC IPM says large numbers migrate when their food runs low or their soil gets too wet or too dry. South Dakota State University says they are typically seen moving into homes in late summer and early fall.

How long do millipedes live in a house?+

Usually only a few days. Penn State says millipedes do not live more than a few days indoors, and the University of Kentucky says most die shortly after entering a building because of the lack of moisture. South Dakota State University says they cannot reproduce indoors either, so a house full of millipedes is a migration passing through, not a colony. Sweep them up and fix the damp spots outside.

Do millipedes really have 1,000 legs?+

Almost never. The University of Kentucky says most species have between 30 and 300 legs, and South Dakota State University counts 160 on the common millipede. The first species known to top 1,000 was described in 2021: Eumillipes persephone, a thread-thin millipede found about 200 feet underground in Western Australia, with up to 1,306 legs. The previous record holder, a California species, has 750.

Can millipedes climb walls?+

Yes. Clemson says garden millipedes climb walls easily and may enter through any small opening, and Penn State describes migrating millipedes climbing trees, fences and buildings to a height of about 6 feet. The University of Kentucky's advice includes sealing door thresholds and windowsills, caulking gaps and fitting door sweeps or weather stripping.

Do millipedes lay eggs in houses?+

No. South Dakota State University says millipedes found indoors are accidental entrants that cannot reproduce there and eventually die. UC IPM says adults spend the winter in the soil and lay their eggs in clutches beneath the soil surface, and NC State says garden millipedes lay eggs in the soil in spring. The young add body segments and legs as they grow.

What attracts millipedes to a house?+

Damp, decaying plant matter next to the foundation. The University of Kentucky says millipedes are very sensitive to moisture loss and that the damp conditions kept by mulch and plants close to a home are thought to suit them, and Penn State lists compost and grass clipping piles, leaf mold around shrubs and house foundations as breeding sites. Leaks at hose bibs, air conditioners and sprinklers, and gutters that drain against the house, keep those spots wet.

How long do millipedes live?+

Several years outdoors. UC IPM says millipedes take 2 to 5 years to mature and continue to live for several years after that, spending the winter in the soil as adults. The young grow gradually, adding segments and legs as they mature. The ones that wander into a house have a much shorter life: Penn State says they do not live more than a few days indoors.

Sources

  1. Pest Notes: Centipedes and Millipedes (UC ANR Publication 7472) — University of California Statewide IPM Program
  2. ENTFACT-645: Centipedes and Millipedes in and Around the Home — University of Kentucky Department of Entomology
  3. Millipedes — Penn State Extension
  4. Garden Millipede in the Landscape — NC State Extension
  5. Millipedes (HGIC 2434) — Clemson Cooperative Extension Home & Garden Information Center
  6. Millipedes in Yards and Homes — South Dakota State University Extension
  7. The first true millipede, 1306 legs long — Scientific Reports (Marek et al., 2021)
  8. ENTFACT-439: Sowbugs and Pillbugs — University of Kentucky Department of Entomology
  9. House Centipedes — Penn State Extension
  10. A Brief Guide to Mold, Moisture and Your Home — US Environmental Protection Agency
  11. Introduction to Pesticide Labels — US Environmental Protection Agency

How this guide was made: it was researched and drafted with AI assistance from the sources listed above. A second, independent AI pass then checked each factual claim against those sources. Found an error? Email support@buzzskito.ca.