Home & PorchWhat running a house really costs, worked out before you spend

Planning guides

Pests · Bugs Indoors

Ants in the Kitchen Need Bait, Not Spray

Spraying the trail kills the ants you can see and leaves the colony and its queens untouched. How baits work, how long they take and where to put them.

A dense crowd of small ants swarming over a piece of food on stone
On this page

A line of small ants across the counter is one of the most familiar pest problems in any house, and it is almost always handled the same way: spray the line, wipe it up, and watch it reappear two days later a few inches to the left.

The reason is simple once you see it. The ants on your counter are a tiny fraction of the colony, and the colony is somewhere else.

Why spraying the trail fails

UC IPM puts it plainly: spraying ants indoors with pesticides will not prevent more ants from entering. Perimeter sprays around the house have a similar problem, since they kill only foraging ants without killing the colony and the queens.

Many common household ants, including the Argentine ant, make it harder still. Their colonies, UC IPM explains, are not separate but linked into one large supercolony with many queens. Kill a trail of workers and the colony simply sends more.

Why bait works

A bait combines food the ants want with a slow-acting insecticide. Workers feed, return to the nest and share the food with other workers, larvae and queens. In UC IPM’s words, the ants take the product back to the nest where the entire colony, including queens, can be killed.

The slow action is the point. A fast poison kills the worker before it gets home.

How long it takes. UC IPM says it can take five to ten days to see fewer ants, and a severe problem may take several weeks. A bait that seems to attract more ants in the first day or two is doing its job: the workers are recruiting others to the food.

Several ants gathered close together on a piece of wood
Ants that crowd a bait are carrying it home. Resist the urge to wipe them away.

Where to put bait

UC IPM’s advice is to use baits primarily outdoors, and indoors only if there is a serious infestation.

  1. Follow the trail back to where it enters the house, and outside to where it goes.
  2. Place bait stations outdoors along the trail, near the foundation and near the nest if you can find it.
  3. If you must bait indoors, put stations right on the trail, away from children and pets, and do not clean around them for a few days.
  4. Match the bait to the ant. UC IPM lists sweets for Argentine and carpenter ants, and sweets, proteins and grease for pavement ants. If ants ignore a bait, try another type.
  5. Replace stations when they are empty.

Cleaning up without undoing the bait

You do still need to clean, just in the right order.

  • Wipe the trail with soapy water where there is no bait, to remove the scent ants follow. UC IPM notes indoor sprays are not necessary if thorough cleaning removes trails.
  • Put food away in sealed containers, especially sugar, honey, syrup and pet food.
  • Rinse bottles and jars that go back in the cabinet sticky.
  • Empty the trash can often and keep a lid on it.
  • Fix drips under the sink. Ants come in for water in dry weather as much as food.
Worth knowing

UC IPM notes that ants often come indoors seeking food, water or shelter, or as refuge from dry, hot weather or flooded conditions, and may appear suddenly when the weather changes. Ants that arrive that way were not living in the house to begin with. Caulking the crack they are using and baiting outside is usually enough.

Closing the door

UC IPM’s exclusion advice is practical:

  • Caulk cracks and openings that provide entry into the building, especially around windows, doors, pipes and wires.
  • Keep plants, grass and mulch at least a foot away from the foundation, to reduce ant foraging and nesting against the house.
  • Trim branches and shrubs that touch the walls or roof and act as bridges.
  • Reduce outdoor sources. UC IPM notes that reducing ants near buildings reduces the likelihood of ants coming indoors.

When it is not an ordinary ant

  • Large black ants with fibrous sawdust nearby may be carpenter ants, which excavate wood and need a different approach.
  • Winged ants swarming indoors can be ants or termites. Check antennae, waist and wings before assuming.
  • Ants that sting may be fire ants, which are a separate problem, usually outdoors, and should be treated with care.

Related reading: What Bed Bug Treatment Actually Costs and A Bed Bug Encasement Is Part of a Wider Control Plan.

Questions people ask

Why do ants keep coming back after I spray them?

Because spraying kills only the workers you can see. UC IPM says indoor sprays will not prevent more ants entering, and perimeter sprays kill foragers without killing the colony or its queens.

How long does ant bait take to work?

UC IPM says it can take five to ten days to see fewer ants, and several weeks for a severe problem. The bait has to be carried back and shared through the colony, so a slow start is normal.

Should I put ant bait inside or outside?

UC IPM advises using baits primarily outdoors along trails and near nests, and indoors only if there is a serious infestation. Place indoor baits right on the trail, out of reach of children and pets.

How do I stop ants coming into the kitchen?

Clean up trails and food, fix water leaks, caulk the cracks they use, bait outdoors, and keep plants, grass and mulch at least a foot away from the foundation.

Where these figures come from

  1. Ants Management Guidelines University of California Statewide IPM Program · ipm.ucanr.edu
  2. Carpenter Ants Management Guidelines University of California Statewide IPM Program · ipm.ucanr.edu

Figures last checked September 2026.

Researched and written by

Home & Porch Editorial

Every figure in this guide comes from a published source, linked above, and was checked before publication. No affiliate links and no sponsored posts.

How we work and who is behind it

More in Pests

Pests

What Bed Bug Treatment Actually Costs

Heat or chemical, one room or the whole home, one visit or three. How a bed bug quote is built, and what to demand before you pay for it.

8 min read

Pests

Is a Bed Bug Mattress Encasement Worth It?

Bed bug encasement prices, mattress measurements and zipper warranty limits, with the difference between protecting a bed and treating a room.

7 min read

Pests

The Bug Bomb Is the Wrong Tool

Total release foggers do not reach the cracks where bed bugs and roaches hide, they can scatter them, and too many can cause an explosion. What to use instead.

6 min read