Home Improvement

How to Get Rid of Ants Indoors (Fast, For Good)

Get rid of ants indoors by baiting the trail instead of spraying it, then sealing entry points and cutting off food so the colony never comes back.

Quick answer

To get rid of ants indoors, resist spraying the trail. Place slow-acting bait beside the line of ants so foragers carry it back to the colony, wait one to two weeks for numbers to collapse, then wipe the trail, seal entry points, and remove food sources.

If you want to get rid of ants indoors and keep them gone, the single most important rule is counterintuitive: do not reach for the spray first. A trail of ants crossing your counter is annoying, but those visible workers are only a tiny fraction of the colony. Kill them and you have treated the symptom; the queen keeps laying and a fresh line of ants appears within days. The reliable fix is to let the foragers work for you, carrying slow-acting bait back to the nest, and then to close the door behind them.

Find the trail and the entry point first

Before you treat anything, spend a few minutes watching. Ants move along chemical scent trails, so follow the line in both directions. One end leads to what they are eating; the other leads to where they are getting in, usually a gap around a window frame, a crack in the baseboard, a utility penetration under the sink, or the threshold of an exterior door.

Knowing the entry point matters for two reasons. It tells you where to seal later, and it tells you where to place bait so foragers find it on their established route. Resist the urge to wipe the trail clean at this stage. You want the ants actively traveling it when you introduce the bait.

Bait beats spray almost every time

Ants are social insects that share food, so a bait the workers mistake for a meal gets distributed throughout the colony, including to the queen. That is why baiting is the standard recommendation for an indoor infestation. A contact spray, by contrast, only kills the ants it touches and often scatters the rest, splitting the colony and making the problem harder to solve.

You have two broad bait choices. Commercial ant baits (gel or pre-filled stations) are formulated with a slow-acting active ingredient precisely so the worker survives long enough to get home. A classic DIY option is a borax bait: a common ratio is roughly one part borax to three parts powdered sugar for a dry bait, or about two tablespoons of borax stirred into a quarter cup of honey or corn syrup for a liquid one, dabbed onto a scrap of card. Borax is a pesticide, so keep any homemade bait well away from children and pets, place it where only ants can reach it, and wash your hands afterward.

Where to put the bait

Advice differs on exact placement: some sources say set bait directly on the trail, others say ants avoid bait dropped right on the line. A sensible approach is to place it a couple of inches beside the trail near the entry point, then move it closer if the ants ignore it. Put out several small bait points rather than one large one.

Then do the hard part: nothing. Leave the ants alone for one to two weeks. Seeing more ants at first is normal and good, because foragers are recruiting nestmates to a food source you control. If you spray them now, you kill the delivery service and the queen never gets the dose.

Approach What it does Best used for
Slow-acting bait (gel, station, or borax) Carried back to the nest; kills the colony over days The primary indoor treatment
Non-repellent spray Ants walk through it and transfer it to the nest Supplementing bait when ants have an entrenched food source
Repellent contact spray Kills visible ants instantly; can scatter the colony Rarely; avoid during baiting
Vinegar/water wipe Erases the scent trail; kills only ants it touches Cleanup after the colony is gone

Clean up and seal the doors

Once bait traffic has dropped to near zero, the colony is in collapse and you can switch to cleanup. Wipe every known trail with a vinegar-and-water solution or hot soapy water. This dissolves the invisible scent markers that would otherwise guide a new wave of ants along the same highway. Plain cleaning sprays smell clean to you but do not always break the pheromone trail, so vinegar is the better choice here.

Next, seal the entry points you identified. Caulk cracks in baseboards and around window and door frames, fill larger wall gaps and utility holes with expanding foam, and add weatherstripping or a door sweep where a threshold has a visible gap. This is ordinary home sealing work; if you are already chasing other pests, the same habits that help you deal with fruit flies in the kitchen apply here too.

Natural deterrents: what works, what doesn’t

Plenty of home remedies circulate for ants, and it helps to know which earn their reputation. Scent-based repellents such as diluted peppermint oil, cinnamon, or a vinegar wipe can discourage ants from a specific surface and are genuinely useful for breaking a trail or keeping them off a counter. What they do not do is kill the colony, because nothing gets carried back to the nest. Treat them as a complement to baiting, not a replacement for it.

A non-repellent spray is the one exception worth knowing about. Unlike a contact killer, ants walk through it without detecting it and transfer the product to their nestmates, so it can supplement bait when a colony has an entrenched indoor food source it refuses to abandon. Diatomaceous earth dusted into cracks and wall voids can also help over time by abrading the ants’ outer shells, though it only works while it stays completely dry.

Prevention: remove the invitation

Ants come inside for food and moisture, so take both away. Wipe counters after cooking, store sugar, honey, and pet food in sealed containers, rinse recyclables, take out the trash regularly, and sweep up crumbs under appliances. Fix the damp conditions ants love, too: a slow dripping faucet or a clogged drain gives them the water they need, so keeping plumbing tight genuinely reduces the draw. If you are the type who likes to stay ahead of problems, add an exterior perimeter check to your seasonal home-maintenance routine and seal new gaps before the warm season starts.

When DIY is not enough

Most pavement and odorous house ants yield to patient baiting and sealing. A few species do not. Large black ants that seem to wander alone, or faint crackling sounds inside a wall, can point to carpenter ants, which excavate wood to nest and can cause structural damage over time. Pharaoh and Argentine ants are notorious for budding into multiple colonies when sprayed, which makes DIY contact treatment actively counterproductive. If you suspect any of these, or if careful baiting has failed after a few weeks, bring in a licensed exterminator who can identify the species and target the nest directly.

Done in the right order, the fix is straightforward: watch, bait, wait, clean, and seal. Skip straight to the spray and you will likely be fighting the same trail again next week. For more kitchen and household fixes, browse the full home improvement section.

Frequently asked questions

Why do I suddenly have ants in my house?

A scout ant found food or water and laid a scent trail that the colony now follows. Sudden invasions often follow a spill, a ripe fruit bowl, pet food left out, or weather that pushes ants indoors during heat, heavy rain, or drought. The ants will keep coming until you remove the attractant and the trail.

Should I kill the ants I see or leave them alone?

If you are baiting, leave the foragers alone. Those workers are what carries the poisoned bait back to the queen and nest. Squashing or spraying them kills the messengers and leaves the colony intact, so you keep seeing new ants. Only clean up the trail once bait activity has stopped.

How long does ant bait take to work?

Expect one to two weeks, sometimes longer for big colonies. You may even see more ants in the first day or two as foragers recruit others to the bait, which is a sign it is working. Keep the bait topped up and do not spray nearby. Numbers should drop sharply once the queen is affected.

Does killing ants attract more ants?

Crushed ants release alarm and recruitment chemicals that can draw nestmates, and a dead ant left on the trail does nothing to stop the scent line. More importantly, killing foragers on contact never reaches the colony. Removing the scent trail and the food source is what actually reduces the numbers.

When should I call an exterminator for ants?

Call a professional if you see large black ants wandering alone or hear faint rustling in walls, which can indicate carpenter ants that tunnel into wood. Also call if bait and sealing fail after a few weeks, or if you suspect Pharaoh or Argentine ants, which split into multiple colonies when disturbed.

Nancy Grace
Nancy Grace
Contributing Editor · Consumer tech, personal finance and lifestyle

Nancy Grace is a writer and editor at Voozon, where she covers consumer technology, personal finance, and everyday digital life. Over more than a decade of writing and editing, she has specialized in turning complicated subjects, from new apps and AI tools to money decisions and home-and-lifestyle choices, into clear, practical guidance readers can act on. Her approach is hands-on: she tests the tools and workflows she writes about, checks claims against primary sources, and revisits guides as products and best practices change. At Voozon she edits for accuracy and clarity across the business, technology, and lifestyle sections and writes explainers and how-to guides for readers who want straight answers without the jargon.

More by Nancy Grace

Related

Home Improvement

How to Clean a Washing Machine

How to clean a washing machine: run a hot vinegar or tablet cycle, clear the gasket, dispensers, and drain filter, then keep…

Nancy Grace · Oct 7 · 6 min
Home Improvement

How to Remove a Carpet Stain (By Stain Type)

Remove a carpet stain by blotting, not rubbing, then matching the solution to the stain type and rinsing clean. A practical, stain-by-stain…

Nancy Grace · Oct 17 · 5 min