Bugs in Flour? How to Get Rid of Pantry Pests for Good

Nov 26, 2026

Tiny bugs in your flour are pantry pests. Most are small beetles or the worms of a small moth. They don't bite, sting or harm your house. To get rid of them, throw out food that has bugs in it, vacuum the shelves, and freeze any food you want to keep at 0 degrees for at least 4 days.

Holiday baking is when a lot of people find them, because that is when the old bag of flour finally comes out. If you keep seeing bugs after you clean, our residential pest control service starts with a free inspection to find where they are coming from.

What are the little bugs in my flour?

Most bugs in flour are flour beetles or the worms of the Indian meal moth. Both are common in Missouri homes. University of Missouri Extension lists the ones you are most likely to find:

BugWhat it looks likeSize
Flour beetlesThin, red-brown beetleAbout 1/7 inch
Sawtoothed grain beetleThin, brown, with little "teeth" on the sidesAbout 1/10 inch
Drugstore or cigarette beetleOval, brown, head tucked downAbout 1/10 inch
WeevilsShort, stout beetle with a long snoutAbout 3/16 inch
Indian meal mothSmall moth, wings gray near the body and copper at the endsWings just over 1/2 inch

Sources: MU Extension G7370 and University of Minnesota Extension.

Are pantry bugs dangerous?

No. University of Minnesota Extension says pantry pests don't bite or sting people or pets, and they don't eat or damage your house. The problem is the food. They ruin more food than they eat, so anything with bugs in it should go in the trash.

What other foods do pantry bugs get into?

Pantry bugs get into almost any dry food, not just flour. That includes cereal, rice, pasta, oatmeal, cornmeal, nuts, dried fruit, chocolate, candy and spices. MU Extension says to be extra careful with birdseed and dry pet food. Those are often where it starts.

They can also live in things that aren't food. Minnesota Extension lists dried flowers, potpourri, ornamental corn and garden seeds. That matters this time of year, when fall and holiday decorations come out of storage.

How do I know if I have pantry moths?

Look for webs. Indian meal moth worms leave silk threads as they move. NPIC at Oregon State says webbing or clumps in flour or grains are a sign bugs are there.

The worms often leave the food when they are full grown. Minnesota Extension says it is common to find worms and cocoons on walls and the ceiling near the pantry. You may see small moths flying in the kitchen at night, too.

How do I get rid of bugs in my pantry?

You get rid of pantry bugs by finding every food they are in and taking it out. Sprays won't fix it. Follow these steps from MU Extension, Minnesota Extension and NPIC:

  1. Check every dry food. Open each box, bag and jar. Look for bugs, worms, webs or clumps. Don't forget pet food, birdseed and spices.
  2. Throw out food with bugs in it. Seal it in a bag and take it to the outside trash.
  3. Freeze the food you want to keep. Put it in a freezer at 0 degrees for at least 4 days. That kills eggs you can't see.
  4. Vacuum the shelves. Use the thin crevice tool on corners and cracks. Empty the vacuum or toss the bag when you are done.
  5. Wash the shelves. Use hot, soapy water. Check under shelf paper and in drawers for cocoons.
  6. Store food in sealed containers. Use glass, metal or thick plastic with a tight lid.

Don't be surprised if you see a few moths for a while. Minnesota Extension says moths can keep flying for up to 3 weeks after the bad food is gone.

Should I spray my pantry for bugs?

No. Illinois Extension says bug spray is not recommended because it doesn't reach the bugs inside the food. Minnesota Extension agrees. NPIC also warns never to use mothballs around food. Bleach and ammonia don't help either. Minnesota Extension says they won't keep pantry bugs from coming back.

How do I keep pantry bugs from coming back?

Keep bugs out by buying what you will use soon and sealing it up. These steps help:

  • Buy smaller bags of flour, cereal and pet food that you will use up fast.
  • Check packages at the store. Skip any that are torn or open.
  • Move new food into sealed containers when you get home. Minnesota Extension says the bugs can chew through paper, cardboard and thin plastic.
  • Use older food first and clean up spills on shelves.
  • Freeze flour for 4 days when you bring it home if you have had pantry bugs before.

Minnesota Extension says there is no proof that bay leaves or gum in the cupboard keep bugs away.

Bugs in flour FAQ

Is it safe to eat flour that had bugs in it? Throw it out. Pantry bugs don't bite, but they ruin food, and MU Extension says to throw away any food that has bugs in it.

Where did the bugs come from? Most come home in a package of food or pet food. Minnesota Extension says it most often starts at the store or in the home, not at the factory.

Can pantry bugs spread to the rest of my house? Not really. They stay where the dry food is. You may see moths or worms on nearby walls or the ceiling, but they don't eat or damage the house.

How long do I freeze flour to kill bugs? At least 4 days at 0 degrees, per MU Extension and Minnesota Extension. NPIC suggests a full week to be safe.

Get help with bugs in your home

Pantry bugs are a cleaning job most of the time. If they keep coming back after you clean, or you are also seeing roaches, mice or other bugs, something else may be going on. Mice also love pantry food. See what to watch for in our posts on mice in Missouri homes and pest control in the winter.

At Hometown Pest Solutions in St. Peters, we serve St. Peters, O'Fallon, St. Charles, Wentzville and nearby towns. Learn about our residential pest control service, request a free pest inspection, or call or text 636-297-1335. We are open 7 days a week.

636-297-1335