How to Use Diatomaceous Earth for Pests
Quick answer: Food-grade diatomaceous earth (DE) kills insects mechanically, not with poison. Its microscopic edges scratch the waxy coating on an insect's shell, and it absorbs the oils and moisture underneath, so the bug dries out and dies within days. Apply a thin, barely visible layer in dry cracks and along insect trails, wear a dust mask, and reapply after it gets wet. It is a slow, supplemental tool, not an instant fix.
Diatomaceous earth is one of the most popular do-it-yourself pest products because it is inexpensive, low in toxicity to people and pets when used correctly, and works against a wide range of crawling insects. It is also widely misunderstood: people expect it to wipe out an infestation overnight, spread it in thick piles the bugs simply walk around, or grab the wrong grade entirely. Used the right way, DE is a genuinely useful part of a pest-control plan. The honest bottom line up front is that it is a supplement, best paired with sanitation and, for serious infestations, a licensed pest control pro.
What food-grade diatomaceous earth is
Diatomaceous earth is a soft, powdery sedimentary rock made from the fossilized remains of diatoms, which are tiny aquatic organisms with silica shells. Ground into a fine powder, it feels like flour to us but is covered in microscopic sharp edges at the scale of an insect. That physical structure, not any chemical toxin, is what makes it work as an insecticide.
There is one distinction that matters more than any other: grade. Buy only food-grade DE for pest control. Pool-grade (also called filter-grade) DE has been heat-treated in a process called calcination that changes its silica into a crystalline form. Crystalline silica is a respiratory hazard and is far less effective at killing insects, so pool-grade DE is the wrong product for pest use on both counts. Always check the label and confirm it says food-grade.
Use FOOD-GRADE diatomaceous earth only. Pool-grade or filter-grade DE is heat-treated into crystalline silica, which is a lung hazard and works poorly on insects. It is not a substitute and should never be used for pest control indoors or around people and pets.
How diatomaceous earth kills insects
The mechanism is entirely mechanical, which is why insects cannot develop resistance to it the way they can to chemical pesticides. When an insect walks through DE, two things happen. First, the powder's abrasive microscopic edges scratch and wear away the waxy, water-retaining layer on the outside of the insect's exoskeleton. Second, the highly absorbent silica draws out the oils and moisture from the insect's body.
Insects rely on that waxy cuticle to hold water inside their bodies. Once it is compromised and DE is pulling moisture out, the insect cannot retain enough water and dies of dehydration. This takes time, typically several hours to a few days depending on how much DE the insect contacts and the conditions. It is lethal but never instant, which is the single most important thing to understand before you rely on it.
Because the process depends on dryness, DE only works when it is dry. Wet DE clumps, loses its abrasive dusty structure, and stops absorbing moisture from insects, which is why both application and reapplication hinge on keeping the powder dry.
Which pests DE helps with, and which it will not solve alone
DE works on crawling insects that walk across a treated surface. It does essentially nothing to flying insects in the air, and it does not draw pests toward it, so it only affects bugs that physically travel through the powder. Here is an honest breakdown of where it helps and where you should temper expectations.
| Pest | Does DE help? | How to use it |
|---|---|---|
| Ants | Yes, as a supplement | Dust along trails, entry points, and around the foundation; pair with baiting to reach the colony |
| Cockroaches | Yes, as a supplement | Apply thin lines behind and under appliances, in cracks, and along baseboards where roaches travel |
| Fleas | Partly | Light dusting on carpet, pet resting areas, and cracks; must be paired with treating the pet and washing bedding |
| Bed bugs | Partly, not a cure | Dust around bed legs, in cracks and outlet plates as a barrier; will not clear an infestation alone, call a pro |
| Silverfish, earwigs, millipedes | Yes | Dust cracks, closets, basements, and damp entry areas where they hide and enter |
| Flying insects (flies, mosquitoes) | No | DE only affects insects that walk through it; it does not control pests in flight |
Ants
DE will kill individual ants that cross it and can help block trails, but it does not by itself eliminate the colony, and the queen is what keeps an infestation going. For lasting control, use DE alongside ant baits, which worker ants carry back to the nest. Think of DE as a barrier and knock-down tool, not a colony killer.
Cockroaches
Roaches pick up DE on their bodies and legs as they travel their usual routes, so thin lines in the cracks and voids behind and under appliances can meaningfully reduce a population over time. It works best in combination with sanitation, removing food and water sources, and gel baits for a heavy infestation.
Fleas
DE can help kill adult fleas and larvae in carpets and resting areas, but it is only one front of a flea problem. Fleas live largely off the pet as eggs, larvae, and pupae, so DE indoors accomplishes little unless you also treat the pet with a vet-recommended preventive and wash bedding in hot water. See our full guide on how to get rid of fleas and ticks for the complete plan.
Bed bugs
This is where honesty matters most. DE can kill bed bugs that crawl through it and is sometimes used as a barrier around bed legs and in cracks, but it is not a standalone bed-bug cure. Bed bugs hide in mattress seams, wall voids, and furniture the powder never reaches, they breed quickly, and they are notoriously hard to eradicate. Relying on DE alone almost always leaves an infestation to grow. For bed bugs, use DE only as a minor supplement and get a licensed bed bug professional involved early.
How to apply diatomaceous earth, step by step
The most common mistake is using too much. A thick pile of DE is something insects will simply walk around, and it will not stick to their bodies. You want a thin, barely visible layer, almost a haze, so bugs have to walk through it and pick it up.
- Wear a dust mask and, ideally, eye protection before you start, and keep pets and children out of the room while you apply.
- Make sure the target areas are dry; DE does not work on wet or damp surfaces.
- Use a duster or a squeeze applicator bottle for even, light coverage. A puff of thin dust works far better than a spoonful poured out.
- Apply a thin layer along insect trails, in cracks and crevices, behind and under appliances, along baseboards, and at entry points like door thresholds and utility penetrations.
- Treat where crawling insects hide and travel, not open floors and countertops where the visible dust does no good and just makes a mess.
- For outdoor use, dust around the foundation, entry points, and other dry, protected areas; reapply after rain or watering.
- Leave it in place for several days so insects have time to contact it; DE is slow and needs that window to work.
- Reapply whenever the DE gets wet, is vacuumed up, or gets disturbed, since it only works while dry and in place.
Less is more. A thin, almost invisible film of DE works; a visible pile does not. Insects walk around thick powder but will track through a fine dusting and carry it back to where they hide.
Safety: how to use DE without risking your lungs
Food-grade DE is low in toxicity if swallowed and is even added to some stored grains, which is why it is considered relatively safe around homes. The real hazard is inhalation. Any fine dust, DE included, can irritate the lungs, nose, and throat when it becomes airborne during application, so treat the dust itself as the thing to manage.
- Always wear a dust mask (an N95 is ideal) when applying DE, because the application step is when it is most airborne.
- Avoid inhaling the dust, and apply in a way that keeps clouds down; puff it into cracks rather than tossing it into the air.
- Keep pets and children out of the area during application and until the dust has settled.
- Never use pool-grade or filter-grade DE indoors or anywhere near people or pets; its crystalline silica is a genuine respiratory hazard.
- Wipe up excess visible dust from open surfaces; only the DE tucked into cracks and along trails needs to stay.
- Keep DE dry in storage and away from food-preparation surfaces where it could become airborne during cooking.
Used with a mask and a light hand, food-grade DE is one of the gentler tools in home pest control. The caution is about breathing the dust during application, not about lingering toxicity on treated surfaces.
The real limits of diatomaceous earth
DE earns its place in a pest-control kit, but overselling it leads to disappointment and, worse, to infestations that grow while you wait for a powder to do a professional's job. Keep these limits clearly in mind.
- It is slow. Insects die over hours to days, not instantly, so it is the wrong tool when you need a fast knockdown.
- It only works dry. Moisture, humidity, rain, and mopping all disable it, so it needs reapplication in any damp environment.
- It only affects insects that walk through it. Flying pests and bugs hiding where the dust cannot reach are unaffected.
- It does not reach the source. It kills individuals but not ant colonies, hidden roach harborage, or bed bugs deep in furniture and walls.
- It is not a standalone bed-bug cure. Treating bed bugs with DE alone reliably fails; professional treatment is what clears them.
- It can be messy. Overapplication leaves visible dust and, if disturbed, more airborne particles to breathe.
The right way to frame DE is as a supplement: a barrier and a slow, resistance-proof knock-down that complements sanitation, baiting, and professional treatment. It is excellent at what it does and poor at what it does not, and knowing the difference is what makes it useful.
When to call a professional
Reach for a licensed pro when an infestation is large or spreading, when the pest is a bed bug, when DIY efforts including DE have not turned the problem around after a couple of weeks, or when the pest poses a health risk. A professional brings targeted products, the training to find where pests actually hide, and follow-up visits that a bag of powder cannot match.
For anything DE cannot handle alone, compare license-verified pest control pros near you and request a free quote. If your problem is fleas or bed bugs specifically, start with flea control specialists or bed bug specialists who treat the whole infestation, not just the insects you can see.
Run a pest control company? List your business on PestPin or see how our pro plans work to reach homeowners searching for help in your area.
Frequently asked questions
Is diatomaceous earth safe for pets?
Food-grade DE is low in toxicity if a pet swallows a small amount, but the dust can irritate a pet's lungs and eyes if it becomes airborne. Keep pets out of the room during application and until the dust settles, use only food-grade DE, and never use pool-grade DE around animals.
How long does diatomaceous earth take to kill bugs?
It is slow. Insects that contact DE typically die within several hours to a few days as it wears away their protective coating and dries them out. It is never an instant kill, so leave it in place for several days and do not expect overnight results.
What is the difference between food-grade and pool-grade DE?
Pool-grade (filter-grade) DE is heat-treated into crystalline silica, which is a respiratory hazard and works poorly on insects. Food-grade DE is untreated, far safer to handle, and effective. Use food-grade only for pest control; never use pool-grade indoors or around people and pets.
Does diatomaceous earth work when it gets wet?
No. DE only works while dry. Moisture makes it clump and stops it from absorbing water out of insects. If treated areas get wet from rain, humidity, or mopping, the DE stops working and needs to be reapplied once the surface is dry again.
Will diatomaceous earth get rid of bed bugs on its own?
No. DE can kill bed bugs that crawl through it and works as a minor barrier around bed legs and in cracks, but bed bugs hide where the dust never reaches and breed too fast for it to clear an infestation alone. Bed bugs almost always require a licensed professional.
How much diatomaceous earth should I use?
A thin, barely visible layer. Thick piles do not work because insects walk around them and the powder will not stick to their bodies. Use a duster to lay down a fine haze along trails and in cracks so bugs are forced to walk through it.
Do I need a mask to apply diatomaceous earth?
Yes. The main risk with DE is inhaling the fine dust while applying it. Wear a dust mask, ideally an N95, apply it in a way that keeps dust clouds down, and keep pets and children out of the area during application.
Where should I put diatomaceous earth for ants and roaches?
Dust thin lines along insect trails, at entry points, along baseboards, in cracks and crevices, and behind and under appliances where ants and roaches travel and hide. For ants, pair it with bait so the colony is affected, since DE alone will not eliminate the nest.