How to Get Rid of Ants in Your House for Good

ant trail along kitchen baseboard showing how to get rid of ants in your house

Yardtally is reader-supported. Some links on this page are affiliate links. As an Amazon Associate, Yardtally earns from qualifying purchases. See our Affiliate Disclosure.

Knowing how to get rid of ants in your house starts with understanding why spraying them doesn’t work — the ants you can see are just scouts, and the colony behind them could have thousands more. If you spray them and call it done, more will show up within days following the same scent trail. This guide covers what actually works: how to cut off the colony, seal the entry points, and make your house the one ants skip.

Why You Keep Seeing Ants in Your House

ants crawling on plate of food inside house showing what attracts ants indoors

Ants come inside for three things: food, water, and shelter. Even a clean house can get ants if there’s a moisture problem under a sink, a gap around a door frame, or a crack in the foundation near a mulch bed. Once one scout finds a reliable food or water source, it lays down a pheromone trail on the way back to the colony — and every ant that follows reinforces that trail. That’s why you see them in a line. Wiping the counter or spraying the visible ants breaks the trail temporarily but doesn’t touch the colony.

Ant activity spikes in spring and early summer when colonies expand and send out scouts, and again in late summer and fall when ants are foraging hard before winter. Rain drives them inside looking for dry ground. So does drought, when they come looking for moisture. If you’re seeing ants seasonally, the colony is almost certainly outdoors and sending workers in through gaps in your exterior.

Step 1: Use Bait — Not Spray — to Kill the Colony

This is the most important thing to get right. Spray kills individual ants on contact but doesn’t reach the colony or the queen. Bait works differently — worker ants carry the slow-acting bait back to the nest, where it spreads through the colony and eventually kills it. It takes a few days longer to see results, but it’s the only DIY method that actually eliminates the source.

Terro T300 Liquid Ant Bait Stations are the most consistently recommended product for indoor ant control. The active ingredient is borax, which is slow-acting enough that workers carry it back before they die. Place them directly on ant trails — near baseboards, under the sink, behind the refrigerator, or wherever you’re seeing activity. Don’t kill or disturb the ants near the bait stations while they’re feeding — you want them to bring the bait home.

You’ll often see more ants at first as workers swarm the bait — that’s a good sign, not a bad one. It means it’s working. Give it 3–5 days before deciding it isn’t working.

Step 2: Seal Every Entry Point You Can Find

Bait handles the current colony. Sealing handles the next one. Ants get in through gaps around pipes, cracks in foundation walls, gaps under door frames, torn weatherstripping, and any opening where a utility line enters the house. Even a gap the width of a credit card is enough.

Walk the exterior of your house and look for any crack or gap at the foundation level. Inside, check under every sink for gaps around supply lines, around the base of toilets, and along baseboards in the kitchen and bathrooms. Seal everything you find with a silicone caulk and a caulk gun. Silicone holds up better than latex in wet areas and around pipes — it stays flexible instead of cracking over time.

Step 3: Treat the Perimeter

Once you’ve handled the inside, treat the outside so new colonies don’t send scouts in. Ortho Home Defense creates a barrier around the foundation that kills ants on contact and keeps working for months. Spray a band about 12 inches up the foundation wall and 12 inches out along the ground. Pay extra attention to where utility lines enter, door thresholds, and any area where you found interior ant activity. Reapply after heavy rain or every few months during peak season.

For cracks in the foundation or gaps in exterior walls where you can’t apply liquid, Terro T600 Ant Dust gets into voids where spray can’t reach. Apply it in cracks, under siding, and around any exterior opening. Dust lasts longer than liquid in dry areas and works well for carpenter ants, which often nest in wood rather than soil.

When You Need Quick Knockdown: Ant Spray

Spray doesn’t fix an ant problem but it has its place — clearing a trail before you place bait, handling a sudden surge, or dealing with ants in an area where bait stations aren’t practical. Raid Ant & Roach Killer kills on contact and leaves a residual that deters ants from crossing treated surfaces for a period of time. Use it to wipe out visible trails and treat entry points while your bait stations are working on the colony.

One important note: don’t spray near your bait stations. The residual from the spray repels ants and will stop them from reaching the bait, which defeats the purpose. Keep spray use away from wherever you’ve placed bait.

Natural Options That Actually Work

If you prefer to avoid chemical sprays — especially in a kitchen or around pets and kids — there are a couple of natural options worth using.

Diatomaceous Earth

Food-grade diatomaceous earth is a powder made from fossilized algae that damages the exoskeleton of insects and causes them to dry out. It’s non-toxic to humans and pets but effective against ants when applied in a dry layer along baseboards, under appliances, and at entry points. It loses effectiveness if it gets wet, so it works best in dry interior areas. Reapply after cleaning or if it gets damp.

Peppermint Oil Spray

Peppermint oil disrupts ant scent trails and acts as a deterrent at entry points. Mighty Mint Peppermint Oil Insect Repellent Spray is a ready-to-use version that’s safe around food prep areas and smells significantly better than chemical spray. It won’t eliminate a colony on its own but works well as a follow-up after bait has done its job — spray entry points and trail areas to discourage re-entry. It’s also a good first line of defense if you’re seeing only a few ants and want to try the least aggressive option first.

What to Do About Specific Ant Problems

ants swarming kitchen cabinet edge attracted to food inside

Ants in the Kitchen

Kitchen ants are almost always after food or moisture. Check under the sink for any slow drips, wipe down the inside of cabinets, and make sure countertops are clean after cooking — even crumbs behind the toaster are enough. Place Terro bait stations under the sink, behind the refrigerator, and along the back of the counter. Avoid spraying on food prep surfaces.

Ants in the Bathroom

Bathroom ants are usually after moisture. A dripping faucet, condensation around the toilet base, or a slow leak under the vanity is all it takes. Fix any drips first, then place bait stations under the sink and treat the gap around the toilet base with silicone caulk. Dry the tub and sink after use — standing water is an attractant.

Carpenter Ants

Carpenter ants are larger than common house ants and don’t eat wood — they excavate it to build nests. If you’re seeing large black ants (usually 1/4 to 1/2 inch), especially near window frames, door frames, or anywhere with past moisture damage, carpenter ants may be nesting in wood inside your walls. Bait stations help but may not be enough for a large carpenter ant infestation — that’s when calling a pest control professional makes sense. Source: University of Minnesota Extension — Carpenter Ants

What Doesn’t Work (Stop Wasting Time on These)

The most common mistake people make when figuring out how to get rid of ants in your house is reaching for the spray first. A few things people reach for first that don’t solve the problem: spraying the visible trail without using bait (kills scouts, leaves the colony intact), vinegar (disrupts scent trails temporarily but doesn’t kill or repel long-term), and cinnamon or baby powder at entry points (minor deterrents at best, won’t stop a determined colony). These aren’t harmful to try but don’t mistake temporary trail disruption for solving the problem.

When to Call a Professional

If you’ve used bait consistently for two weeks, sealed every entry point you can find, treated the perimeter, and still have active ant trails inside, the colony is likely in a location you can’t reach — inside a wall cavity, under a slab, or in structural wood. At that point a pest control professional with access to non-repellent insecticides and colony-specific baits will be more effective than anything available over the counter.

Sources & Further Reading