The most effective ant remedy depends on whether you want to repel ants from a specific area or eliminate the entire colony. For a full colony kill, a homemade bait made from boric acid and sugar water is one of the most reliable options: worker ants carry the slow-acting poison back to the nest, where it spreads to the queen and the rest of the colony over several days. For quick repelling, essential oils like peppermint and cinnamon disrupt the scent trails ants use to navigate, driving them away from treated surfaces. Here’s how to use each approach effectively.
Boric Acid Bait for Colony Elimination
A sugar-and-boric-acid bait is the gold standard for DIY ant control because it exploits how ant colonies actually work. Forager ants find the sweet bait, eat it, and carry it back to share with nestmates and the queen. Because boric acid kills slowly, acting as a stomach poison over hours to days, the foragers survive long enough to spread it throughout the colony before dying.
The recipe from the University of Hawaiʻi’s College of Tropical Agriculture calls for 1 teaspoon of boric acid powder, 3 tablespoons of white table sugar, and warm distilled or bottled water filled to the 1¾ cup line in a measuring cup. Stir until everything dissolves completely. Soak cotton balls in the solution and place them along ant trails or near entry points. The key is keeping the boric acid concentration low enough that ants don’t die before returning to the nest.
Boric acid is low in toxicity for adults if touched or eaten in small amounts, but infants and pets are a different story. Young children who ingest larger amounts can experience seizures, confusion, and other nervous system effects, and signs of poisoning in animals can start within two hours. Place bait stations in locations children and pets can’t reach: behind appliances, inside cabinets, or in enclosed bait stations with small openings only ants can access.
Diatomaceous Earth as a Physical Barrier
Diatomaceous earth (DE) works through a completely different mechanism than chemical poisons. The powder is made of fossilized algae with microscopic sharp edges that cut through an ant’s waxy exoskeleton as it crawls over the particles. Once the exoskeleton is damaged, the ant loses moisture rapidly and dies from dehydration.
To use it, sprinkle a thin, even layer of food-grade DE along ant trails, around baseboards, windowsills, under appliances, and near any cracks where ants enter your home. Outdoors, apply it around the base of plants, garden beds, and near visible nests. A duster or small scoop helps distribute it evenly. The catch is that DE loses its effectiveness when wet, so you’ll need to reapply after rain or watering. Indoors, vacuum up the old layer and reapply every few days until the ants are gone.
Because DE kills mechanically rather than chemically, it’s safe around children and pets. Just make sure you’re buying food-grade diatomaceous earth, not pool-grade, which is processed differently and can be harmful. Avoid inhaling the fine powder during application. A simple dust mask is enough protection.
Essential Oils for Repelling Ants
Essential oils won’t eliminate a colony, but they’re effective at keeping ants out of specific areas. Ants navigate almost entirely by following chemical scent trails left by other ants. Certain oils overwhelm or disrupt those trails, leaving ants unable to communicate or find their way.
Peppermint oil is the most commonly used option. Its active compound, menthol, is highly irritating to ants and makes treated areas essentially unnavigable for them. Cinnamon oil is another strong choice thanks to its high concentration of cinnamaldehyde. Tea tree, lemon, eucalyptus, and lavender oils also work as deterrents. Mix 10 to 15 drops of any of these with water in a spray bottle and apply along windowsills, door frames, countertops, and anywhere you’ve spotted ant activity.
Keep in mind that repelling ants from one spot may just reroute them to another entry point. Essential oils work best as a complement to other methods, not as a standalone solution for a serious infestation.
Matching Your Bait to the Ant Species
Not all ants want the same food, and using the wrong bait is one of the most common reasons DIY ant control fails. According to UC’s Integrated Pest Management program, different species have distinct preferences that shift with the seasons.
Most of the small ants you see trailing across kitchen counters are attracted to sweets. Argentine ants (tiny, dull brown, about ⅛ inch long) go for sugar-based baits year-round, though they’ll also take protein baits in the spring. Odorous house ants, the ones that smell like rotten coconut when crushed, follow a similar pattern. The sugar-water boric acid recipe above works well for both.
Thief ants, which are extremely small and yellowish, prefer greasy and fatty baits over sweets. Fire ants are drawn to oil-based baits. If your sugar bait isn’t attracting any takers, try switching to a protein or grease-based option like peanut butter mixed with a small amount of boric acid.
Carpenter ants are a special case. These are large (¼ to ½ inch), black or red-and-black ants that nest inside wood. They don’t eat wood like termites, but they hollow it out to build their nests, depositing sawdust-like debris called frass near the openings. If you’re finding small piles of fine wood shavings near door frames, window frames, or fence posts, you likely have carpenter ants, and they can cause structural damage. Sweet baits can attract them, but a carpenter ant problem usually warrants professional treatment.
Commercial Baits and Sprays
Store-bought ant baits use the same carry-back-to-the-colony principle as the homemade version but with different active ingredients. Some contain borax, which works as a stomach poison. Others use compounds that attack the ant’s nervous system, causing paralysis and death. Another common ingredient interferes with cells’ ability to produce energy. All of these are designed to act slowly enough for foragers to share the bait before dying.
The important distinction is between baits and sprays. Spray repellents create a barrier ants won’t cross, but they don’t kill the colony. Worse, spraying near a bait station can actually prevent ants from reaching the bait. If you’re using baits, avoid spraying repellent anywhere in the same area. Let the ants come to the bait freely.
Preventing Ants From Coming Back
Killing the current colony doesn’t help much if your home keeps inviting new ones. Ants enter homes looking for three things: food, water, and shelter. Removing those attractants is the most reliable long-term remedy.
Start with food sources. Wipe down counters and sweep floors regularly to eliminate crumbs and sticky residue. Store food in sealed containers, keep ripe fruit in the refrigerator, and clean the outside of jars that hold honey, syrup, or other sweets. Use lids on trash cans and take garbage out frequently.
Next, address moisture. Repair leaky pipes and check under sinks regularly for damp spots. A dehumidifier in basements, crawl spaces, or attics can make those areas far less appealing to ants looking for water.
Finally, seal entry points. Ants can fit through remarkably small cracks. Inspect the outside of your home and seal gaps with silicone caulk, paying special attention to spots where utility pipes enter. Trim tree branches and bushes that touch or overhang your house, since these serve as direct highways for ants to walk from the yard to your walls.