Family & Yard
How to get rid of ants in the house, the kitchen and the yard
The ants on your counter are a small crew from a colony you can't see. Find where they get in and what they came for, then pick the treatment that fits the place.
By the Brightcide Editorial TeamUpdated 8 min read

The short answer
- Follow the trail first. It shows you where the ants get in and what they came for.
- Indoors, the fix is cleaning up food and water, sealing the entry point, and a labeled ant bait that workers carry home.
- Spraying the ants you see kills those ants and leaves the colony and its queens in place.
- A yard spray is for ants in the yard. It won't solve ants in the kitchen.
- Carpenter ants and fire ants need a different plan, and often a licensed professional.
To get rid of ants, follow the trail to find where they come in and what they're after. Take away the food and water, wipe the trail with soapy water and seal the gap. Indoors, use a labeled ant bait instead of a spray, because bait reaches the colony.1 Outdoors, treat the nest or the ground where the ants are active.
How to get rid of ants: what to do first
Do these in order. The first three cost nothing and they decide whether you need a product at all. EPA gives the same advice for any household pest: start by removing food, water and shelter, and close off the places pests get in.2
- 1Watch before you wipeAnts travel regular routes along a scent trail between the nest and the food.3 Follow the line both ways. One end is what they want. The other end is a crack, a window frame or a pipe gap. It can take 30 minutes or more of watching to find a nest.3
- 2Decide where the problem livesIf the trail leaves the house, you have outdoor ants visiting. If it disappears into a wall, a cabinet base or damp wood, the nest may be inside. If the ants never come indoors, it's a yard problem and the indoor steps don't apply.
- 3Remove what they came forPut the food in a sealed container, wipe up the spill and fix the drip. Leaky faucets attract ants as surely as sugar does.1
- 4Erase the trail and seal the gapSponge up the ants with soapy water, which removes the scent trail, and clean right up to the entry point. Then seal it with caulk.1
- 5Choose a treatment for that placeBait for ants that keep coming indoors. A nest or ground treatment for ants living in the yard. The sections below cover both.
Check which ant you have
Most ants in a kitchen are small nuisance ants that came in for food, water, warmth or shelter.1 Two kinds are different enough to change the plan, and the National Pesticide Information Center says to identify the species before you choose a treatment for that reason.4 Winged termites also get mistaken for ants.
| What you see | Likely culprit | What to do |
|---|---|---|
| Small ants in a line to food, a sink or the pet bowl | Nuisance ants foraging from a nearby nest | Clean, seal and bait. This guide is written for these. |
| Large ants, about 3/8 to 1/2 inch, black or red and black. Coarse sawdust, or a dry rustling sound in a wall.5 | Carpenter ants | They don't eat wood, but they hollow it out to nest and can weaken it over years. In most cases this needs a pest management professional.5 |
| Reddish-brown or black ants, 1/8 to 1/4 inch, from a hard mound in the lawn. A painful sting that burns.6 | Imported fire ants | Keep kids and pets away from the mound. Use the bait-based program your state extension service recommends, or hire a professional. |
| Winged insects indoors with a thick, straight body and no pinched waist3 | Termites, not ants | Call a licensed inspector. |
Fire ants live throughout the southern United States and in parts of California and Puerto Rico.6 Texas A&M's fire ant program recommends a two-step method for infested yards: broadcast a fire ant bait across the yard, then treat the individual problem mounds with a product labeled for mounds.7 In California, UC asks residents to report a suspected fire ant infestation to the county agricultural commissioner.1
How to get rid of ants in the house
The ants you see indoors are foragers. A lone ant wandering the counter is usually a scout looking for food or a nesting site.1 Once one finds something, the trail brings the rest. So the indoor job has three parts, and none of them is a spray.
- Cut off the food. Store sugar, syrup, honey and pet food in closed containers, and rinse the outsides of jars that get sticky.1
- Cut off the water. Fix leaky pipes and clogged gutters, and replace wood that has moisture damage.4
- Close the route. Seal the cracks ants are using. They're small, so you won't find every one, but closing the busy ones matters.3
- Clear the bridges. Trim shrubs and branches that touch the house so ants can't walk across.4
If ants keep appearing after that, put out a labeled ant bait where you've seen them traveling, out of reach of small children and pets.1 Follow the label for where it can go. Our guide to reading a pesticide label shows which lines to check first.
How to get rid of ants in the kitchen
The kitchen has everything an ant wants within a few feet, so the same plan gets more specific here.
- Wipe counters after every meal and clean up crumbs and spills right away, especially sweet drinks.4
- Move food out of cardboard boxes and paper wrappers into hard, sealed containers.4
- Empty and wash the trash can and the recycling bin regularly.4
- Pick up the pet bowl between meals and store the kibble in a closed container.
- Check under the sink and behind the dishwasher for a drip.
- Vacuum up a heavy trail, then throw out the vacuum bag right away.4
- Keep sprays off counters, dishes and anywhere food is prepared. Bait stations go along the trail, away from food.
Baits or sprays: why spraying the trail doesn't end it
Only a small share of a colony is out of the nest at any one time, so killing the foragers has little effect on it.3 UC's ant guidance is blunt on this point: spraying ants indoors won't prevent more from coming in, and sprays kill foraging ants without killing the colony or the queens.1
Bait works the other way around. Workers feed on it and carry it back to the nest, where they share it with the rest of the colony.3 The active ingredient is slow on purpose, so the workers live long enough to make the trip.1 That's why the ants crowding a bait station should be left alone. They're doing the delivery.
| Ant bait | Contact spray | |
|---|---|---|
| What it reaches | The colony, including queens, through the workers that carry it home | The ants it touches |
| Speed | Slow. Expect 5 to 10 days to see fewer ants, and several weeks or more for full control.1 | Immediate on the ants you spray |
| Best place for it | Indoors along trails, and outdoors near nests, where the label allows | Outdoors, on the ground and surfaces where ants are active |
| The catch | It takes patience, and which bait ants accept varies by species.1 | The colony stays in place and sends new foragers |
Don't use both in the same spot. Spraying near a bait keeps the workers from carrying it back to the nest.3 EPA suggests baits as the first chemical step for insects once prevention is in place.2
Ants outdoors and around the foundation
Ants in a lawn or a garden bed don't always need treating. Treat them when they're nesting where your family sits, plays and eats, or when the trail you followed leads from the yard to the house.
Start with the ground next to the house. Keep plants, grass and mulch several inches back from the foundation, which gives ants fewer places to nest against the wall.1 For a nest you can find, extension guidance is to treat the nest itself, with a product labeled for that use or with bait placed nearby, so it reaches the queens.3
A spray band around the outside of the house is the usual next thought. It has limits. University of Minnesota Extension calls a perimeter barrier temporary and not a long-term solution.3 UC adds that ants often build back up after a perimeter treatment, and that a barrier spray can sometimes trap ants indoors.1
For ants on the patio edge, along the walk and across the lawn, an outdoor ant spray treats the ground where they're active. Ground Guard is ours. It threads onto a garden hose with no mixing, and its plant-oil actives kill ants on contact and repel them. You don't have to wait for it to dry before the family uses the yard.
From BrightcideGround GuardHose-end spray for ants and other ground insects in the yard. Outdoor use only.See it Whatever you spray outside, aim it at the ground and keep it off anything in bloom. Our guide to spraying around kids, pets and pollinators covers timing and placement.
Common mistakes, and when to call a professional
- Spraying the trail and stopping there. The colony replaces those workers.
- Spraying next to a bait station, which stops the bait from getting home.3
- Pulling the bait after three days because ants are still around. Give it the 5 to 10 days.1
- Bringing a yard product indoors. EPA warns that many chemicals intended for outdoor use are dangerous to use indoors.2
- Using more than the label says. Too much of any pesticide can endanger your family's health.2
- Treating the lawn to solve a kitchen trail without finding the entry point or the food.
Call a licensed pest management professional if you see signs of carpenter ants, if large numbers of winged ants show up indoors, which points to a nest inside the house,5 if you can't tell ants from termites, or if fire ant mounds are near where children play. Call too if you've cleaned, sealed and baited and the ants are still coming after several weeks. UC suggests asking the company to use baits and spot treatments instead of perimeter sprays.1
Common questions
What's the fastest way to get rid of ants in the house?+
Wiping them up with soapy water is the fastest thing you can do, and it removes the scent trail other ants follow. It doesn't touch the colony. For that, seal the entry point and set out a labeled ant bait, then expect 5 to 10 days before you see fewer ants.
Will spraying my yard get rid of ants in my kitchen?+
Not by itself. Kitchen ants are there for food or water and they're using a gap to get in. Until you remove the food and seal the gap, new foragers keep arriving. University extension guidance describes perimeter spraying as temporary.
How long does ant bait take to work?+
UC's guidance says 5 to 10 days to see fewer ants, and several weeks or more for full control. Keep the stations fresh, leave the ants at the bait alone, and don't spray nearby while you wait.
Can I use Ground Guard indoors or on kitchen counters?+
No. Ground Guard is for outdoor ground and lawn use through a garden hose. It isn't for indoor use or food surfaces. Indoors, rely on cleaning, sealing and a bait labeled for indoor use.
How do I tell ants from termites?+
Look at the waist and the antennae. Ants have a narrow, pinched waist and bent antennae. Termites have a rectangular body with no pinch, and their wings fall off easily, so you often find loose wings near where they emerged. If you aren't sure, have a licensed inspector look.
Do I need to treat ants that stay in the yard?+
Often not. Treat when a nest is where your family spends time, when ants are trailing toward the house, or when you've identified fire ants. For fire ants, follow your state extension service's bait-based program.
Sources
We cite primary sources and link to them. Found something out of date? Tell us.
- 1.University of California Statewide IPM Program. Pest Notes: Ants.
- 2.US EPA. Do's and Don'ts of Pest Control.
- 3.University of Minnesota Extension. Ants.
- 4.National Pesticide Information Center. Ants.
- 5.University of Minnesota Extension. Carpenter ants.
- 6.USDA Animal and Plant Health Inspection Service. Imported Fire Ants.
- 7.Texas A&M AgriLife Extension, Texas Imported Fire Ant Research and Management Project. Two-Step Method.
- 8.US EPA. Minimum Risk Pesticides Exempted from FIFRA Registration.
Brightcide makes plant-based pest control, so we have a stake in this subject. This guide is general information, not medical or veterinary advice. Always read and follow the label of any product you use. More in our editorial standards.
Keep reading
All guides
Family & Yard
How to read a pesticide label in two minutes
The label tells you what's in the bottle, how risky it is to handle, and exactly how to use it. Five places to look before anything goes on your lawn.
6 min read · 4 sourcesRead

Family & Yard
Mosquito yard spray around kids, dogs and bees: how to lower the risk
What you spray matters. So do when, where and how much. A short routine that lowers exposure for the people, animals and bees that share your yard.
6 min read · 3 sourcesRead

Ingredients & Science
What "EPA 25(b) exempt" means: minimum risk pesticides, explained
It means the product is made only from ingredients on two EPA lists and follows six rules. It does not mean EPA tested it, approved it, or checked that it works.
6 min read · 5 sourcesRead

Fleas & Ticks
How to get rid of ticks and fleas in your yard
Ticks wait at the edges. Fleas grow up in the shade where pets nap. Both problems start with a rake and a mower before they start with a spray.
7 min read · 2 sourcesRead