Homemade Ant Killer Recipes That Actually Work

The most effective homemade ant killer is a boric acid and sugar bait that ants carry back to their colony, killing the queen and workers over several days. Unlike sprays that only kill ants on contact, bait-based methods wipe out the entire nest. A few other DIY approaches work well too, depending on whether you’re dealing with a trail of tiny sugar ants or larger species like carpenter ants.

Boric Acid Sugar Bait: The Most Reliable Recipe

This liquid bait works because the sugar attracts foraging ants while the boric acid concentration is low enough that they survive long enough to bring it home. Once inside the colony, ants share food mouth-to-mouth with nestmates and the queen. Boric acid disrupts their digestive system and damages their nervous system, gradually killing the colony from within.

The recipe, developed by the University of Hawaiʻi’s College of Tropical Agriculture, uses these proportions:

  • 1 teaspoon boric acid powder
  • 3 tablespoons white table sugar
  • 1¾ cups warm distilled or bottled water (not tap water, which can contain minerals that reduce effectiveness)

Stir until everything dissolves completely. Soak cotton balls in the solution and place them near ant trails, entry points, or anywhere you’ve seen activity. You can also use shallow lids or jar caps as bait stations. The key is keeping the boric acid concentration low, around 1%. If it’s too strong, ants die before reaching the nest and the colony survives.

Expect to see more ants at first. That’s a good sign: foragers are recruiting nestmates to the bait. Most colonies take a week or two to collapse. Replace the cotton balls every few days to keep the bait fresh, and resist the urge to kill the ants you see feeding. They’re your delivery system.

Figure Out What Your Ants Want

Not every ant species goes for sugar. Ant dietary needs shift throughout the year. In spring and early summer, developing larvae need protein, so foragers hunt for fatty, protein-rich food. Later in summer, colonies switch to carbohydrates for energy. If your sugar bait isn’t getting traction, the colony may be in a protein phase.

A simple test helps you identify what your ants prefer. Put small dabs of peanut butter, honey or jelly, and a drop of cooking oil on a piece of masking tape or an index card near the ant trail. Check back in 30 minutes. Whichever food draws the most ants tells you what base to use for your bait.

Some species have strong preferences regardless of season. Carpenter ants prefer sugars. Fire ants are drawn to oils, especially soybean oil. Pharaoh ants, the tiny yellowish ones common in kitchens, will eat sugars, proteins, and oils. If your ants cluster around the peanut butter, mix your boric acid into a paste of peanut butter instead of sugar water. Use the same ratio: roughly 1 teaspoon of boric acid per 3 tablespoons of peanut butter.

Diatomaceous Earth for Dry Barriers

Food-grade diatomaceous earth is a fine powder made from fossilized algae. It kills ants through a purely physical mechanism: the microscopic sharp edges scratch the waxy outer layer of the ant’s exoskeleton, then the powder absorbs the oils and fats from that coating. Without their protective layer, ants dehydrate and die.

Dust a thin line of it along baseboards, window sills, doorframes, and any cracks where ants enter your home. It works best in dry areas since moisture makes it clump and lose effectiveness. Reapply after rain or cleaning. Diatomaceous earth won’t eliminate a colony the way bait does, but it’s useful as a perimeter defense to stop ants from entering specific areas. Make sure you buy food-grade diatomaceous earth, not the pool-grade version, which is chemically treated and not safe to use around living spaces.

Essential Oil Sprays as Repellents

Essential oils don’t kill ants, but they can disrupt the scent trails that foragers follow. Ants navigate almost entirely by pheromone trails, and strong-smelling oils overwhelm those chemical signals. Peppermint oil is the most commonly used option. The menthol it contains is highly irritating to ants.

To make a spray, mix about 10 drops of peppermint oil into 1 cup of water. Adding a teaspoon of dish soap helps the mixture stick to surfaces. Spray along ant trails, around doorframes, and near entry points. Other oils that disrupt scent trails include cinnamon oil (which contains a compound ants strongly avoid), tea tree oil, eucalyptus oil, and lemon oil.

This approach works best as a complement to baiting. Use the spray to redirect ants away from areas where you don’t want them while leaving bait stations in areas where they can access them freely. Spraying directly on a bait station defeats the purpose.

Baking Soda and Sugar: Does It Work?

You’ll find plenty of recommendations online for mixing equal parts baking soda and powdered sugar as an ant killer. The idea is that sugar attracts the ants while baking soda reacts with acidic compounds in their digestive system, producing gas that kills them. This method is widely shared on social media and DIY sites, but it lacks the kind of university-tested research backing that boric acid baits have. Some people report success with it, and the ingredients are cheap and readily available, so it’s low-risk to try. If you want to test it, mix one part baking soda with one part powdered sugar and place small piles near ant activity. But if you’re dealing with a serious infestation, boric acid bait is the more proven choice.

Keeping Pets Safe Around Ant Bait

Boric acid is toxic to dogs and cats if they eat enough of it. Dogs appear to be more sensitive than other animals. Symptoms of ingestion, which typically appear within two hours, include excessive drooling, vomiting, diarrhea, fever, and loss of appetite. Vomit or stool may have a blue-green color. In large amounts, boric acid can cause tremors, seizures, and kidney damage. Very young and older pets face higher risk.

The liquid sugar bait described above uses a very low concentration of boric acid, so a single curious lick is unlikely to cause serious harm to a medium or large dog. But repeated access or a small pet could be a different story. Place bait stations inside containers pets can’t reach: a jar laid on its side with the opening too small for a nose, or a sealed plastic container with ant-sized holes drilled in the sides. You can also place bait behind appliances, inside wall voids, or in cabinets. If your pets are persistent chewers, diatomaceous earth and essential oil sprays are safer alternatives, though less effective at colony elimination.

Getting the Best Results

Homemade ant killers work, but they require patience and a bit of strategy. Start by following the trail. Watch where ants are coming from and going to. Place bait along these paths, not just where you happen to see a few wandering. The closer the bait is to the entry point, the more foragers will find it quickly.

Clean up competing food sources. Wipe down counters, store sugar and honey in sealed containers, and don’t leave pet food bowls out overnight. If ants have easier options than your bait, they’ll take them. At the same time, don’t scrub away the ant trails with cleaner until your bait is working. Those pheromone trails guide more ants to your bait stations.

Use multiple stations. A single cotton ball in the kitchen often isn’t enough, especially for large colonies or if ants are entering from several points. Set out three to five bait stations around active areas. For outdoor nests sending ants inside, place bait near the exterior entry point as well. Combining methods also helps: boric acid bait for colony elimination, diatomaceous earth at entry cracks, and essential oil spray on surfaces where you want to break scent trails immediately.