How to Get Rid of Moths in Your Pantry and Closet
Protect your food supplies and fabrics with proven storage and cleaning strategies.

Moths are more than a mere nuisance; they can wreak havoc in your pantry and closet, contaminating food supplies and damaging cherished garments. These adaptable pests are adept at hiding in overlooked crevices and multiplying quickly, making thorough intervention essential. In this guide, you’ll discover proven strategies for eradicating moths from your home, steps for safeguarding your food and clothing, and expert-backed advice for long-term prevention.
Understanding Moth Infestations: Pantry vs. Clothes Moths
Before launching an all-out assault, it’s crucial to identify the invaders:
- Pantry moths (Indian meal moths) are drawn to dry food products like grains, cereal, flour, pasta, nuts, and pet food. Their larvae—tiny, creamy caterpillars—do the most damage by feeding and contaminating your food.
- Clothes moths target natural fibers such as wool, cashmere, silk, and sometimes cotton blends. While the adults are often overlooked, their larvae can chew through clothing and upholstery, leaving behind telltale holes and webbing.
Key Signs of a Moth Infestation
Recognizing the warning signs early is essential for effective control:
- Webbing or silk threads in food containers or on fabrics.
- Tiny, cream-colored larvae in dry food packages or on clothes.
- Adult moths flying or resting near food storage or closet areas.
- Sticky cocoons in pantry corners, closet edges, or the seams of garments.
- Irregular holes in clothing or fabrics.
- Musty odor in affected areas, especially with clothes moths.
How to Get Rid of Moths in the Pantry
Step 1: Set Out Pheromone Traps
Pheromone traps, available at most hardware or home goods stores, attract and trap pantry moth males using scent lures. This helps curb the breeding cycle, but traps alone are not sufficient for total eradication. Avoid oversaturating the area with too many traps, which can render them less effective.
- Place one or two traps in problem areas; follow label instructions.
- Monitor and replace traps as needed to keep populations in check.
Step 2: Locate and Remove All Infested Items
The primary source of pantry moth problems lies in hidden larvae and eggs—often in the back of shelves or in food that is expired, forgotten, or improperly sealed. Methodically inspect:
- Open boxes, bags, and packets of grains, cereal, flour, pasta, dried fruit, nuts, spices, and pet food.
- Pay special attention to crevices around lids and inside packaging. Moths can even penetrate unopened boxes with tiny manufacturing or handling holes.
- Discard any item showing signs of larvae, webbing, or damage. Do not attempt to salvage contaminated food, as larvae and eggs may be hard to detect.
- Birdseed is especially attractive to pantry moths—store it only outside or in sealed containers away from the pantry.
Step 3: Deep Clean Your Pantry
Thorough cleaning interrupts the life cycle of pantry moths:
- Empty the pantry completely.
- Vacuum shelves, cracks, and corners meticulously. Remove and clean under shelf liners if possible; larvae often hide in invisible crevices.
- Empty and clean vacuum canister or dispose of bag immediately after use to prevent re-infestation.
- Wash all surfaces—walls, doors, shelves, corners—with hot soapy water, white vinegar, or a mild disinfectant. Let dry completely.
- Wipe down jars, cans, and any containers before returning them to the pantry.
- Replace shelf liners if stained or contaminated.
Step 4: Store Food Properly
Once your pantry is clean, employ these storage strategies:
- Transfer all grains, flour, cereal, pasta, and susceptible foods into airtight, hard plastic or glass containers with snap-lock lids. Use clear containers to quickly spot activity.
- Avoid storing dry foods in their original cardboard or paper packaging, which moth larvae can penetrate.
- Label containers with purchase dates and use older items first (first-in, first-out).
How to Get Rid of Clothes Moths
Step 1: Set Out Clothes Moth Traps
Set pheromone traps designed for clothes moths in the affected closet or wardrobe. These will lure and capture male moths, limiting breeding.
- Close doors to isolate the affected area.
- Follow trap instructions for optimal effectiveness, and resist ‘over-trapping’ which can reduce efficacy.
- Monitor for new activity to gauge infestation levels.
Step 2: Inspect and Treat Affected Clothing
- Examine clothes (especially wool, cashmere, and silk) for holes, webbing, or larvae.
- Wash items in hot water whenever possible, or have them professionally dry cleaned.
- For delicate or dry-clean-only items, exposure to bright sunlight or freezing for at least 48 hours can help kill larvae and eggs.
Step 3: Clean and Declutter the Closet
- Remove all clothing and other storage items.
- Vacuum floors, corners, shelves, and seams thoroughly.
- Wipe surfaces with a mild soap or vinegar solution and allow to air dry.
- Discard, repair, or donate items that show irreparable damage.
Step 4: Identify and Remove Cocoons
Look for cocoons in the closet’s corners, behind baseboards, and at the ends of the closet. Moth larvae often don’t stray far from their feeding source when they pupate. Remove any cocoons promptly and clean those spots diligently.
Natural and Homemade Moth Deterrents
If you prefer non-chemical solutions, several natural deterrents may discourage moths, though they are less effective than comprehensive cleaning and proper storage:
- Herb sachets: Hang or place sachets filled with dried lavender, rosemary, mint, thyme, bay leaves, or cloves in closets or on pantry shelves. Refresh herbs periodically.
- Herb sprays: Make a moth-repelling spray by simmering lavender, lemongrass, or rosemary in water, then spray corners and surfaces after cleaning.
- Mint gum or strong-smelling gums: Scatter pieces in pantry corners for additional deterrence.
- Cedar: Use cedar hangers, blocks, or liners to deter clothes moths. Note that effectiveness wanes over time, so sand or replace cedar periodically.
Note: Natural deterrents repel adult moths but do not kill larvae or eggs. Use them in conjunction with cleaning and trapping methods.
Preventing Future Moth Infestations
Food Storage Tips
- Always store dry foods in airtight, clear containers.
- Inspect new groceries (especially grains, seeds, pet food, and nuts) before bringing them into your pantry.
- Clean shelves and storage bins routinely, even if no activity is visible.
- Do not store birdseed or bulk animal feed indoors.
- Adopt a first-in, first-out system to avoid forgotten, old boxes that attract pests.
Clothing and Closet Maintenance
- Wash or dry clean clothing before storing for the season; larvae thrive on sweat, body oils, and food residue.
- Seal off-season clothing in airtight containers or bags. Vacuum packing is especially effective for wool and cashmere.
- Regularly air out and ventilate closets and drawers to prevent musty, humid conditions that moths favor.
- Vacuum closet floors, rugs, and bedroom areas frequently.
- Use natural repellents or cedar products where suitable, refreshing as needed.
What Doesn’t Work
- Mothballs: While once common, naphthalene-based mothballs are less effective at modern infestation levels and pose health concerns for children and pets.
- Cedar products alone: Cedar balls or cedar-lined closets may help repel but do not eliminate established infestations or kill eggs.
- Overuse of pheromone traps: Excess traps can saturate the environment and confuse moths, reducing trap efficacy.
Frequently Asked Questions (FAQs)
Q: How quickly can moths re-infest my home after cleaning?
A: Moth eggs and larvae are sneaky and resilient. Without proper food storage and routine vigilance, they can return within weeks. Regular monitoring and airtight storage are paramount.
Q: Are natural methods like vinegar or herbal sachets enough?
A: While some natural repellents may deter new adult moths, they will not eliminate a current infestation. Deep cleaning and removing contaminated items are vital steps.
Q: Why shouldn’t I use more than one or two pheromone traps?
A: Too many traps can flood the area with pheromones, confusing moths and reducing capture rates.
Q: Is it possible to get rid of moths completely?
A: Yes—with diligent cleaning, prompt removal of infested materials, improved storage methods, and consistent monitoring, you can eliminate moths and keep them away.
Essential Moth-Fighting Supplies
Product | Use |
---|---|
Pheromone Pantry Pest Traps | Trap & monitor pantry moths |
Pheromone Clothes Moth Traps | Trap & monitor clothes moths |
Airtight Food Storage Containers | Prevent food re-infestation |
Plastic Clothes Storage Containers | Protect off-season clothing |
Cedar Hangers or Blocks | Natural repellent (for prevention) |
Herb Sachets or Sprays | Natural deterrent for closets/pantries |
Expert Tips for Moth Prevention and Home Maintenance
- Make cleaning and inspection a regular part of your pantry and closet routine.
- Schedule deep cleaning at least twice a year in both areas.
- Always address signs of new moth activity immediately—delay increases the difficulty of eradication.
- Be proactive during season changes, when items are stored or rotated.
Authors and Sources
Adapted and synthesized from home maintenance experts, pest control authorities, and research-based cleaning insights. For further professional advice, consult local pest control or entomology resources.
References
Read full bio of Sneha Tete