Skip to content
The Bug Identifier

Ant control

How to Get Rid of Ants: Kill the Colony, Not the Trail

Everyone asking how to get rid of ants has already tried the spray. So here is why it failed. The ants on your counter are a delivery service, and killing them throws away your best chance.

Start here: stop spraying

Almost every page you will read about ants leads with a spray or a scented home remedy. That advice is not merely weak. On the two species most likely to be in a US kitchen, it makes the problem worse.

Here is the arithmetic. UC IPM puts the share of a colony out foraging at any one time at about 10%. So a perfect spray that killed every ant you could see would still leave nine in ten alive, along with the queen and the entire brood. The nest replaces those workers within days.

There is a second cost, and it is the one nobody mentions. Repellent sprays split some colonies. Pharaoh ants and odorous house ants respond to chemical stress by budding, where groups of workers leave with a queen and start a new nest elsewhere in the building. One trail becomes three, and every new nest is harder to find than the original.

What actually kills ants

Bait kills ants, and it does it by turning the colony’s own habits against it. Everything below explains why the slowest looking option is the only one that reaches the queen.

Why killing the ants you can see does nothing

An ant colony is not a group of individuals. It behaves more like one organism with disposable parts, and the foragers are the most disposable part of all. They are old workers doing the most dangerous job, which is exactly why the colony risks them outside.

The queen never leaves. Neither do the nurses, the eggs or the larvae. So the counter is the only place you ever meet the colony, while everything that matters sits behind a wall or under a slab.

Slow-acting is the point

Ants feed each other mouth to mouth, a behaviour called trophallaxis. A forager fills up, walks home, and passes the meal to workers, larvae and the queen. One visit to your bait station therefore feeds dozens of ants that never left the nest.

That only works if the poison is slow. UC IPM notes that bait stations using fast-acting ingredients such as propoxur or indoxacarb are not very effective, because the worker dies before it gets home. So the bait that kills ants fastest on the counter is the one that fails at the nest.

Judge a bait by what happens on day ten rather than day two. In fact, seeing more ants on day two is the best early sign you have, since it means the workers rated your bait worth recruiting to.

Sugar, protein or grease: match the bait to your ant

Here is the detail that almost no page carries, and it decides whether your bait works at all. Species differ in what they eat, and a colony’s preference also shifts through the year as the brood grows.

What the common household ants want
AntPrefersNests
Argentine antSweets, sometimes proteinShallow mounds outdoors, often by the foundation
Odorous house antSweets, sometimes proteinWall voids, near water pipes and heaters
Pavement antSweets, protein and greaseUnder stones and slabs, along sidewalks
Pharaoh antFats and protein first, then sweetsWall and cabinet voids, behind baseboards
Thief antGrease and fatBehind wallboards, in tiny cracks
Carpenter antSweetsDamp or damaged wood, plus satellite nests indoors
Fire antProtein and sweetsOutdoor mounds with many openings

So do not guess. Put a sugar bait and a protein or grease bait a few inches apart, then come back in an hour. Whichever one carries a crowd is the answer for this colony this month, and it may well change by August. UC IPM recommends exactly this, and adds that offering a choice raises your success rate.

Where to put it, and how far apart

Put bait where the ants already walk, not where it looks tidy. A station six inches off the trail may as well be in another room, because foragers follow a pheromone line rather than searching at random.

Which ant do you have?

AntWeb lists close to 17,000 valid ant species and subspecies worldwide. Only about a dozen turn up in US homes, though, and you can narrow yours in a few seconds with one feature.

One node or two: the ten-second check

Look at the narrow waist between the thorax and the abdomen. You will see either one bump there or two, and entomologists call each bump a node. A phone photo zoomed in shows it clearly, and nothing else about an ant is this quick to read.

One node points to Argentine ants, odorous house ants, carpenter ants and velvety tree ants. Two nodes point to pavement ants, pharaoh ants, fire ants and thief ants. Either way you have just halved the list, and the table below finishes the job.

How to get rid of ants starts at the waist: one bump points to Argentine, odorous house and carpenter ants, two bumps to pavement, pharaoh, fire and thief ants
The waist sits between the thorax and the abdomen. Count the bumps on it, since that one feature splits the common household ants into two short lists.

The nine household ants, compared

Common US household ants, after UC IPM Pest Notes 7411
AntNodesSize and colourThe tell
Argentine ant (Linepithema humile)11/8 in, dull brownEndless trails from outdoors, no smell when crushed
Odorous house ant (Tapinoma sessile)11/8 in, dark brown to blackSmells strongly of rotten coconut when crushed
Carpenter ant (Camponotus spp.)11/4 to 1/2 in, black or red and blackSawdust-like frass below the nest, active at night
Velvety tree ant (Liometopum occidentale)11/8 to 1/4 in, black abdomen, red thoraxDistinct odour, nests in dead limbs and stumps
Pavement ant (Tetramorium caespitum)23/16 in, dark brown to blackSoil craters between paving slabs
Pharaoh ant (Monomorium pharaonis)21/16 in, yellow to orangeTiny and pale, in kitchens and hospitals, buds if sprayed
Red imported fire ant (Solenopsis invicta)21/16 to 1/5 in, reddish, dark abdomenMound with no single entrance, stings in numbers
Southern fire ant (Solenopsis xyloni)21/8 to 1/4 in, amber and blackFlattened irregular craters, golden body hairs
Thief ant (Solenopsis molesta)21/32 in, yellow to light brownSmaller than a pharaoh ant, goes for grease

The odorous house ant deserves a mention of its own. Crush one and it smells like a rotten coconut, which is unmistakable once you have met it. That single test settles most kitchen trails in the northern states.

Ants or termites? The winged swarm fork

Both insects fly in spring, and both drop their wings afterwards. Confusing them is expensive, so check three features before you decide what you are dealing with.

Dark house ant in side view on concrete, showing the elbowed antennae, the pinched waist and the banded abdomen that separate an ant from a termite
Two ant features a termite never has: antennae with a clear elbow bend, and a waist pinched sharply between the thorax and the abdomen.
Winged ant vs winged termite
FeatureAntTermite
WaistSharply pinchedStraight, no waist
AntennaeElbowed, bent in the middleStraight, like tiny beads
WingsFront pair longer than the back pairFour wings of equal length
Shed wingsLess often shed in pilesPiles of equal wings on sills

Why the ants came back last time

Most people searching for this reached the page after a failure. They sprayed, the trail vanished for a few days, and then it returned. So the useful question is not what kills ants, but why the last attempt did not stick.

Four causes cover nearly all of it.

Notice that three of those four are failures of method rather than of product. That is genuinely good news, because it means the same bait you already bought will probably work when you use it differently.

How to get rid of ants, step by step

  1. Put the spray down

    Stop killing the ants on the counter. Every one you kill on sight is a worker that could have carried poison home instead, so the spray is working against you from the first minute.

  2. Follow the trail to the entry point

    Watch where the line goes when nobody disturbs it. Ants walk a scent trail, so the column leads you to the gap they use. Mark that spot, because the bait goes next to it rather than anywhere tidy.

  3. Offer sweet and greasy bait side by side

    Set out one sugar-based bait and one protein or grease bait a few inches apart. Preferences shift by species and by season, so letting the ants choose beats guessing. Whichever one they swarm is the one to keep refilling.

  4. Leave the trail alone while they feed

    More ants will appear, and that means it is working. Recruitment is the whole point, because each worker that finds food brings nestmates back to it. Do not wipe the trail, and do not spray anywhere near the bait.

  5. Refill for one to two weeks

    Check the bait daily and top it up before it dries out. A colony can take a week or more to collapse, and an empty station in the middle of that sends the survivors looking elsewhere.

  6. Close the gaps once the traffic stops

    Now caulk the entry point, fix the dripping trap under the sink, and clear the honeydew plants by the wall. Sealing early traps ants inside, so this step comes last rather than first.

How to get rid of ants in the kitchen

Kitchens draw ants because they hold sugar, grease and water in one warm room. Scouts find a crumb behind the toaster, lay a trail, and the colony follows within the hour.

Work in this order. First wipe the trail with soapy water or a vinegar solution, which erases the pheromone and buys you a clear surface. Then place bait next to where the line came in, rather than on the counter you just cleaned.

Next, take away the competition. Bait has to be the most attractive food in the room, so seal the sugar, rinse recycling, empty the toaster tray and lift pet bowls overnight. A colony with a bowl of kibble available will ignore your station entirely.

Finally, check under the sink. A slow leak keeps a kitchen attractive to ants even after the crumbs are gone, since water matters as much as food during a dry spell.

Ants in the bathroom

Bathrooms have almost no food, so ants there are usually after moisture or warmth. Tiny pale ants around a basin are often pharaoh ants, while a dark trail by the bath is more likely an odorous house ant nesting near the hot pipes.

The species matters here more than anywhere else in the house. Pharaoh ants bud readily, so a can of spray can turn one bathroom trail into nests in three rooms. Bait them, and resist the urge to treat the trail.

Fix the moisture at the same time. Re-caulk the bath, run the extractor for longer, and check the cabinet under the basin for a slow drip.

Getting rid of ants outdoors and in the yard

Outdoor ants rarely need treating at all. They aerate soil, they eat other insects, and most colonies never come inside. So treat the yard only when a nest sits against the foundation or a mound is somewhere people walk.

When you do treat, bait beats broadcast spraying. UC IPM advises against spraying pyrethroids such as bifenthrin and cypermethrin on driveways, sidewalks and foundations, because the residue washes into storm drains and reaches creeks. Granules containing cyfluthrin or permethrin carry the same warning.

Timing pays off too. Treating in late winter and early spring works best, since colonies are still small before the season’s brood arrives.

Carpenter ants are a different job

Large black ants, a quarter to half an inch long, with coarse sawdust below a windowsill or doorframe, are carpenter ants. They do not eat wood. Instead they hollow galleries in timber that is already damp, so they are usually a sign of a leak rather than the cause of the damage.

Sweet bait still helps, though the real fix is the moisture and the nest itself. Colonies often keep satellite nests indoors while the parent nest sits in a stump outside, which is why this species needs its own treatment rather than a paragraph.

A related look-alike catches people out every spring. Round half-inch holes in bare wood with no sawdust trail belong to a carpenter bee instead, and that is a different job again.

Fire ants are a sting risk, not a nuisance

A dome-shaped mound with no obvious entrance hole, in the South or Southwest, usually means imported fire ants. Disturbing one brings workers up in seconds, and they sting repeatedly rather than once.

Treat the mound rather than the trail, and use a product labelled for fire ants. Keep children and pets off the area until the colony dies, because a mound that looks quiet can still respond to a footstep.

What works, what does not, and what is a myth

Search results for this topic are full of pantry remedies, and several of them do something real. The problem is what they do, since killing or repelling a few foragers is not the same as removing a colony.

Popular ant remedies, honestly rated
RemedyDoes it do anything?Verdict
Vinegar sprayErases the pheromone trail for a few hoursGood cleaner, not a control method
Dish soap and waterKills ants on contact by breaking the waxy cuticleUseful for a visible trail, reaches no nest
Cinnamon, peppermint, citrus peelMasks or disrupts a trail brieflyBuys an evening, colony reroutes
Coffee grounds, chalk linesLittle to nothingSkip it
Baking soda and sugarNo credible evidence the soda kills antsPopular on social media, no support
Boiling water on a moundKills the part of the nest it reachesPartial at best, scalds roots and people
Diatomaceous earthAbrades the cuticle where it stays bone dryWorks slowly, useless once damp
Borax or boric acid baitSlow-acting stomach poison the workers shareThis is the one that reaches the queen

Baking soda deserves a direct answer, because a video recommending it reached tens of thousands of people this year. The claim is that soda reacts with acid in the ant and kills it. No published work supports that, and ants readily eat the sugar and leave the soda behind.

Natural and pet-safe options, honestly rated

Plenty of households would rather not bring a pesticide indoors, which is reasonable. Two approaches genuinely work, so long as you accept that both take longer than a spray.

The first is exclusion and cleaning, covered further down. It is slow, it is dull, and it is the only method with no downside at all.

The second is a homemade borax bait, which is what most pest professionals use in a commercial form anyway. A standard recipe mixes about half a teaspoon of borax with eight teaspoons of sugar in a cup of warm water, soaked into cotton balls placed in shallow lids.

Diatomaceous earth sits between the two. It abrades an insect’s waxy layer and dries it out, though only while the powder stays completely dry, so it fails in exactly the damp places ants like most.

Indoor ant killers compared

Shopping for an indoor ant killer means choosing an active ingredient, not a brand. Read the small print on the back of the pack, since that is where the useful information sits.

Active ingredients in consumer ant products
Active ingredientFormNotes
Boric acid or borateLiquid and gel baitsSlow, well suited to sweet-feeding ants, the classic DIY option
HydramethylnonGranular and station baitsSlow-acting, widely used, good colony transfer
FipronilGel and station baitsVery effective at low doses, spreads well through a nest
Abamectin (avermectin B)Station baitsSlow-acting, suited to indoor stations
Indoxacarb, propoxurStation baitsUC IPM rates these as not very effective, since they act too fast
Pyrethroids (bifenthrin, cypermethrin)Sprays and barriersRepellent, cancels nearby baits, avoid on hard outdoor surfaces

Only buy products registered with the EPA, and follow the label exactly. The label is a legal document rather than a suggestion, so it tells you where a product may go and what has to be kept away from it.

How to keep ants out for good

A dead colony leaves an empty route, and another colony will eventually find it. So the last job is to make the house less worth entering.

When to call a professional

Most ant problems do not need one, though a few genuinely do. Call when carpenter ants are working in structural timber, when fire ant mounds sit where children play, or when pharaoh ants have spread through an apartment building.

Two rounds of correct baiting without progress is also a reasonable trigger. At that point you are probably dealing with several nests or a species that needs products sold only to licensed applicators.

Before you call, spend five minutes identifying the ant. A company quoting for carpenter ants will price the job very differently from one treating a pavement ant trail, so knowing which you have protects you.

Ants, aphids and honeydew

Ants swarming a shrub or a houseplant are usually not interested in the plant. They are farming the aphids on it, because aphids excrete a sugary waste called honeydew that ants harvest like a crop.

The relationship runs both ways. UC IPM notes that ants protect aphids and soft scales from their natural enemies, so aphid outbreaks often follow ant activity rather than the other way round.

So treat the aphids and the ants usually lose interest on their own. Our guide to getting rid of aphids covers the order that works, and small black bugs helps if you are still not certain what is on the plant.

Pest control disclaimer. Photo-based identification can help, but it is not always perfect. For dangerous spiders, large infestations, or anything you are unsure about, contact a licensed pest control professional.

Frequently asked questions

What gets rid of ants immediately?
Nothing honest. Soapy water or a vinegar spray kills the ants on the counter within seconds, and that is the whole of it, because the nest is untouched and sends more within hours. A slow-acting bait is the fastest real answer, and it usually takes several days to a fortnight.
What scent will keep ants away?
Peppermint, cinnamon, citrus and vinegar all disrupt a scent trail while the smell lasts, so ants stop using that route for a while. None of them reach the nest, so the colony simply routes around the smell. Treat scent as a way to buy an evening, never as a solution.
Does Dawn dish soap really kill ants?
Yes, on contact. Soap breaks down the waxy layer that keeps an ant from drying out, so a soapy spray kills the ants it lands on. It leaves no residue that reaches the colony, so it cleans up a trail rather than solving the problem.
What do ants absolutely hate?
Nothing strongly enough to leave a good food source. Ants avoid strong smells such as peppermint and vinegar in the short term, and they dislike dry, sealed, crumb-free surfaces in the long term. The second list is the one that works, because it removes the reason they came.
How to get rid of ants when you don't know where they're coming from?
Let them show you. Put a dab of bait or a smear of jam on a card where you last saw one, then wait an hour without cleaning anything. The trail that forms leads straight back to the entry point, so the ants do the searching for you.
What does having a lot of ants in your house mean?
Usually that the weather changed or something is leaking. Heavy rain floods nests and drought dries out their food, so both push foragers indoors. A sudden indoor trail also points to a spill, a dripping pipe or a pet bowl left down overnight.
How long does vinegar keep ants away?
About as long as you can smell it, which is a few hours on most surfaces. Vinegar erases the pheromone trail rather than repelling ants, so scouts simply lay a fresh trail once the smell fades. It is a good cleaning step and a poor control method.
How to 100% get rid of ants?
Kill the colony, then change what attracted it. Bait kills the queen and the brood, so the nest stops producing foragers. Sealing entry points and removing food and water stops the next colony taking over the same trail, which is the part most people skip.
Why are there more ants after I put bait down?
Because the bait is working. A worker that finds food lays a recruitment trail, so numbers climb before they fall. Seeing a crowd on day two is the clearest sign you picked a bait the colony wants.
How long does ant bait take to work?
Several days for a small colony and two weeks or more for a large one. The delay is deliberate, since a bait that killed instantly would kill the worker before it reached the nest. Judge it at day ten rather than day two.
Why won't the ants take my bait?
Usually the wrong food type or the wrong placement. A colony feeding on grease ignores a sugar bait, so offer both and watch. Cleaning crumbs and sticky spots nearby also helps, because bait has to be the best meal in the room to win.
Does killing ants attract more ants?
A crushed ant releases alarm pheromone, which briefly draws nestmates to the spot rather than repelling them. The bigger problem is simpler: killing foragers removes the only ants that could have carried poison home. So squashing the trail slows down every method that actually works.
Can I spray around the outside and bait inside?
Not at the same time. A repellent barrier near a bait station stops ants reaching it, and it can also trap foragers indoors with the nest. Finish the baiting first, then treat outside later if you still need to.
What kills ants permanently?
A bait the workers share with the queen, followed by exclusion. Ants feed each other mouth to mouth, so a slow poison spreads through the nest and reaches the brood. Nothing stays permanent unless the gaps and the food source change too.
Are the ants in my kitchen dangerous?
Almost never. Common house ants carry no venom worth worrying about and spread far less disease than cockroaches or flies. The real cost is contaminated food, and for carpenter ants, damage to damp wood.
How do I tell ants from termites?
Look at the waist and the wings. An ant has a pinched waist, elbowed antennae, and front wings longer than the back pair. A termite has a straight body, straight antennae, and four wings of equal length that drop off in piles.
What are the tiny ants in my bathroom?
Most often pharaoh ants or an odorous house ant trail following moisture. Both nest in wall voids near pipes and heat, so a bathroom sighting usually means a leak or condensation nearby. Never spray pharaoh ants, because the colony splits when disturbed.
Do ants mean my house is dirty?
No. Scouts explore constantly, and one crumb behind a toaster is enough to start a trail in a spotless kitchen. Cleanliness makes a house less rewarding rather than invisible, so tidy homes still get ants after heavy rain.
Should I use ant spray around children or pets?
Prefer enclosed bait stations, which keep the active ingredient behind a barrier. Place them where small hands and paws cannot reach, such as inside a cupboard or behind an appliance. Always follow the product label, since the label is the legal instruction.
Why do ants come back every spring?
Colonies survive the winter underground and resume foraging once soil temperatures rise. The same nest often uses the same trail, so an untreated colony returns to the route it learned last year. Sealing that route in autumn breaks the habit.
Do ants in the garden need treating?
Rarely. Outdoor ants aerate soil and eat other pests, so they earn their place until they farm aphids or nest against the foundation. Treat the aphids instead and the ants usually lose interest.
When should I call a professional for ants?
Call when the ants are carpenter ants in structural wood, when a fire ant mound sits where people walk, or when baiting has failed twice with the right bait. Repeated failure normally means several nests or a species that needs a product sold to licensed applicators.

Related guides

Sources