How to Get Rid of Pill Bugs in Your House Naturally

Pill bugs can’t survive indoors without moisture. That single fact is the foundation of every natural method for getting rid of them: if you eliminate the damp conditions they need, they’ll die or leave on their own. The good news is that pill bugs don’t bite, don’t spread disease, and don’t damage your home’s structure. They’re actually crustaceans, more closely related to shrimp than to insects. But finding a cluster of them in your basement or bathroom signals a moisture problem worth solving.

Why Pill Bugs Come Inside

Pill bugs are terrestrial crustaceans that depend on ambient humidity to breathe and stay hydrated. Their signature move, curling into a tight ball, isn’t just for defense. It also helps them retain water. Outdoors, they live under leaf litter, mulch, stones, and flowerpots where the ground stays consistently damp. When outdoor conditions dry out, or when heavy rain saturates the soil, they migrate toward your home’s foundation looking for moisture.

They typically enter through gaps under doors, cracked weatherstripping, foundation cracks, unsealed basement windows, and spaces around pipes or utility lines. Once inside, they head straight for the dampest areas: basements, crawl spaces, laundry rooms, and ground-floor bathrooms. Without high moisture, pill bugs find it almost impossible to survive indoors. So if you’re seeing them regularly, you likely have either a moisture problem (leaking pipe, poor drainage, condensation) or an entry point that needs sealing, or both.

Pill bugs feed on decaying plant matter, fungi, and organic debris. Potted plants with moist soil, damp cardboard boxes stored on a basement floor, or rotting wood near your foundation can all attract them.

Pill Bugs vs. Sowbugs

You might be dealing with pill bugs, sowbugs, or both. They look similar and share the same habitats, but they’re easy to tell apart. Pill bugs have a smooth, rounded rear end and curl into a ball when disturbed. Sowbugs are flatter on top, have two small tail-like appendages poking out from their back end, and can’t roll up. They scurry away instead. The natural control methods below work equally well for both.

Fix the Moisture First

This is the most effective step and the one that makes every other method work better. Without addressing dampness, traps and powders are just treating symptoms.

  • Check for leaks. Inspect pipes under sinks, around water heaters, near washing machines, and in crawl spaces. Even a slow drip creates enough moisture to sustain a pill bug population.
  • Use a dehumidifier. Run one in your basement or crawl space to bring humidity down. Pill bugs need consistently high moisture to survive, and a dehumidifier can make these spaces inhospitable within days.
  • Improve ventilation. Open vents in crawl spaces, use exhaust fans in bathrooms, and make sure dryer vents lead outside. Stagnant, humid air is exactly what pill bugs seek out.
  • Fix grading and drainage. If water pools against your foundation after rain, it drives pill bugs toward your home. Slope soil away from the house and make sure gutters direct water at least a few feet from the foundation.

Seal Entry Points

Pill bugs are small enough to slip through surprisingly narrow gaps. Walk the perimeter of your home’s ground level and look for cracks in the foundation, gaps around basement windows, spaces under doors, and openings where pipes or wires enter the wall. Caulk cracks in masonry, replace worn door sweeps, and add weatherstripping to ground-floor windows. Pest-proofing doors and windows is one of the most reliable ways to reduce the number of pill bugs making it inside.

Clear Outdoor Habitat Near Your Home

The pill bugs inside your house are coming from colonies right outside it. Removing their favorite hiding spots near your foundation cuts the population that’s trying to get in. Pull back mulch, leaf litter, rotting wood, decorative stones, and flowerpots from the area immediately around doors and your home’s foundation. Even moving these materials two to three feet away from the house makes a noticeable difference. Stack firewood well away from exterior walls, and avoid letting dead leaves accumulate against the foundation in fall.

Diatomaceous Earth as a Natural Barrier

Food-grade diatomaceous earth is a fine powder made from fossilized algae. Under a microscope, each particle has tiny sharp edges that scratch through the waxy outer layer of pill bugs, causing them to lose moisture and dry out. For creatures that depend entirely on staying hydrated, this is lethal.

Apply a thin line of the powder along baseboards, under door thresholds, around basement windows, and in any cracks or gaps where you’ve seen pill bugs entering. You can also dust it along the outside perimeter of your foundation. The powder works best when it stays dry. If it gets wet, it loses effectiveness and needs to be reapplied.

A few safety notes: diatomaceous earth is abrasive to the lungs when airborne. Wear a dust mask while applying it, and avoid creating clouds of the powder indoors. It can also irritate skin and eyes on direct contact. Keep it away from areas where children or pets might disturb it and kick up dust. Always use food-grade diatomaceous earth, not the pool-grade variety, which is chemically different and more hazardous.

Simple DIY Traps

Traps won’t solve an infestation on their own, but they’re useful for catching pill bugs already inside or for gauging how many you’re dealing with. The simplest version: take a section of newspaper, roll it into a loose tube, and dampen it under the tap. Place it on the floor near where you’ve spotted pill bugs, preferably in the evening. Pill bugs are nocturnal and will crawl inside the damp roll overnight seeking moisture and shelter. In the morning, before the paper dries out, pick up the roll and dispose of it outside or in a sealed bag.

Toilet paper tubes work as a substitute but tend to fall apart once damp. A more durable option is a small piece of damp cardboard or a hollowed-out potato half placed cut-side down on the floor. Check these traps daily and replace them every couple of days.

Other Natural Deterrents

A few additional approaches can help, especially when combined with moisture control and sealing:

  • Remove indoor food sources. Clear out damp cardboard, decaying plant material, and any potted plants sitting directly on the floor in problem areas. If you have houseplants in rooms where pill bugs appear, let the soil dry out more between waterings and consider raising pots off the ground.
  • Vacuum them up. For small numbers, a vacuum is the fastest and simplest removal method. Pill bugs are slow-moving and easy to catch, especially during the day when they’re hiding in corners and along baseboards.
  • Use a spray bottle of soapy water. A quick spray of diluted dish soap kills pill bugs on contact by disrupting their ability to retain moisture. This works for spot treatment but won’t prevent new ones from arriving.

How Long It Takes to See Results

If your primary approach is moisture control, you can expect to see a significant drop in pill bug activity within one to two weeks. Once indoor humidity drops and damp spots dry out, pill bugs already inside will dehydrate and die relatively quickly. Sealing entry points prevents new arrivals from replacing them. Diatomaceous earth barriers start working within a day or two of contact, though you may need to reapply after cleaning or if the powder gets wet. Traps provide immediate, visible results but catch only a fraction of the population at a time.

The most common reason natural methods seem to fail is that the underlying moisture source hasn’t been found. If you’ve tried everything and pill bugs keep appearing, look harder for hidden leaks, condensation on cold-water pipes, or poor drainage in a crawl space. Fixing the water problem is the permanent fix. Everything else is support.