Homemade Remedies to Get Rid of Ants Naturally

Several homemade remedies can kill or repel ants effectively, but the best approach combines something that eliminates the colony with barriers that keep new foragers out. A spray that kills ants on contact won’t solve the problem if thousands more remain in the nest. Here’s what actually works, what doesn’t, and how to use each remedy safely.

Why Killing Visible Ants Isn’t Enough

The ants you see on your kitchen counter are foragers, and they represent a tiny fraction of the colony. A single nest can hold hundreds of thousands of individuals, all directed by a queen hidden underground or inside a wall. If you only kill the ants walking across your floor, the colony sends replacements within hours. Effective ant control requires two things: breaking the scent trails foragers follow and getting a slow-acting poison back to the nest so it reaches the queen.

Borax Bait: The Most Effective DIY Colony Killer

Borax mixed with a sweet bait is the closest thing to a professional-grade ant treatment you can make at home. It works because forager ants carry the mixture back to the colony and share it, slowly poisoning the nest from the inside out, including the queen. Mix roughly one tablespoon of borax with two tablespoons of sugar and a cup of warm water, then soak cotton balls in the solution and place them along ant trails. For ants attracted to grease rather than sugar (like some species of pavement ants), swap the sugar for a dab of peanut butter mixed with borax.

The key is keeping the borax concentration low enough that ants don’t die before returning to the nest. If you see ants dying right next to the bait, you’ve used too much borax. It typically takes several days to a week before you notice a significant drop in activity, because the poison needs time to spread through the colony.

Borax Safety Around Pets

Borax is not harmless. Dogs are more sensitive to it than many other animals, and ingestion can cause vomiting, diarrhea, excessive drooling, fever, and abdominal pain, sometimes within two hours. Young and older animals are especially vulnerable. Large amounts can cause seizures, kidney damage, and death. Place borax baits in locations pets can’t reach: inside closed cabinets, behind appliances, or inside small containers with entry holes too small for a dog or cat’s mouth. If you have pets that get into everything, consider diatomaceous earth instead.

Diatomaceous Earth for Indoor Barriers

Food-grade diatomaceous earth is a fine powder made from fossilized algae. Under a microscope, each particle has razor-sharp edges that cut through an ant’s waxy exoskeleton. Once the coating is damaged, the powder absorbs moisture from the ant’s body, and the insect dehydrates and dies. It’s a mechanical killer, not a chemical one, which means ants can’t develop resistance to it.

Sprinkle a thin, even line along baseboards, window sills, wall cracks, and anywhere you’ve seen ants entering your home. The layer should be barely visible. A thick pile actually deters ants from walking through it, which defeats the purpose. Diatomaceous earth stops working when it gets wet, so reapply after mopping or if humidity clumps the powder together.

Only use food-grade diatomaceous earth. The pool-grade version is chemically treated and extremely toxic. Even with the food-grade type, wear a dust mask during application. The fine particles can irritate your lungs and airways if you breathe them in. Gloves are also a good idea, since the powder dries out skin quickly.

Vinegar Spray to Erase Scent Trails

Ants navigate by following pheromone trails laid down by other foragers. A 50/50 mix of white vinegar and water dissolves those chemical trails and disorients ants trying to follow the path back to food. Spray it along countertops, doorframes, windowsills, and any surface where you’ve seen a line of ants marching. For best results, reapply several times a day, especially after wiping down surfaces.

Vinegar doesn’t kill ants or affect the colony. It’s purely a disruption tool. But it’s one of the most useful ones you have, because without their scent highways, foragers struggle to coordinate and often scatter. Pair it with a colony-killing method like borax bait for the full effect.

Essential Oil Repellent Spray

Peppermint, cinnamon, and clove oils all interfere with ants’ ability to detect pheromone trails. Peppermint oil masks the scent signals foragers rely on, scattering their movement along the trail. Cinnamon oil contains a compound called cinnamaldehyde that disrupts how ants orient themselves. Research on red imported fire ants found cinnamon leaf oil had both repellent and insecticidal effects, with stronger concentrations producing stronger results.

To make a repellent spray, combine one cup of water, one tablespoon of white vinegar, 10 drops of peppermint oil, 10 drops of cinnamon oil, and 5 drops of clove oil in a spray bottle. Spritz it around entry points, along baseboards, and anywhere ants congregate. A concentration of at least 1% peppermint oil is a practical starting point for repellent effects. Like vinegar, this won’t eliminate a colony, but it creates zones ants avoid and helps keep them from re-establishing trails after you’ve cleaned up.

Citrus Peels and D-Limonene

Orange, lemon, and grapefruit peels contain d-limonene, an oil that is directly toxic to ants on contact. It works by destroying the waxy coating on ants’ respiratory systems, essentially suffocating them. It also masks their scent trails, pulling double duty as both a killer and a repellent.

You can rub fresh citrus peels along windowsills and door thresholds, or simmer peels in water to create a citrus-infused spray. For a stronger solution, soak peels in white vinegar for a week or two, strain the liquid, then dilute it with equal parts water for a spray. The University of Florida’s agricultural extension specifically notes d-limonene as an effective ingredient for treating active fire ant mounds when used as a drench.

Baking Soda: Limited Use

Baking soda can kill individual ants, but it’s not an effective colony treatment. An ant’s stomach is highly acidic, with a pH around 2 to 3. When baking soda (a weak base) hits that acid, it produces carbon dioxide gas. Ants can’t burp or vomit, so the gas buildup is fatal. The problem is scale. Killing a few workers on a countertop does nothing to a colony of 500,000 individuals with a protected queen. Without a slow-acting poison that gets carried back to the nest, the colony simply replaces lost foragers. If you want to use baking soda, mix it with powdered sugar as bait, but expect modest results compared to borax.

Dealing With Fire Ants Outdoors

Fire ant mounds require more aggressive treatment than a kitchen ant trail. The University of Florida recommends pouring at least three gallons of scalding water (190 to 212°F) slowly over the mound. This has an elimination success rate of 20% to 60%, and you may need to repeat the treatment several times to reach the queen and brood deep inside. Be extremely careful handling that volume of near-boiling water. Hot water can also damage nearby plants.

A d-limonene drench (citrus oil mixed with water) poured directly into the mound is another option the university endorses for active fire ant colonies. You can also physically excavate mounds with a shovel and bucket. Dusting your tools with baby powder or talcum keeps ants from climbing up the handles and stinging you.

Several popular fire ant “remedies” are myths. Club soda does not suffocate colonies. Grits do not make ants explode, because fire ants only consume liquids. Never pour gasoline, bleach, ammonia, or battery acid on a mound. These are dangerous to you, your soil, and your groundwater, and they don’t reliably eliminate colonies either.

Sealing Entry Points

No repellent or bait works long-term if your home keeps inviting ants in. Walk around the exterior of your house and look for cracks in the foundation, gaps around pipes and wires entering walls, and spaces under doors. Seal small cracks with caulk. Use weatherstripping under doors. Trim tree branches and shrubs that touch your house, since ants use these as bridges to reach upper floors and roof lines.

Inside, store sweet and starchy foods in sealed containers, clean up crumbs promptly, and don’t leave pet food sitting out overnight. Ants are efficient scouts. A single forager that finds a food source will lay a pheromone trail back to the nest, and within hours you’ll have a highway of ants running across your kitchen. Removing the food source before that trail gets established is the simplest prevention there is.

Combining Remedies for Best Results

The most effective homemade ant control uses three layers working together. First, set out borax bait stations to poison the colony from within. Second, apply diatomaceous earth along entry points as a physical barrier that kills ants passing through. Third, spray vinegar or essential oil solutions daily to erase scent trails and prevent ants from re-establishing routes into your home. This combination attacks the colony, kills individual foragers, and disrupts their communication system all at once. Most people see a dramatic reduction in ant activity within five to seven days using this approach.