How to Get Rid of Ants in the Kitchen (and Keep Them Out)

Every tip here is checked against the sources listed at the bottom.

A clean kitchen counter with a glass jar of sugar sealed tight, a small liquid ant bait station tucked against the backsplash where a thin line of ants is heading, and a caulk tube resting nearby

The short answer

What works Wipe up the ants and their trail with soapy water, and put every sweet or greasy food in a sealed container. Then set slow-acting ant bait where they walk, so they carry it home to the nest. Do not spray while the bait works. Once they are gone, seal the crack they came through.

How long
UC Integrated Pest Management says it can take 5 to 10 days to see fewer ants. TERRO says complete control can take up to two weeks.
What it costs
A 6 pack of TERRO Liquid Ant Baits was $5.49 to $5.59 at Target.com on November 7, 2026. A small tube of silicone caulk was $4.99 to $5.29.
What you need
Dish soap, a sponge, containers that seal, liquid ant bait stations and a small tube of caulk.
Jump to the steps
From your cabinet
  • Dish soap

Before you start: why the spray can lets you down

It makes sense to reach for a spray, because it drops every ant you can see. But the University of Minnesota says spraying is only temporary and has little to no effect on the nest.

Bait fixes that. UC Integrated Pest Management says the ants carry it back to the nest, where it reaches the whole colony, queens included.

Step by step

  1. Follow the line back to where they come in

    Before you wipe anything, watch the ants for a minute. Follow the line away from the food to where they come in. Look for a crack along the baseboard, a gap around a pipe under the sink, or a window sill.

  2. Wipe up the ants with soapy water

    Mix a little dish soap into warm water. Dip a sponge in it and wipe up the ants on your counters and around the food, along with the path they walked. UC Integrated Pest Management says soapy water removes the scent trail they leave behind.

  3. Put away anything they can eat

    Move sugar, syrup, honey, cereal and snacks into glass jars or plastic containers with tight lids. UC Integrated Pest Management says to use sealed containers, not plastic bags or open packages. Wipe sticky jars, sweep up crumbs, put pet food away between meals and take the trash out.

    This step matters for the bait too. The University of Minnesota says bait can fail when ants have other food to choose from.

  1. Set bait stations along the trail

    Set liquid bait stations near the trail and anywhere the ants come in. TERRO says to use all six stations in its pack so there is enough bait. Read the label before you open the stations.

    Put them where kids and pets cannot reach them. Do not set bait anywhere you have sprayed bug spray, because TERRO says ants may avoid it.

    What it looks like: more ants at first. TERRO says that is expected, because they have found the bait.

  2. Leave the bait alone and do not spray

    Let the ants feed and carry the bait home. Do not spray them, and do not move the stations. UC Integrated Pest Management says not to use bug sprays while you use bait, and to keep cleaning up trails on your counters meanwhile.

    Check the stations every couple of days, and replace any that run empty.

    What it looks like: over the next 5 to 10 days you see fewer ants, until the trail is gone.

  3. Seal the crack they used

    Once the ants are gone, close the gap you found in Step 1. Run a thin line of caulk into the crack and smooth it with a damp finger. UC Integrated Pest Management says to find where they enter and seal it with caulk.

    Follow the caulk tube’s label for how long to let it dry before you clean that spot.

When it will not work, and what to do instead

Sometimes the ants hang on longer than the bait. Here is what to check.

  • The ants are ignoring the bait. They may have better food nearby, so go back over Step 3. The University of Minnesota also says bait can fail when there is not enough of it or when more than one colony is coming in. Add stations on each trail.
  • They keep coming after two weeks. TERRO’s liquid bait is made for common household ants. It says it does not control fire ants, pharaoh ants, carpenter ants or harvester ants, so read the label of any bait to see which ants it lists.
  • You think they are carpenter ants. The University of Minnesota says these ants nest in moist or rotting wood, and controlling them usually takes a pest management professional.
  • They are back next spring. TERRO says to replace its stations every 3 months once the ants are under control, to keep them from coming back.

Be safe

  • Bait is a pesticide. Read and follow the whole label. The University of Minnesota says to always follow pesticide label directions.
  • Kids and pets. TERRO says to place bait where children and pets cannot get to it. UC Integrated Pest Management says prepackaged bait stations are the safest kind to use.
  • Not in food areas of a business. TERRO says not to use its bait in the food areas of restaurants and other food businesses. At home, keep stations off the spots where you make food.
  • No sprays with bait. TERRO says ants may avoid bait where insecticide was sprayed, so skip sprays while the bait works.
  • One cleaner at a time. Plain dish soap and water is all you need for the trail. If you use any other cleaner nearby, never mix it with another product. See the never-mix chart.
  • Poison Help line, 1-800-222-1222. It is free and confidential, 24 hours a day, 7 days a week.

What to buy

We may earn a small fee from these links. It never changes the picks or your price.

  • Liquid ant bait stations

    TERRO Liquid Ant Baits, 6 pack, was $5.49 to $5.59 at Target.com on 11/7/2026. Its active ingredient is borax (5.40%).

  • A small tube of 100% silicone caulk

    For sealing the crack once the ants are gone. DAP Kitchen and Bath 100% Silicone, 2.8 oz squeeze tube, was $4.99 to $5.29 at Target.com on 11/7/2026.

Why it works

Ants are not wandering. They leave a scent trail, and the rest of the line follows it to your food. That is why soapy water helps: it wipes the trail away, so the next ants lose the path.

Bait works because ants share food. UC Integrated Pest Management says workers carry it back to the nest, where the whole colony and the queens get it.

That is also why it has to be slow. UC IPM says a bait that killed the workers on the spot would never make it home. It is a little like sending a casserole to the whole house instead of handing a plate to whoever answers the door.

A word from Denise

You walk in for your morning coffee and find a line of ants across the counter you wiped last night. Nothing is wrong with your housekeeping. Ants simply found a way in, so give the bait a week before you judge it, and then seal that crack.

Questions people ask

Why do I see more ants after I put out bait?

That is the bait doing its job. TERRO says you will see more ants at first because they found it and are carrying it home. Leave the stations alone and do not spray.

How long does ant bait take to work?

UC Integrated Pest Management says it can take 5 to 10 days to see fewer ants. TERRO says complete control can take up to two weeks, and the University of Minnesota says some colonies take several weeks to several months.

Does vinegar get rid of ants?

Soapy water is the wipe UC Integrated Pest Management names for clearing the scent trail, so you do not need vinegar for it. Neither one reaches the nest, though. Only bait the ants carry home does that.

Is ant bait safe with kids and pets in the house?

UC Integrated Pest Management says baits are quite safe when kept away from children and pets, and prepackaged stations are the safest kind. Read the label, and put stations where little hands and paws cannot reach.

More help like this

Next tipWhy fruit flies keep coming back
Denise laughing in her kitchen

About Denise

I’m Denise, and I explain home fixes the way a friend would at your kitchen table. Every tip I share is written from the sources listed on its page and checked against them before it goes up.

How my tips are checked

Sources

Sources opened and checked on November 7, 2026.

  1. UC Statewide Integrated Pest Management Program, Pest Notes: Ants (soapy water removes the scent trail, find entry points and seal with caulk, sealed containers not plastic bags or open packaging, baits carried to the nest and queens, slow-acting so workers get home, 5 to 10 days to see fewer ants, no sprays with baits, keep cleaning trails, baits quite safe kept from children and pets, bait stations safest) ipm.ucanr.edu
  2. University of Minnesota Extension, Ants (bait is the best way to treat an indoor nest, spraying is temporary with little to no effect on the nest, do not spray with bait, competing food, more than one colony, too little bait, several weeks to several months, glass jars or plastic containers, carpenter ants nest in moist or rotting wood and usually need a professional, follow pesticide label directions) extension.umn.edu
  3. TERRO, Liquid Ant Baits T300 (near trails and entry points, ants may avoid bait where insecticides were sprayed, use all six, more ants at first, up to two weeks, replace every 3 months, out of reach of children and pets, not in food areas of food businesses, 5.40% borax, ants it does and does not control) terro.com
  4. HRSA Poison Help, Calling Poison Help (1-800-222-1222; free and confidential help 24 hours a day, 7 days a week) poisonhelp.hrsa.gov
  5. Target.com search results (prices, checked 11/7/2026) target.com target.com
Fact log: how each claim on this page was checked (21 claims)

Every claim on this page, the source behind it and what the check found. Kept open for anyone who wants to look under the hood.

ClaimSourceWhat the check found
Spraying is temporary and has little to no effect on the nestSource 2 (rechecked November 7)Matches the source.
Bait is the best way to treat an indoor nest; ants carry it to the colony and queens; it must be slow-actingSources 1 and 2 (rechecked November 7)Matches the source.
Find where they enter and seal with caulkSource 1 (rechecked November 7)Matches the source.
Soapy water removes the scent trailSource 1 (rechecked November 7)Matches the source.
Sealed containers, not plastic bags or open packages; glass jars or plastic containersSources 1 and 2 (rechecked November 7)Matches the source.
Bait fails with competing food, more than one colony or too little baitSource 2 (rechecked November 7)Matches the source.
Place bait near trails and where ants enter; use all sixSource 3 (rechecked November 7)Matches the source.
Ants may avoid bait where insecticides were sprayed; no sprays while using bait; keep cleaning trailsSources 3 and 1 (rechecked November 7)Matches the source.
More ants at first is expectedSource 3 (rechecked November 7)Matches the source.
5 to 10 days to see fewer ants; up to two weeks for complete control; several weeks to several monthsSources 1, 3, 2 (rechecked November 7)Matches the source.
Check and refresh stations; replace every 3 months once controlledSources 1 and 3 (rechecked November 7)Matches the source.
TERRO T300 does not control fire, pharaoh, carpenter or harvester ants; works on common household antsSource 3 (rechecked November 7)Matches the source.
Carpenter ants nest in moist or rotting wood; control usually needs a pest management professionalSource 2 (rechecked November 7)Matches the source.
Place bait where children and pets cannot reach; baits quite safe if kept from them; stations safestSources 3 and 1 (rechecked November 7)Matches the source.
Not for food areas of food handling businessesSource 3 (rechecked November 7)Matches the source.
Always follow pesticide label directionsSource 2 (rechecked November 7)Matches the source.
Ants follow a scent trailSource 1Matches the source.
5.40% borax active ingredientSource 3 (rechecked November 7)Matches the source.
Prices: TERRO 6 pack $5.49 to $5.59; DAP 100% Silicone 2.8 oz $4.99 to $5.29Source 5, opened November 7, 2026Matches the source (dated, Target.com; Walmart links carry no price).
Poison Help line, 1-800-222-1222; free and confidential, 24 hours a day, 7 days a weekSource 4Matches the source (HRSA Calling Poison Help page; one wording site-wide, November 7).
Dropped: vinegar, cinnamon, peppermint or other home “ant repellent” claims; and, at the 11/7 check, a set soap amount, a cleanup time estimate, “ants crowd the bait within a few hours”, the other visual cues no source gives, and “leave the trail by the bait alone” (UC IPM says to keep cleaning trails)No source supports themLeft out on purpose