BestPest
Other Pests

How to Get Rid of Pantry Pests in Your Kitchen

6 min read Updated 2026-06-18

You reach for a snack and find tiny bugs inside the package, or worse, webbing. That ruins your appetite and a chunk of your grocery budget at the same time. Getting rid of pantry pests really comes down to three moves. Track down the infested item, deep-clean the cabinet, then store food so these insects can't get back in. Once you find the culprit, the rest goes faster than you'd expect.

Quick answer

Getting rid of pantry pests takes three steps: find and discard the infested item, then vacuum and wash the cabinet to clear out hidden eggs and webbing, then store all dry goods in airtight glass or plastic containers. The infested source is usually a forgotten bag of flour, grain, or pet food.

Dealing with this right now?

Cleaned out the pantry, sealed every container, and the weevils still keep turning up? Get matched with a licensed local pest pro who can find where they're breeding and shut it down for good.

Looking for a pro? Learn about professional general pest control and get matched with a licensed local company.

What Counts as a Pantry Pest

A pantry pest is any insect that feeds on the dried, processed foods sitting in your kitchen. They go after staples you probably have right now. Flour, cereal, crackers, dry pasta, cornmeal, spices, pet food, even decorative grains.

Several different insects share this label, and you might be dealing with more than one at once. The usual suspects:

  • Indian meal moths, the small ones you see fluttering near the ceiling
  • Rice and grain weevils
  • Red flour beetles and sawtoothed grain beetles
  • Cigarette beetles and warehouse beetles

How They Get Into Your Kitchen

Most pantry pests don't wander in from outside. They arrive already inside the groceries you buy, dropped off as eggs back at the processing plant or the warehouse or the store shelf. The eggs are nearly invisible. So a box can look spotless when you buy it and still hatch weeks later in your cabinet.

Once they're in, the spread is quiet. They crawl between shelves and into cabinet seams, then burrow into boxed and bagged goods to feed and lay more eggs. One forgotten bag of flour can seed the whole pantry before you spot a single bug.

Signs You Have a Problem

By the time most people notice pantry pests, the bugs have been busy for a while. Catch the early signs and you can stop the spread before it reaches every package on the shelf.

With moths, the telltale clue is fine, silky webbing clumped in the corners of a box or bag. Past that, watch for an off odor or taste in dry goods and small holes chewed near package corners. You might catch the insects themselves: adults, the small worm-like larvae, or shed skins. Moths flying in loops near the ceiling almost always mean an infested food source is nearby.

  • Webbing or clumping inside cereal, flour, or grain packages
  • Tiny holes chewed in box or bag corners
  • A musty smell or off taste in dry food
  • Moths, beetles, larvae, or shed skins in or near the pantry

How to Get Rid of Pantry Pests

Empty the pantry completely and inspect every item. Your source is almost always a long-forgotten bag of flour, grain, or pet food. Toss anything showing insects, webbing, or holes. Seal those products in a bag before they hit the trash so nothing escapes back into the kitchen, then carry the trash outside right away.

Now clean the empty space. Vacuum the shelves, corners, and cracks where eggs and larvae hide, then wipe everything down with warm soapy water and let it dry fully. Skip the harsh chemical sprays on surfaces that touch food. A thorough cleaning lifts out eggs that pesticides tend to miss anyway. And check the cabinets next door while you're at it, because these pests rarely stay on one shelf.

  • Pull every item out and find the infested source.
  • Bag the affected food and discard it outdoors immediately.
  • Vacuum shelves and seams, then wash with warm soapy water.
  • Inspect neighboring cabinets in case it has already spread.

Keep Pantry Pests From Coming Back

Prevention is mostly about storage plus a couple of habits. The single move that matters most is getting flour, cereal, grains, and dry goods out of their original packaging and into airtight glass or hard-plastic containers. Sealed containers keep new pests out and trap any eggs that hitchhiked home, so they can't spread.

A few quick routines make your kitchen a lot less inviting. Some people add a natural deterrent like a few bay leaves or a sprinkle of cinnamon to their shelves. It can't hurt. Clean, sealed storage does the heavy lifting, though.

  • Store dry goods in airtight containers, not their original bags.
  • Wipe up crumbs and spills, and clean the cabinets on a regular schedule.
  • Buy smaller quantities and use older items first.
  • Inspect packages at the store and pass on anything torn or damaged.
  • Check perishables often, since spoiled food draws in more pests.

When to Call a Local Pro

You cleaned out the pantry, sealed your food, and the bugs still came back. That usually means they're breeding somewhere you can't easily reach. Behind cabinet liners, inside wall voids, down in cracks across the kitchen. A problem this stubborn rarely gives up to DIY.

A licensed local pest pro can find the hidden breeding sites, treat cracks and crevices safely around food-prep areas, and set you up with a prevention plan that holds. That beats throwing out groceries every few weeks and hoping this time it sticks.

Good questions

Frequently asked questions

Eating a few by accident isn't dangerous. Pantry pests don't bite or carry disease. They're unpleasant and they ruin food, so toss anything infested, but don't lose sleep over the bites of cereal that already went down.

Most show up as eggs already tucked inside packaged groceries, left there before the food ever reached the store. They hatch later in your cabinet. That's how a sealed box can still turn into an infestation at home.

Find and discard the infested food, then vacuum and wash the cabinet to clear out eggs and webbing. Store the rest of your dry goods in airtight containers. Pheromone traps help mop up any lingering adult moths.

No. Only the items showing insects, webbing, or holes. Sealed cans and food in intact airtight containers are usually fine. Just give a close look to anything that was open or still in its original packaging nearby.

Ready to get matched with a local pro?

Tell us your pest problem and we'll connect you with a top-rated local pest control company, free, with same-week service.

Call nowGet my free quote