How to Kill Ants: Baits, Borax, and Prevention

The fastest way to kill ants you can see is a spray, but the only way to eliminate an ant problem is to kill the colony, including the queen. That means baiting, not spraying. Only about 20% of an ant colony ever leaves the nest, so killing the ants on your countertop barely dents the population. A strategic approach combines baits that wipe out the colony, direct treatments for visible nests, and prevention to keep ants from coming back.

Why Spraying Alone Doesn’t Work

Ant sprays kill on contact, which feels satisfying but solves very little. The vast majority of the colony stays hidden underground or inside walls, and spraying the visible foragers can actually scatter the colony, causing ants to split into new nests and spread to other areas of your home. This makes the problem harder to solve and drags it out longer. If you spray a trail of ants today, you’ll likely see a new trail tomorrow or next week, because the queen is still alive and producing eggs.

Baits: The Most Effective Method

Ant baits work by combining a food that attracts foraging workers with a slow-acting poison. Workers carry small portions back to the nest, where they transfer it mouth to mouth to other workers, larvae, and the queen. The slow action is the key feature: if the poison killed too quickly, foragers would die before reaching the nest and no one else would be affected.

Commercial bait stations (like those sold under the Combat or Amdro brands) use enclosed plastic containers designed to let ants in while keeping children and pets out. You place them along ant trails or near entry points. Some bait products work by preventing ants from converting food into energy, killing colonies within a week when applied directly to mounds. Others affect the nervous system or block egg production, which can suppress a colony for up to a year.

A few tips for getting the most out of baits:

  • Don’t spray near bait stations. Sprays repel ants from the area, which defeats the purpose of the bait.
  • Place baits along active trails. Ants follow chemical paths, so put bait where you see steady traffic rather than random spots.
  • Be patient. Colony elimination typically takes a few days to several weeks depending on the product and colony size.
  • Try different baits. Some ants prefer sugary baits, others prefer grease or protein. If ants ignore one type, switch to another.

DIY Borax Bait

If you’d rather make your own bait, a borax and sugar solution is a well-tested option. Researchers at the University of Hawaiʻi recommend this ratio: 1 teaspoon of boric acid powder mixed with 3 tablespoons of white sugar, dissolved in warm distilled or bottled water (filled to about 1¾ cups). Tap water can contain minerals that affect the mixture, so distilled works better.

Soak cotton balls in the solution and place them on small pieces of foil or in shallow lids near ant trails. The sugar draws foragers in, and the low concentration of boric acid ensures they survive long enough to carry the poison back to the colony. Replace the cotton balls every few days to keep them fresh. This approach works well for sugar-loving species like odorous house ants and Argentine ants.

Diatomaceous Earth for Dry Areas

Food-grade diatomaceous earth is a powder made from fossilized algae. Under a microscope, its particles have sharp edges that cut through an ant’s exoskeleton. The powder then absorbs moisture from the ant’s body, causing it to dehydrate and die. It works purely through physical contact, not chemical action.

Spread a thin layer along baseboards, window sills, wall cracks, and any gaps where ants enter. It also works well outdoors along foundation edges. The catch: diatomaceous earth only works when dry. Rain or humidity renders it ineffective, so reapply after wet conditions. Wear a dust mask when applying it, because inhaling fine silica dust can irritate your lungs. Gloves are also a good idea since the powder dries out skin.

Diatomaceous earth kills individual ants that walk through it, but it won’t eliminate a colony the way bait does. It’s best used as a barrier alongside a baiting strategy.

Destroying Outdoor Nests Directly

If you can trace an ant trail back to an outdoor mound, you can treat it directly. Pouring 2 to 3 gallons of boiling water onto the mound kills the colony about 60% of the time. When it doesn’t work, the ants typically relocate rather than die, so you may need to repeat the process or try another method. Boiling water will kill any grass or plants it touches, so keep that in mind near gardens.

For more reliable results, granular mound treatments involve spreading product on and around the mound, then sprinkling 1 to 2 gallons of water over it without disturbing the colony. The key is to not kick or stomp the mound first, because that sends ants deeper into escape tunnels before the treatment reaches them. Liquid drenches generally eliminate mounds within a few hours.

Natural Repellents and Their Limits

Peppermint oil and cinnamon oil do repel ants, and there’s research to back this up. A study in the International Journal of Scientific and Research Publications found that cinnamon oil at 20% concentration significantly repels ants. Peppermint oil has shown insecticidal activity against fire ants in separate research. You can mix 10 to 15 drops of either oil with water in a spray bottle and apply along entry points.

The limitation is that essential oils evaporate quickly. During heavy ant activity, you’d need to reapply daily. Once the scent fades, the ants return. White vinegar works similarly as a trail disruptor: it destroys the chemical scent trails ants follow, but it evaporates within hours and does nothing to the colony. These methods are useful as short-term deterrents or supplements, not standalone solutions.

Safety Around Kids and Pets

Most commercial ant baits use insecticides at very low concentrations. Poison Control notes that unintentional exposures to ant bait products generally pose little risk of toxicity. A toddler who tastes ant bait might develop nausea and vomiting, and skin or eye contact can cause irritation, but the insecticides aren’t well absorbed through skin so body-wide effects from brief contact are unlikely.

Enclosed bait stations are the safest option, since they’re designed to let ants in while keeping curious fingers and paws out. Place them behind appliances, inside cabinets, or in other spots kids and pets can’t easily reach. If you’re using a homemade borax solution or loose powder, keep it in areas that are completely inaccessible to children and animals. Wash your hands after handling any bait product.

Preventing Ants From Coming Back

Killing the current colony solves today’s problem. Keeping ants out requires cutting off what attracted them in the first place: food and entry points.

On the food side, wipe down counters and sweep floors regularly to eliminate crumbs and sticky residue. Store food in sealed containers and keep ripe fruit in the refrigerator. Pay special attention to honey, syrup, and soda bottles, which tend to develop sticky residue ants can detect from surprisingly far away. Use lids on trash cans and take garbage out regularly. If you have pets, clean up spilled food and water promptly, and store dry pet food in sealed plastic containers rather than the paper bags they come in.

On the structural side, seal cracks and crevices on the outside of your home with silicone caulk, focusing on areas where utility pipes enter. Replace worn weather stripping around doors and windows. Check for gaps around your foundation, especially at basement level, and repair any loose mortar. These entry points are often tiny, just a millimeter or two wide, but that’s more than enough for an ant to squeeze through. A thorough sealing job in spring, before ant season peaks, can prevent most indoor invasions before they start.