Home Remedy for Ants in the House: What Really Works

A simple mixture of boric acid and sugar, applied along ant trails, is one of the most effective home remedies for eliminating ants at the source. But the best approach combines a bait that kills the colony with cleanup steps that remove the scent trails drawing ants inside. Here’s how to do both.

Why Ants Keep Coming Back

Ants leave a chemical scent trail (called a pheromone trail) everywhere they walk. This trail acts as a map that guides other ants from the nest to food sources in your home. Killing the ants you can see does almost nothing, because the trail remains and hundreds more will follow it. Effective home remedies work on two fronts: destroying the trail so new ants stop arriving, and using bait that worker ants carry back to the colony.

Boric Acid and Sugar Bait

This is the closest thing to a professional-grade solution you can make at home. Boric acid is a slow-acting stomach poison for ants. The sugar attracts them, they feed on the mixture, then carry it back to the nest where it spreads through the colony. The slow action is the key: if the poison worked instantly, ants would die before reaching the nest.

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 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 near ant trails, entry points, or wherever you’ve spotted activity. Replace them every few days.

One thing to know: different ant species prefer different foods. Odorous house ants (the tiny dark ones that smell like coconut when crushed) go for sweets. Carpenter ants, the larger black or reddish ones that tunnel into wood, prefer protein. If your sugar bait isn’t getting attention, try adding a dab of peanut butter near the bait stations. Pavement ants, which are common in kitchens and bathrooms, will eat either.

Keep boric acid bait out of reach of children and pets. It’s low in toxicity compared to commercial pesticides, but it’s not something you want ingested in quantity.

Vinegar Spray for Scent Trails

A 1-to-1 mixture of distilled white vinegar and water is effective at erasing the pheromone trails ants use to navigate. Mix equal parts in a spray bottle and wipe down hard surfaces where you’ve seen ants traveling, including countertops, floors, windowsills, and baseboards. You can also spray it directly on ants you encounter.

Vinegar won’t kill a colony. Think of it as a reset button. It confuses the ants already inside and stops reinforcements from following the same path. Use it alongside a bait method for the best results.

Diatomaceous Earth Along Entry Points

Food-grade diatomaceous earth (DE) is a fine powder made from fossilized aquatic organisms. It kills ants mechanically, not chemically. The microscopic sharp edges of the particles cut through an ant’s waxy exoskeleton as it crawls over the powder, causing the ant to lose moisture rapidly and die from dehydration.

Sprinkle a thin, even layer along ant trails, baseboards, windowsills, and under appliances. A small duster or scoop helps distribute it evenly. Indoors, vacuum up the old powder and reapply every few days until the ants are gone. Always use food-grade DE, never pool-grade, which is chemically treated and harmful to breathe. Even with food-grade DE, wear a mask during application since the fine dust can irritate your lungs. Keep it away from food preparation surfaces.

Soapy Water as a Contact Killer

A few drops of dish soap mixed into a spray bottle of water creates an effective on-the-spot killer. The soap breaks down the waxy coating on an ant’s exoskeleton, causing dehydration, and it also blocks the tiny breathing openings (spiracles) on their bodies. Sprayed directly on ants, it kills them within seconds.

Like vinegar, soapy water also erases pheromone trails when you wipe it across surfaces. It’s useful as a first response when you spot a line of ants, but it won’t reach the colony. Pair it with bait for a lasting solution.

Seal Entry Points

Killing the ants inside your home only matters if you stop new ones from getting in. Follow ant trails backward to find where they’re entering. Common entry points include gaps around windows and doors, cracks in baseboards, and openings where pipes or wiring pass through walls.

Seal cracks and crevices with caulk. Apply weatherstripping around doors and windows that have gaps. Check the exterior of your home periodically for new cracks, especially where the foundation meets the siding. Penn State Extension recommends keeping vegetation and mulch at least 6 inches away from the base of your house, since plants and organic material pressed against the wall create a bridge for ants.

Remove What Attracts Them

Ants come inside for two reasons: food and moisture. Eliminating both makes your home far less appealing, even if a few scouts find their way in.

  • Kitchen hygiene: Wipe countertops and sweep floors daily. Even small crumbs and sticky residue from spills are enough to sustain a trail. Clean with soapy water to erase pheromone paths at the same time.
  • Food storage: Transfer opened dry goods into sealed, airtight containers. Refrigerate ripe fruit instead of leaving it on the counter.
  • Pet food: Pick up pet bowls once your animals finish eating. Standing pet food and water are major attractants.
  • Trash: Take it out frequently and use cans with tight-fitting lids.
  • Moisture control: Fix leaky pipes, especially under kitchen and bathroom sinks. Use a dehumidifier in damp basements or crawl spaces. Make sure gutters and downspouts drain properly so water doesn’t pool near your foundation.

What to Skip

Penn State Extension specifically advises against using perimeter sprays and pesticide granules around the outside of your home for ants. These leave chemical residues that kill many organisms besides ants, including beneficial insects, and birds can eat the granules and be poisoned. A targeted approach, using bait where ants are active and sealing entry points, is both safer and more effective than broadcasting chemicals around your foundation.

If you’ve tried baiting, sealing, and cleaning for two to three weeks and the problem persists, you may be dealing with a large or hard-to-reach colony. Carpenter ants in particular can cause structural damage over time, since they hollow out wood to build their nests. A persistent carpenter ant problem is worth addressing quickly, whether through more aggressive baiting or professional help.