Home plant-care-n-maintenance pest-n-disease-control How to Use Diatomaceous Earth for Plant Pests Safely and Effectively
Pest Control

How to Use Diatomaceous Earth for Plant Pests Safely and Effectively

Food-grade diatomaceous earth is an effective mechanical treatment for crawling garden pests when used correctly. Learn which insects it controls, how to apply it properly, and how to protect pollinators.

Daniel Marsh Daniel Marsh
August 26, 2026
8 min read
Medium
How to Use Diatomaceous Earth for Plant Pests Safely and Effectively

Ants trailing across the rim of a pot. Tiny black flies lifting off the soil every time you water. Something chewing seedlings off at the base overnight. These are three different problems, and most gardeners reach for three different sprays to solve them. Diatomaceous earth for plant pests solves a specific slice of that list, and it does it without a single chemical.

Diatomaceous earth, or DE, is a fine powder made from the fossilized shells of microscopic algae called diatoms. Under a microscope, each particle looks like broken glass. That's the entire mechanism — no toxins, no residue that breaks down into something else, just physical abrasion. It works on contact, and it works fast, but only against pests it can actually reach.

This guide covers what DE is and isn't, which pests it controls, how to apply it so it stays effective, and how to keep it away from the pollinators your garden depends on.

What Diatomaceous Earth Actually Is

Only one type belongs anywhere near your plants: food-grade DE. Pool-grade diatomaceous earth is heat-treated and contains high levels of crystalline silica, which is hazardous to inhale and unsafe for garden use. Food-grade DE is untreated, made of amorphous silica, and safe to handle with basic precautions. Check the bag. If it doesn't say "food grade" explicitly, don't use it on plants.

The powder itself is inert. It has no smell, no active ingredient in the chemical sense, and no expiration date as long as it stays dry. That last point matters more than any other fact in this article.

Bag of food-grade diatomaceous earth beside a light dusting of the powder on soil
Food-grade DE is the only type safe to use around plants — pool-grade versions are hazardous to inhale.

How It Kills Pests

Each diatom particle is coated in microscopic sharp edges, invisible to the naked eye but devastating to an insect's exoskeleton. When a crawling pest moves across treated soil or a treated surface, the particles scratch through the waxy outer layer that keeps its body from losing moisture. Once that layer is compromised, the insect dehydrates and dies, typically within 24 to 48 hours.

DE has zero effect once it gets wet. Water causes the particles to clump and lose their abrasive edges. Reapply after every watering, rainfall, or humidity spike that leaves the surface visibly damp.

Which Pests It Controls — and Which It Doesn't

Crawling Insects It Stops

DE works against pests that physically walk across a treated surface: ants, earwigs, pill bugs, slugs, crawling beetle larvae, and fungus gnat larvae in the top layer of soil. Apply a thin layer to the soil surface and around the pot's rim, and reapply every 3 to 5 days until activity stops.

Pests It Won't Touch

DE does nothing for aphids, spider mites, whiteflies, or thrips feeding on the underside of leaves — those pests rarely make contact with a dusted surface long enough for the mechanism to work. It's also useless against pests already inside plant tissue, like leaf miners or vine borers. Don't rely on it as a standalone treatment for a mixed infestation; pair it with a targeted insecticidal soap for sap-feeding insects.

Dealing with fungus gnats specifically? Here's the full soil-level fix

How to Apply DE Correctly

  1. Wait for a dry day. Never apply to wet soil or damp foliage — the powder needs to stay dry to stay effective.
  2. Wear a dust mask. Food-grade DE is safe for plants, but the fine particles can still irritate lungs during application.
  3. Dust a thin, even layer directly onto the soil surface, focusing on the top inch where gnat larvae live and around the base of the stem where crawling pests enter.
  4. For ant trails, apply a continuous line along their path — a broken line lets them route around it.
  5. Avoid dusting flowers or open blooms. Save that detail for the next section.
  6. Check the treated area every 2 to 3 days. Reapply immediately after any watering or rain.

Used this way, diatomaceous earth for plant pests remains effective while limiting unnecessary exposure to beneficial insects.

Protecting Pollinators and Beneficial Insects

DE doesn't distinguish between a fungus gnat and a honeybee. The same mechanical damage that kills pests will harm bees, ladybugs, and other beneficial insects on contact. Keep application to soil and stem bases, never on open flowers, and never during active bloom on plants that pollinators are visiting. If a plant is flowering, treat the soil in the early morning or evening when pollinator activity is lowest, and brush any stray powder off petals before bees arrive for the day.

Common Application Mistakes

Applying too thick a layer wastes product without improving results — a light, even dusting is all the mechanism needs. Spraying DE mixed with water defeats the purpose entirely; keep it dry, always. Treating only the pot's surface while ignoring the saucer and the area directly beneath it leaves an untreated entry point for crawling pests. And skipping reapplication after watering is the single most common reason gardeners conclude DE "doesn't work" — it's not failing, it's just wet.

What to Do Next

Diatomaceous earth isn't a cure-all, and it was never meant to be one. Used correctly, on the right pests, kept dry, and kept away from blooms, it's one of the most reliable tools available for crawling insect control without introducing a single chemical to your growing space.

Read our latest pest and disease diagnostics for more plant problems solved.

Daniel Marsh

Written by

Daniel Marsh

Calm expert plant care problem-solver

Daniel focuses on the technical side of plant health — pest and disease diagnosis, watering science, fertilizers, and tools.

More from Daniel Marsh →

Keep Exploring

How to Get Rid of Aphids on Houseplants Without Harsh Chemicals

Pest Control

How to Get Rid of Aphids on Houseplants Without Harsh Chemicals

8 min read
How to Identify Scale Insects Before They Damage Houseplants

Plant Care

How to Identify Scale Insects Before They Damage Houseplants

7 min read
How to Use Yellow Sticky Traps for Pest Control (Correctly)

Plant Care

How to Use Yellow Sticky Traps for Pest Control (Correctly)

8 min read
Why Neem Oil Is Not Working: 8 Reasons Pests Keep Coming Back

Pest & Disease Control

Why Neem Oil Is Not Working: 8 Reasons Pests Keep Coming Back

7 min read
Shore Flies vs Fungus Gnats: How to Tell Which Pest You Have

Pest & Disease Control

Shore Flies vs Fungus Gnats: How to Tell Which Pest You Have

9 min read