How to Get Rid of Ants in the Garden Without Chemicals
Most ants in the garden are harmless — they aerate soil and clean up dead insects. They become a problem in three situations: when they build large mounds in paths and beds, when they nest in potted plants and dry out the roots, and above all when they farm aphids. Ants protect aphid colonies from predators so they can harvest the sugary honeydew the aphids produce, which means an ant problem is often really an aphid problem wearing a different uniform.
The good news: you can manage ants without broadcasting poison through the garden. The approach below targets the colony and the food source, using methods that are safe around vegetables, pets, and beneficial insects.
What You Will Need
- Food-grade diatomaceous earth — the dry abrasive powder that dehydrates ants (Harris is a common brand).
- Borax, sugar, and water — for the classic DIY ant bait that workers carry back to the colony.
- Insecticidal soap or neem oil — to eliminate the aphids the ants are protecting.
- Boiling water or orange oil spray — for drenching mounds in open areas.
- Pot feet or saucers — to keep container plants ant-free.
Step-by-Step: Get Rid of Ants Without Chemicals
Step 1 — Figure out what the ants are doing
Watch the trails. If ants are climbing your plants and hovering around the stems, they are tending aphids. If they are building mounds in the lawn or path, they are nesting. If they are streaming into a pot, they are nesting in the root ball. Each situation has a different fix, and spraying blindly at a trail of workers rarely solves any of them.
Step 2 — Remove the aphids, remove the reason
If ants are farming aphids, deal with the aphids and the ants lose interest. Spray the aphid colonies on leaf undersides with insecticidal soap or neem oil, and wash off the honeydew. Once the food source is gone, the ant trail disappears within days. This single step resolves the most common backyard ant complaint without touching a single ant.
Step 3 — Set borax and sugar baits along the trails
Mix one part borax with three parts sugar, dissolve it in a little warm water, and soak a cotton ball or place small dollops on cardboard near the trails. Ants carry the sweet bait back to the nest, where it gradually disrupts the colony — including the queen. It takes a week or two, but it works at the source. Keep baits where pets and children cannot reach them.
Step 4 — Dust diatomaceous earth around entry points
Sprinkle food-grade diatomaceous earth along ant trails, around bed edges, and under pots. The sharp particles damage ants’ exoskeletons and they dehydrate. It is a barrier, not a bait, so focus it where you see travel. Reapply after rain or watering, and avoid dusting flowers where pollinators land.
Step 5 — Drench mounds with boiling water or orange oil
For mounds in open areas — not on top of plant roots — the classic treatment is a kettle of boiling water poured directly into the nest entrance, repeated once or twice over a few days. A gentler option is a citrus-based (d-limonene) spray drenched into the mound, which is popular with organic gardeners. Both work best in the evening when the colony is home.
Step 6 — Keep ants out of containers
Set potted plants on feet or saucers, and check the drainage holes for nest activity. If ants have colonized a pot, submerge the whole pot in a bucket of water for 20 minutes to flood them out, then let it drain thoroughly. Keeping the potting mix from drying out completely also discourages nesting.
Step 7 — Prevent the return
Ants follow scent trails, so wipe down surfaces with soapy water to erase them. Keep garden debris and loose stones cleared from bed edges. And remember: ants are an indicator. If they keep coming back, look for the food source — usually aphids, or spilled sweet liquids near the house.
Common Mistakes to Avoid
- Killing only the workers you see. Workers die, the queen keeps laying. Baits that get back to the colony are the way to actually reduce numbers.
- Treating ants without treating aphids. The ants are just the aphids’ bodyguards. Remove the aphids and half the problem leaves on its own.
- Dousing the whole garden with spray. Broad sprays harm beneficial insects and never reach the nest.
View ant control supplies and current prices on Amazon
FAQ
Are ants in the garden always bad?
No. Many species are beneficial — they aerate the soil, break down organic matter, and prey on other insects. Intervene only when they mound up, invade containers, or farm aphids.
Is borax safe around vegetable plants?
Borax is a naturally occurring mineral, but it is toxic in quantity and should be kept off edible parts. Use it in contained baits placed away from plants you harvest, and out of reach of children and pets.
Why do ants climb my fruit trees?
Almost always for honeydew from aphids, scale, or mealybugs. Treat the sap-sucking insects, band the trunk with a sticky barrier if needed, and the ant traffic stops.
Will diatomaceous earth hurt earthworms?
Earthworms are generally tolerant of food-grade diatomaceous earth when it is dusted dry on the surface, and the effect is minimal at the thin rates used for ant control. Avoid heavy drenching applications near worm-rich beds; focus dust where ants travel.
Bottom Line
Ant control in the garden is mostly a matter of removing the food source and targeting the nest. Handle the aphids, set borax baits, dust diatomaceous earth on the trails, and drench mounds in open areas — no broadcast chemicals needed. In a low-disturbance, mulch-rich garden, ants mostly stay in their lane, and when they do not, this system brings them back in line.
As an Amazon Associate, I earn from qualifying purchases.

