Few things are more annoying than opening a bag of rice and finding tiny beetles, webbing or moths. If you've ever wondered why bugs keep appearing in your rice, the answer is usually a combination of how grain is stored and where it sits in your pantry, not how clean your kitchen is. This guide by SFMart explains how to keep bugs out of rice and grains, how to store rice, oats and barley so they stay fresh, whether freezing kills weevils, and what to do if you find an infestation.
Quick Answer
To keep bugs out of rice, oats and other grains: (1) move them out of paper, thin plastic or cardboard packaging into rigid airtight containers (glass, hard food-safe plastic or metal); (2) keep them in a cool, dry, dark spot and buy only what you'll use within a few months; (3) freeze new bulk bags at 0°F for 4 to 7 days if you want to be sure any eggs are dead; and (4) use the oldest stock first and inspect containers regularly. For long-term storage, add oxygen absorbers in Mylar bags or sealed food-grade containers.
Why Do Bugs Keep Appearing in Rice and Grains?
Pantry pests such as rice weevils, granary weevils and grain moths are commonly found in stored grain products. Rice weevils are small reddish-brown to black snout beetles, about 1/8 to 1/4 inch long, and weevils feed inside whole grain kernels. Grain moths lay eggs on grain, and the larvae hatch and feed on it. Some, like the Angoumois grain moth, infest barley, rye, corn, oats, rice and other seeds.
Where do they come from? Usually not your kitchen. Eggs can arrive already in grain products, which are too small to see, and then hatch weeks later in warm conditions. A few things make an infestation more likely:
- Flimsy packaging. Utah State University Extension notes that insects can chew through paper, plastic and foil bags.
- Warmth and humidity. A warm pantry next to the stove or dishwasher speeds up development.
- Old, half-used bags at the back of the shelf. Check these first, since a long-forgotten bag is often the source.
- Spilled grain and crumbs that feed insects and let them spread to other products.
If you're not sure whether your rice is simply old, our guide to whether rice can go bad or expire explains the difference between spoilage and pests, and what a normal shelf life looks like.
The Best Containers for Storing Rice and Grains
The container matters more than anything else. Use a rigid, airtight one.
- Glass jars with tight lids. Easy to see into, so you'll spot trouble early, and easy to clean.
- Hard food-safe plastic containers with gasket or snap-lock lids. These are a good choice for 5 to 12 pound bags.
- Metal tins or canisters, as long as the lid seals tightly.
- Mylar-type bags (sealed, often with an oxygen absorber) for long-term storage. Utah State University Extension lists PETE food-safe plastic containers, glass jars, enamel-lined cans and Mylar-type bags as the options that work best.
- Food-grade buckets with gasket lids for bulk storage. Make sure the bucket is labeled food-safe, and never reuse one that holds chemicals or paint.
What to avoid: leaving rice in its original paper bag, a clip-closed plastic bag, or an open bowl. These don't stop insects and don't keep out moisture.
Tip: Put a label on each container with the date you bought the grain, so you can use the oldest first.
How to Store Rice
- Dry white rice lasts the longest. Utah State University Extension says properly sealed polished white rice lasts 25 to 30 years in ideal long-term storage (oxygen-free, cool), and that after opening, it's best used within one to two years. For everyday pantry use, a few years is realistic, though quality is best when you use it sooner.
- Brown, black and other whole-grain rice keep their bran and germ, which contain natural oils that can turn rancid. As a result they have a shorter shelf life, roughly 6 months to a year at room temperature. Store them in the refrigerator or freezer if you won't finish them quickly.
- Keep the temperature low. The best storage temperature is 40°F or below, according to the same source. At a steady 70°F with oxygen absorbers, rice stores well for up to 10 years.
Shop SFMart's organic rice collection for white rice, brown rice, black rice and more, in 3 lb and 12 lb sizes. You can also browse organic brown rice on its own.
How to Store Oats to Prevent Bugs
Oats contain more natural fat than white rice, so they need a bit more care.
- Keep them airtight. Move oats from the canister or bag into a sealed jar or container as soon as you open them.
- Pantry life. Bob's Red Mill says rolled oats keep 18 to 24 months in an airtight container in a cool, dry place, and more than 3 years in the freezer. Ground oat flour goes off faster, in under a year.
- Buy what you'll use. If you only eat oatmeal now and then, buy smaller bags or freeze part of a large one.
If you bake or meal-prep with oats, see our guides on which oats to use for baking and batch-cooking oatmeal for the week. You can shop the full organic oat collection when you're ready to restock.
How to Store Barley and Other Whole Grains
Barley and other grains, like millet and quinoa, follow the same rules: airtight containers, a cool, dry place, and no old bags at the back of the shelf. Grains that keep more of their bran, such as hulled barley, behave like brown rice, with a shorter pantry life than refined grains, so they benefit most from cool storage. If you're unsure which type you have, our post on hulled vs pearl barley explains the difference.
Bob's Red Mill says intact whole grains last up to about 6 months in the pantry and up to a year in the freezer, so if you buy larger quantities, freeze what you won't use soon. Browse SFMart's organic barley, organic small grains and organic mixed grain collections.
If you cook with multi-grain blends, our guide to Korean multi-grain rice mix covers how to use them, and the same storage rules apply to every ingredient in the mix.
You might want to read this guide by SFMart on how to store rice, oats and grains so you never get pantry bugs.
Does Freezing Rice Kill Weevils and Their Eggs?
Yes, if it's cold enough for long enough. Extension guidance from Utah State University says to freeze infested or suspect food at 0°F or lower for 4 to 7 days, making sure the contents are thoroughly frozen, which kills all life stages, including eggs and pupae. The University of Kentucky gives 0°F for 4 days for treating grain-infested items.
How to do it:
- Put the grain in a sealed freezer bag or airtight container.
- Freeze at 0°F for at least 4 days; 7 is safer if your freezer is crowded or doesn't hold a steady temperature.
- Let the container warm to room temperature before opening it to avoid condensation.
- Move the grain to its regular airtight container for the pantry.
A freezer that runs warm or is packed solid may not reach 0°F quickly, so a longer freeze is the safer option. It's a good habit to freeze new bulk bags, especially during warm months.
What about heat? Utah State University Extension says spreading grain on a tray in an oven at 130 to 140°F for 30 to 60 minutes also works, but heating may change the grain and isn't always practical. Never heat finely ground grains such as flour, because of the risk of fire.
Oxygen Absorbers, Mylar Bags and Long-Term Storage
If you buy in bulk and want to store grain for years, use an oxygen-free method:
- Fill a Mylar bag, PETE container or enamel-lined can with clean, dry grain.
- Add a food-safe oxygen absorber sized for the container. Utah State University Extension recommends them to preserve quality and protect against insect infestation.
- Seal tightly, label with the date and store somewhere cool and dark.
Inspect the grain for insects and discoloration before sealing. Sealing in a pest that's already there won't solve the problem. For rice, remember that this works best for dry white rice. Whole-grain varieties with their natural oils are best kept for shorter periods, in cool conditions or in the freezer.
How to Tell If Your Grains Have Pests
- Tiny beetles or moths in the pantry or on the shelf
- Fine webbing or clumped grain
- Small holes in kernels, or kernels that look hollowed out
- A musty or sour smell, or discoloration
- Packaging with holes or tears
Check partially used boxes and bags at the back of the shelf first. According to the University of Kentucky, seeing many insects points to an older infestation.
What to Do If You Find Bugs in Rice or Grains
- Isolate it. Seal the infested container in a bag and take it out of the kitchen.
- Check everything nearby. Look at open packages of flour, cereal, pasta, nuts, dried fruit and pet food.
- Throw away heavily infested food. If the food has little value, discard it.
- Clean the shelves. Vacuum corners and shelf edges, remove crumbs, and wipe with soap and water or a disinfectant.
- Replace packaging. Move remaining grains into new airtight containers.
- Keep checking for a few weeks. If bugs return, something nearby is still infested.
Is it safe to eat rice that had bugs in it? Generally yes. Utah State University Extension says pantry pests don't contain toxins or diseases harmful to humans, though they can spread molds and bacteria and cause off flavors and odors, and reduce nutritional quality. If an infestation is severe, or the food smells off or looks moldy, throw it away.
Pantry Storage Checklist
- Transfer grains into airtight containers as soon as you get home.
- Freeze new bulk bags for 4 to 7 days before storing.
- Store in a cool, dry, dark place, away from the stove and dishwasher.
- Buy only what you'll use within a few months, and freeze extras.
- Label every container with the purchase date.
- Use the oldest first.
- Clean shelves and wipe up spills every few weeks.
- Inspect grains each time you use them.
Final Thoughts
Keeping bugs out of your grains comes down to a few simple habits: use rigid airtight containers, keep them cool and dry, freeze new bulk bags when you can, and rotate your stock. With the right storage, rice, oats and barley stay fresh for months, and you won't have to throw away a bag again.
Ready to stock up? Browse SFMart's organic rice, organic oats, organic barley and organic mixed grain collections, or see the full range of organic grains.
