Natural Ways to Get Rid of Ants That Actually Work

The most effective natural way to get rid of ants is a homemade bait made with boric acid and sugar, which worker ants carry back to the colony and feed to the queen. Unlike sprays or repellents that only kill ants on contact, baits eliminate the source. Other natural options, like diatomaceous earth and essential oils, work well as supporting tools depending on where and how you use them.

The key to any natural approach is understanding that killing the ants you can see rarely solves the problem. A colony can contain thousands to hundreds of thousands of ants, and the queen keeps producing more. Your strategy needs to either reach the queen or make your home unappealing enough that the colony moves on.

Boric Acid Bait: The Most Effective Option

A sugar and boric acid bait works because it exploits ant behavior. Worker ants find the sweet liquid, drink it, and carry it back to share with the rest of the colony, including the queen. Boric acid is toxic to ants but acts slowly enough that workers survive long enough to spread it through the nest before dying. This is what makes it far more effective than anything that kills on contact.

The recipe from the University of Hawaiʻi’s College of Tropical Agriculture is straightforward: dissolve 1 teaspoon of boric acid powder and 3 tablespoons of white sugar in about 1¾ cups of warm distilled or bottled water (tap water can contain chlorine that deters ants). Pour small amounts into shallow containers like bottle caps and place them along ant trails and near entry points. Leave the stations out for up to one or two months. You want ants to feed freely, not die before they return to the colony.

Boric acid powder is sold at most hardware stores and pharmacies. It’s low in toxicity for humans but should still be placed out of reach of small children and pets.

Diatomaceous Earth for High-Traffic Areas

Food-grade diatomaceous earth is a fine powder made from fossilized algae. Under a microscope, the particles have razor-sharp edges that cut through an ant’s waxy exoskeleton as it crawls over the powder. Once the exoskeleton is damaged, the ant loses moisture rapidly and dies from dehydration.

Dust a thin layer along baseboards, windowsills, doorframes, and any cracks where you see ants entering. It works best in dry conditions. Moisture clumps the powder and dulls its effectiveness, so reapply after cleaning or if the area gets wet. Only use food-grade diatomaceous earth indoors. Pool-grade DE is chemically treated and harmful to breathe in.

The limitation of diatomaceous earth is that it only kills ants that physically walk through it. It won’t reach the queen or eliminate a colony on its own, but it’s excellent for defending entry points and killing foragers.

Essential Oil Sprays as Repellents

Several essential oils repel ants effectively. Peppermint oil contains menthol, which ants find highly irritating. Cinnamon oil gets its repellent power from cinnamaldehyde. Lemon oil contains citral and limonene, both potent deterrents. Tea tree, lavender, and eucalyptus oils also disrupt ant scent trails.

A simple spray: mix 10 drops of peppermint oil with 1 cup of water and an optional teaspoon of dish soap (which helps the mixture stick to surfaces). Spray along windowsills, doorframes, countertops, and anywhere you’ve seen ant activity. Reapply every few days, as the oils evaporate and lose potency over time.

Essential oils repel ants but don’t kill colonies. Think of them as a boundary tool. They’re most useful after you’ve sealed entry points and set out baits, as an extra layer of deterrence.

A Safety Note for Cat Owners

Cats lack a liver enzyme needed to metabolize many essential oils, making them unusually sensitive to compounds that are harmless to humans and dogs. Peppermint, cinnamon, eucalyptus, tea tree, citrus, and clove oils are all on the Pet Poison Helpline’s list of oils known to cause poisoning in cats. Symptoms range from drooling and vomiting to tremors, breathing difficulty, and liver failure. Even passive diffusers can cause respiratory irritation in cats, and oil droplets from active diffusers can settle on fur and be ingested during grooming. If you have cats, stick to boric acid baits and diatomaceous earth instead.

Vinegar and Lemon Juice for Trail Disruption

Ants navigate using pheromone trails, invisible chemical paths that guide other workers from the colony to a food source. Wiping down surfaces with a 50/50 vinegar and water solution or lemon juice can temporarily overwhelm the chemical signals ants rely on. Lemon juice contains d-limonene, a compound toxic to some ant species at higher concentrations.

The catch is that these are liquids, and liquids evaporate. Research on fire ant trail disruption found that vinegar and lemon juice had limited lasting effect, partly because small amounts exposed to air or sunlight break down quickly. These solutions work best as a cleanup tool. When you see a trail of ants, wipe them up with soapy water (which kills them on contact and removes the pheromone trail), then spray the area with vinegar to make it harder for the next wave to find the same path.

What Doesn’t Actually Work

Coffee grounds are one of the most commonly recommended natural ant remedies online, but testing doesn’t support the claim. In controlled experiments, ants initially avoided coffee grounds but quickly adapted, pushing the grounds out of their path and resuming normal activity. An entomologist at Texas A&M’s AgriLife Extension tested used coffee grounds directly on fire ant mounds and found no difference in activity compared to untreated mounds. The ants simply ignored them.

Cornmeal and cucumber peels fall into the same category. There’s no scientific evidence that they kill or meaningfully deter ants. These remedies persist online because they seem logical, but ant colonies are resilient and adaptable enough to work around minor obstacles.

Adjusting Your Approach by Ant Type

Most household ants are small sugar-feeding species attracted to sweet spills, fruit, and crumbs. The sugar and boric acid bait described above targets these ants perfectly.

Carpenter ants are a different situation. These larger ants (often black, sometimes reddish-brown) nest inside damp or decaying wood and can cause structural damage over time. They’re omnivorous but especially attracted to honeydew, fruit juices, and protein from dead insects. NC State Extension recommends baiting them outdoors with small containers of honey mixed in water placed along the foundation. If you’re seeing large ants regularly inside your home, especially near moisture-damaged wood, the colony may be nesting in your walls, and natural methods alone may not be enough to resolve it.

Prevention: The Step That Makes Everything Else Work

No treatment lasts if your home keeps inviting ants back in. The University of California’s Integrated Pest Management program recommends a layered prevention approach that addresses both entry points and food sources.

For sealing entry points: caulk cracks and gaps around windows, doors, pipes, and where utilities enter the building. Pay special attention to kitchens and anywhere food is stored. Keep plants, grass, and mulch at least a foot away from your home’s foundation, since dense vegetation near walls gives ants easy nesting sites and covered pathways inside.

For eliminating attractants: store food in sealed, hard containers rather than plastic bags or open packaging. Clean up crumbs, grease, and spills promptly. Fix leaky faucets, because ants seek water as aggressively as they seek food. Take out garbage daily and clean bins regularly. Rinse out empty soda cans and bottles before putting them in recycling. Outside, manage aphid-infested plants and pick up fallen fruit near the house, both are major ant food sources.

When you spot a new trail of ants indoors, clean them up immediately with a sponge and soapy water. This removes the pheromone trail before more workers follow it. Then identify where they entered and seal the gap with caulk. This combination of exclusion, sanitation, and targeted baiting is what actually keeps ants from coming back.