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.
- Indoors: beside the trail, at the entry point, and under the sink or behind the appliance the line runs towards.
- Outdoors: UC IPM suggests stations every 10 to 20 feet around the foundation, plus any nest openings you can find.
- Out of reach: inside a cupboard, behind a kickboard, or in an enclosed station wherever children or pets go.
- Away from cleaner: bleach and strong detergents near a station deter ants, so clean the area first and then place the bait.
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.
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.

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.
- The nest survived. Killing foragers never touches the queen, so the colony rebuilds its workforce and resumes the same trail.
- The spray split the colony. Pharaoh ants and odorous house ants bud under chemical stress, which turns one nest into several.
- The bait ran dry. A station emptied halfway through the job feeds part of the nest and teaches the rest to look elsewhere.
- Nothing changed outside. The gap, the leak and the aphid-covered shrub by the wall were all still there, so a fresh colony inherited the route.
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
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.
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.
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.
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.
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.
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.
- Seal the gaps. Caulk around pipes, cables, window frames and the sill plate, since these are the highways.
- Fix the water. Repair drips, clear gutters and grade soil away from the wall.
- Store food closed. Sugar, honey, pet food and fruit belong in sealed containers rather than open packets.
- Cut the bridges. Trim branches and shrubs touching the house, because ants walk them like a ramp.
- Move the mulch back. Deep mulch against a foundation is ideal nesting ground, so leave a dry gap.
- Clean as you go. Crumbs, spills and sticky jars are the reason the first scout succeeded.
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?
What scent will keep ants away?
Does Dawn dish soap really kill ants?
What do ants absolutely hate?
How to get rid of ants when you don't know where they're coming from?
What does having a lot of ants in your house mean?
How long does vinegar keep ants away?
How to 100% get rid of ants?
Why are there more ants after I put bait down?
How long does ant bait take to work?
Why won't the ants take my bait?
Does killing ants attract more ants?
Can I spray around the outside and bait inside?
What kills ants permanently?
Are the ants in my kitchen dangerous?
How do I tell ants from termites?
What are the tiny ants in my bathroom?
Do ants mean my house is dirty?
Should I use ant spray around children or pets?
Why do ants come back every spring?
Do ants in the garden need treating?
When should I call a professional for ants?
Related guides
Small black bugs
Fourteen tiny dark bugs people mistake for ants, sorted by size and by room.
Borax for ants
The working mix, why a stronger bait works worse, the ants it will not clear, and the safety limits.
Get rid of aphids
The honeydew source that brings ants onto your plants, and how to clear it.
Fire ants
Mounds with no hole on top and stings in numbers: how to confirm fire ants, which states have them, and what to do.
Acrobat ants
Tiny ants that raise a heart-shaped abdomen and leave debris on the window sill: what they mean and how to bait them.
Carpenter ants
Big black ants and sawdust under a window: how to confirm them and find the nest.
Harvester ants
Big red ants and a bare circle in a western yard: the sting, the fire ant check, and whether to treat.
Carpenter bee
Perfectly round half-inch holes in wood point here rather than to carpenter ants.
Types of ants
Sort any US ant by size, color, waist nodes, smell and region, and see which ones sting.
Sugar ants
The tiny ants on the counter are one of six or seven kinds. Tell them apart by smell, size and color, and bait the right way.
Natural ant repellent
Twenty home remedies rated by what they really do, from vinegar and peppermint oil to baking soda and diatomaceous earth.
How to get rid of carpenter ants
Big black ants that nest in damp wood need a different plan from kitchen ants: nests first, bait second, weeks not days.
Fire ant bites
Stung in the yard? What to do now, how long the pustules last, and the warning signs.