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 on how to get rid of 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 says the foragers are typically only a small share of the colony. For carpenter ants, it puts the share out at any one time at about 10%. So a perfect spray that killed every ant you could see would still leave most of the colony 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. Found a big ant walking in the open? Our guide on what a queen ant in the house means explains why one queen rarely matters.

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

Argentine ant

Prefers
Sweets, sometimes protein
Nests
Shallow mounds outdoors, often by the foundation

Odorous house ant

Prefers
Sweets, sometimes protein
Nests
Wall voids, near water pipes and heaters

Pavement ant

Prefers
Sweets, protein and grease
Nests
Under stones and slabs, along sidewalks

Pharaoh ant

Prefers
Fats and protein first, then sweets
Nests
Wall and cabinet voids, behind baseboards

Thief ant

Prefers
Grease and fat
Nests
Behind wallboards, in tiny cracks

Carpenter ant

Prefers
Sweets and protein
Nests
Damp or damaged wood, plus satellite nests indoors

Fire ant

Prefers
Protein and sweets
Nests
Outdoor 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.

One outdoor ant breaks the sugar-or-protein rule. Harvester ants, the big red ants of Texas and the West, live on seeds and dead insects, so extension guides call for a granular bait whose label lists harvester ants. Our harvester ant guide covers the nest, the sting and when to leave them be.

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. For a full key by size, color, smell and region, see our ant identification guide.

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.

One two-node ant is easy to spot without a lens. If the ants lift a heart-shaped abdomen over their back when disturbed, they are acrobat ants, which usually nest in damp wood near windows. Bait still works on them, but the leak behind the nest needs fixing too.

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

This table is for choosing a bait. To name an ant first, by size, color, smell and where you found it, use our key to two dozen US ants.

Common US household ants, after UC IPM Pest Notes 7411

Argentine ant (Linepithema humile)

Nodes
1
Size and colour
1/8 in, dull brown
The tell
Endless trails from outdoors, little or no smell when crushed (some say musty)

Odorous house ant (Tapinoma sessile)

Nodes
1
Size and colour
1/8 in, dark brown to black
The tell
Smells strongly of rotten coconut when crushed

Carpenter ant (Camponotus spp.)

Nodes
1
Size and colour
1/4 to 1/2 in, black or red and black
The tell
Sawdust-like frass below the nest, active at night

Velvety tree ant (Liometopum occidentale)

Nodes
1
Size and colour
1/8 to 1/4 in, black abdomen, red thorax
The tell
Distinct odour, nests in dead limbs and stumps

Pavement ant (Tetramorium caespitum)

Nodes
2
Size and colour
3/16 in, dark brown to black
The tell
Soil craters between paving slabs

Pharaoh ant (Monomorium pharaonis)

Nodes
2
Size and colour
1/16 in, yellow to orange
The tell
Tiny and pale, in kitchens and hospitals, buds if sprayed

Red imported fire ant (Solenopsis invicta)

Nodes
2
Size and colour
1/16 to 1/5 in, reddish, dark abdomen
The tell
Mound with no single entrance, stings in numbers

Southern fire ant (Solenopsis xyloni)

Nodes
2
Size and colour
1/8 to 1/4 in, amber and black
The tell
Flattened irregular craters, golden body hairs

Thief ant (Solenopsis molesta)

Nodes
2
Size and colour
1/32 in, yellow to light brown
The tell
Smaller 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. It is also the ant most people mean when they say sugar ants.

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, the first thing to confirm before you work out how to get rid of ants
Two ant features a termite never has: antennae with a clear elbow bend, and a waist pinched sharply between the thorax and the abdomen.

An ant has elbowed antennae, a sharply pinched waist and front wings longer than the back pair. A termite has straight antennae, a straight body and four wings of equal length. Our flying ants guide covers which ant swarms in which month. For the wing test and whose wings are on your sill, see our side-by-side check of winged ants and termites.

Why the ants came back last time

Most people searching how to get rid of ants reached this 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 ants, a quarter to half an inch long, black or red and black, with coarse sawdust below a windowsill or doorframe, are usually carpenter ants. They do not eat wood. They dig nests in timber that has been damp, and UC IPM notes a large colony can spread from there into sound wood over the years.

Carpenter ants need a different plan from kitchen ants. The nest and the moisture come first, and baits are less reliable on them. Our carpenter ant identification and nest-finding guide covers what a sighting means by season and how to track the workers home. Our step-by-step carpenter ant removal plan then takes it from there.

A related look-alike catches people out every spring. Perfectly round holes about half an inch across on the wood surface 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. They need a different plan from kitchen ants. Our fire ant identification and safety guide covers how to confirm them, which states have them, what to do about stings and the two-step method for yards.

A fan of loose soil with a plugged hole off to one side, often several scattered across a lawn, is not ants at all. That is a gopher mound, and the fix is a trap in the tunnel below it.

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

Vinegar spray

Does it do anything?
Erases the pheromone trail for a few hours
Verdict
Good cleaner, not a control method

Dish soap and water

Does it do anything?
Kills ants on contact by breaking the waxy cuticle
Verdict
Useful for a visible trail, reaches no nest

Cinnamon, peppermint, citrus peel

Does it do anything?
Masks or disrupts a trail briefly
Verdict
Buys an evening, colony reroutes

Coffee grounds, chalk lines

Does it do anything?
Little to nothing
Verdict
Skip it

Baking soda and sugar

Does it do anything?
Kills about half the workers over days in lab tests; no colony data
Verdict
Weak, and no substitute for bait

Boiling water on a mound

Does it do anything?
Kills the part of the nest it reaches
Verdict
Partial at best, scalds roots and people

Diatomaceous earth

Does it do anything?
Abrades the cuticle where it stays bone dry
Verdict
Works slowly, useless once damp

Borax or boric acid bait

Does it do anything?
Slow-acting stomach poison the workers share
Verdict
This 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 popular claim is that soda reacts with acid in the ant and kills it within minutes. A 2004 Florida Entomologist study found it kills slowly and only partly, by raising the ant’s internal pH. Nobody has shown it ends a colony. Our home remedies for ants, rated by evidence covers twenty remedies with the studies behind each.

The borate bait at the bottom of that table is the one worth getting right, and strength is where people go wrong. Extension baits run 0.5 to 1% boric acid in sugar water, and above 1% the ants eat less and then refuse it, so a stronger mix works worse. Our guide to mixing a borate bait that ants will actually take has the ratio, the ant species it will not clear, and the safety limits around children and pets.

Natural and pet-safe options

When you look up how to get rid of ants naturally, every remedy does one of four jobs: it repels ants from a spot, erases their scent trail, kills the ants it touches, or ends the colony. Vinegar, peppermint oil and cinnamon only do the first two, and soapy water does the third. Only a slow bait the workers carry home and share, such as a borate bait, reaches the queen. Our natural ant remedies, rated covers twenty of them, with the studies, how long each lasts and which are risky around pets.

In a home with children or pets, keep it simple. Use soapy water on the trail, seal food and caulk gaps. Put bait in closed stations where small hands and paws cannot reach. If a pet eats bait, call your vet or the ASPCA Animal Poison Control Center at (888) 426-4435. For a child, call Poison Control at 1-800-222-1222.

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

Boric acid or borate

Form
Liquid and gel baits
Notes
Slow, well suited to sweet-feeding ants, the classic DIY option

Hydramethylnon

Form
Granular and station baits
Notes
Slow-acting, widely used, good colony transfer

Fipronil

Form
Gel and station baits
Notes
Very effective at low doses, spreads well through a nest

Abamectin (avermectin B)

Form
Station baits
Notes
Slow-acting, suited to indoor stations

Indoxacarb, propoxur

Form
Station baits
Notes
UC IPM rates these as not very effective, since they act too fast

Pyrethroids (bifenthrin, cypermethrin)

Form
Sprays and barriers
Notes
Repellent, 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

Not sure it is this one?

Identify a bug