How to Get Rid of Pill Bugs in the Garden (Without Harsh Sprays)

If you’ve found little gray roly-polies curled up under your mulch, you’re not alone. Most of the time they’re harmless. But when their numbers climb, they can chew through seedlings overnight and hollow out your best strawberries.

The good news is that you can get rid of pill bugs in the garden without harsh sprays.

In this guide, I’ll explain what they are, when they actually cause trouble, and the simple moisture fixes, traps, barriers and baits that bring them back under control.

What Are Pill Bugs?

Pill bugs are small land crustaceans, not insects. They’re related to shrimp and crabs, and they need damp conditions to survive.

A Crustacean Living on Land

The common pill bug goes by the scientific name Armadillidium vulgare. Most people know it as a roly-poly. It belongs to a group called isopods.

Pill bugs breathe through gill-like structures on their undersides. Those structures have to stay moist to work. That’s why you rarely see pill bugs out in the hot afternoon sun.

Instead, they hide in cool, wet places during the day. They come out at night or on damp, cloudy mornings to feed.

How to Recognize Them

Adult pill bugs are about a third to a half inch long. They’re oval, gray to dark slate, and covered in overlapping armored plates. They have seven pairs of legs and two short antennae.

The easiest giveaway is their defense move. When you touch one, it rolls into a tight ball. That’s where the nicknames “roly-poly” and “pill bug” come from.

Here’s a quick look at their key traits:

TraitPill Bug
GroupCrustacean (isopod), not an insect
SizeAbout 1/3 to 1/2 inch
ColorGray to dark slate
Legs7 pairs
DefenseRolls into a ball
ActiveMostly at night
NeedsMoisture and shelter

Products Worth Having on Hand

Before we get into the details, I want to mention two things that make control much easier. Neither one is fancy.

  • An iron phosphate bait labeled for sow bugs and pill bugs. These come as small pellets you scatter around plants. Some versions also contain spinosad. They’re a good backup when numbers are high.
  • Straw mulch. A clean layer of straw is great for lifting strawberries, melons and squash off damp soil. It dries out faster than wood chips or leaf piles when used thinly.

I’ll explain exactly how to use both later in the article. For most gardens, though, moisture control does the heavy lifting.

Gilmour 50' Black Flat Weeper Soaker Hose for Garden Beds, Drip Irrigation Outdoor Hose, Flexible Garden Hose for Vegetable Gardens, Flower Beds, Lawns, and Orchards

Are Pill Bugs Good or Bad for Your Garden?

Pill bugs are mostly good for your garden. They only become a problem when their population gets large and tender plants or ripe fruit sit right where they feed.

Why a Few Pill Bugs Help

Pill bugs mainly eat decaying plant material. Think dead leaves, rotting mulch, old roots and soft plant scraps.

HealthiStraw GardenStraw, 3 cu ft (20 lbs) | All-Natural Mulch for Gardens, Vegetables & Lawn Seeding, Water-Conserving Wheat Straw, Thoroughly Cleaned, Sustainable

By chewing up that debris, they help break down organic matter. That returns nutrients to the soil. It’s the same job earthworms and many soil microbes do.

In a compost pile, pill bugs are welcome workers. My advice is to leave them alone there. They speed up the breakdown of coarse material.

When They Turn Into a Pest

Trouble starts when numbers get high. A big population runs out of rotting food and starts sampling soft, living tissue.

Seedlings are the first target. Their stems are thin and tender, and they sit right at soil level. Ripe fruit resting on damp ground is next.

Dry spells can also push them toward your plants. When decaying material dries out, juicy seedlings and fruit become more attractive.

Keeping the Balance

You don’t need to wipe out every pill bug. That’s not realistic, and it isn’t helpful. The goal is to keep them near the compost and away from your vulnerable crops.

Think of pill bugs like many common vegetable garden pests. A small number is just part of a living garden. You only step in when you see real damage.

SituationGood or Bad?What to Do
A few in the compost pileGoodLeave them alone
Some under mulch in established bedsMostly fineMonitor
Many around new seedlingsBadReduce moisture, trap, protect
Feeding on fruit on the groundBadLift fruit, trap, consider bait

Signs Pill Bugs Are Damaging Plants

The main signs are seedlings chewed off at soil level and shallow holes in fruit touching damp soil. Seeing many pill bugs right at the damaged spot, especially at night, confirms it.

Damage on Seedlings and Transplants

Pill bugs feed low. They chew the stems and lower leaves of young seedlings right at the soil line.

You may find tiny plants that look snipped off or wilted overnight. Leaves close to the ground can have ragged edges or small irregular holes.

Bean, cucumber, squash and lettuce seedlings are common targets. Tender transplants that were just set out can suffer too.

Jashem 10 Packs Melon Cradle Pumpkin Stand, Harvest Basket, Garden Support Plant Trellis for Cantaloupe Melon, Squash, Watermelon (10)

If your cucumber plants not growing well is a mystery, check the base of the stems. Pill bug feeding on young vines can stunt them early in the season.

Damage on Fruit

On fruit, pill bugs usually go for the side touching the soil. They leave shallow, scooped-out cavities.

Ripe strawberries are a favorite. You’ll also see damage on cucumbers, melons and squash lying on damp ground.

5 Pack Strawberry Plant Support, Strawberry Growing Racks with 4 Sturdy Leg | Strawberry Growing Frame, Strawberry Stand Holder Bracket for Strawberry Growing Protection Keeping Berries Clean

Often, pill bugs move into fruit that’s already cracked, overripe or nibbled by something else. Even so, they can widen the damage quickly.

Ruling Out Other Culprits

Lots of pests chew holes in plants. So it’s worth confirming the cause before you treat.

Slugs and snails also feed at night and love moisture. But they leave shiny slime trails. Pill bugs don’t.

Caterpillars and beetles tend to feed higher on the plant and in daylight. If you’re seeing holes on brassicas, my guide on what is eating my cabbage leaves can help you sort it out.

The best test is simple. Go out with a flashlight an hour or two after dark. If pill bugs are crowding the damaged plants, you’ve found your answer.

PestSlime TrailFeeding TimeTypical Damage
Pill bugsNoNightSeedling stems, fruit on soil
Slugs and snailsYesNightLarge ragged holes, seedlings
CutwormsNoNightStems cut cleanly at soil line
CaterpillarsNoDay and nightHoles in upper leaves, droppings

Cut Back Moisture and Hiding Spots

The best long-term way to get rid of pill bugs in the garden is to make it drier and less sheltered near your plants. Without moisture and hiding places, they can’t thrive close to your crops.

Water in the Morning

Watering time matters more than most people think. When you water in the evening, the soil surface stays wet all night. That’s exactly when pill bugs are out feeding.

Water in the morning instead. That gives the top layer of soil time to dry before dark.

Drip irrigation or soaker hoses help too. They deliver water to the root zone and keep the surface between plants drier. Avoid overwatering, and check soil moisture with your finger before turning on the hose.

Manage Your Mulch

Mulch is great for plants. It holds moisture, cools roots and blocks weeds. But a thick, damp layer is also a perfect pill bug hotel.

You don’t need to remove it. Just pull mulch back a few inches from seedlings and plant stems. That leaves a dry gap right where pill bugs would feed.

Keep mulch thinner where pill bugs are a problem, especially early in the season. Once plants are bigger and tougher, you can add more. For more on doing this well, see my guide to mulching a vegetable garden.

Remove Boards, Rocks and Debris

Pill bugs spend the day under anything that holds moisture. Boards, flat rocks, bricks, pots and piles of leaves all count.

Clear these out from around your beds. Rake up fallen leaves, old plant stems and rotting fruit too.

Here are the most common hiding spots to check:

  • Boards and lumber scraps on the soil
  • Flat rocks, pavers and bricks
  • Upside-down pots and trays
  • Piles of pulled weeds or leaves
  • Rotting fruit and vegetables
  • Thick, wet mulch against stems

Regular tidying makes a big difference. My garden cleanup tips cover what to clear in each season.

Finally, keep your compost pile away from vegetable beds. Compost is full of pill bugs, and that’s fine. Just give it some distance so they don’t wander into your seedlings.

Traps and Barriers That Work

Simple homemade traps catch lots of pill bugs overnight, and basic barriers keep them away from young plants. Both are cheap, safe and easy.

Board and Newspaper Traps

This method uses the pill bug’s love of dark, damp shelter against it. It’s my favorite first step.

Here’s how to set it up:

  1. Lay a flat board on moist soil near damaged plants in the evening.
  2. Or roll up a sheet of damp newspaper and set it on the ground.
  3. Check underneath first thing in the morning.
  4. Collect the pill bugs and move them to the compost pile, or drop them in soapy water.
  5. Repeat for several nights.

The key is to check every morning. A trap left in place for days just becomes a new hiding spot. That would defeat the purpose.

Melon Rind and Potato Traps

Pill bugs love soft, decaying food. That makes fruit scraps perfect bait.

Monterey 2.5 Pound Sluggo Plus Insect Slug and Snail Pellets

Turn an old melon or cantaloupe rind upside down on the soil. A potato cut in half, cut side down, works too. Leave it overnight.

In the morning, lift the rind and collect the pill bugs gathered underneath. Toss the used rind in the compost and set a fresh one if needed.

Trap TypeMaterialsBest Use
Board trapFlat boardLarge beds, repeated use
Newspa