Last checked: 5 December 2026. Every fact below is linked to its source, mostly US university extension services.
Short answer: Don’t spray the ants you can see. Put out slow-acting ant bait where they walk, leave them alone while they carry it home, and keep everything else they could eat put away. The workers share the bait with the queens back in the nest, and that’s what ends the problem. Expect it to take a few weeks. If the ants are big and black, or tiny and yellow-orange, skip the DIY steps and read the warning sections below first.
Most advice online tells you to spray vinegar, peppermint oil or a store-bought killer on the trail. That kills a handful of ants and leaves the colony alone. This guide does it the other way round.
Why spraying makes ants come back
The ants on your counter are foragers, a small part of the colony. UC IPM, the University of California’s pest management program, explains that sprays mainly kill those workers, while the queens and the nest survive and the colony rebuilds.
Baits work differently. They contain a slow-acting poison, so foragers have time to carry it back and share it with other workers, the young and the queens. That’s why the bait has to be slow. A bait that kills too fast never reaches the nest.
Popular home remedies fare no better. University of Minnesota Extension lists what doesn’t work: flooding nests with water, pouring gasoline into them (which is also dangerous), and household items like spearmint gum, red pepper, orange peels, cinnamon, lavender and essential oils.
Step 1: Work out which ant you have
It matters, because two of the common house ants need a professional, not a bait from the store.
| What you see | Probably | What to do |
|---|---|---|
| Small, brown or black, smells like rotten coconut when crushed | Odorous house ant | Bait (this guide) |
| Small, dark, coming out of cracks in the driveway or slab | Pavement ant | Bait (this guide) |
| Small, dull brown, long busy trails, very common in California | Argentine ant | Bait (this guide) |
| Big, black or black and red, ¼ to ½ inch, sawdust near wood | Carpenter ant | See the carpenter ant section |
| Tiny, yellow to orange, about 1/16 inch, around kitchens and bathrooms | Pharaoh ant | Don’t spray. See the pharaoh ant section |
Descriptions are from UC IPM and University of Minnesota Extension.
Step 2: Find out what they want to eat
Ants are picky, and their tastes change. UC IPM says some species go for sweet baits, while others, such as thief and pharaoh ants, prefer protein or greasy baits. Even Argentine ants, which like sweets most of the year, switch toward protein in spring.
So test before you buy in bulk:
- Put a drop of honey or jam and a dab of peanut butter on a piece of tape next to the trail.
- Check after an hour. Whichever one is covered in ants tells you which kind of bait to buy: a sweet (sugar or gel) bait or a protein or grease bait.
- If you can’t tell, use both kinds of bait side by side.

Step 3: Bait the right way
- Clear the competition first. Wipe up crumbs and sticky spots, rinse soda cans and seal sugar, honey, syrup and pet food. Ants won’t take your bait if there’s an easier meal next to it.
- Put the bait on the trail, not on the ants. Place it where ants are walking, close to where they come in. UC IPM recommends baiting mainly outdoors, near nests and along the foundation, because baits indoors can draw more ants inside. Use indoor bait when you can’t find where they’re getting in.
- Don’t spray anything while the bait is out. Both UC IPM and University of Minnesota Extension warn that spraying where you bait stops workers carrying the bait home.
- Leave the ants alone. More ants at the bait for a few days is the bait working, not failing.
- Keep the bait fresh. Check the stations and replace them when they’re empty or dried out.
- Be patient. University of Minnesota Extension says baits can take several weeks to several months to eliminate a colony.
Keep every bait away from children and pets, and follow the label.
Step 4: Clean the trail and close the door
- Wash trails with soapy water or vacuum them. UC IPM notes this removes the scent ants follow. Do this after the colony is gone, or along trails away from your bait.
- Caulk the cracks where ants come in: around the foundation, windows, and where pipes and wires enter the house.
- Take out the trash daily and clean up grease and spills.
- Keep mulch and plants a few inches back from the foundation, and fix dripping taps and sprinklers.
If they’re big black ants: carpenter ants
Carpenter ants don’t eat wood, but they tunnel through moist or rotting wood to nest. University of Minnesota Extension says that makes them a sign of a moisture problem and possible wood damage. Fixing them means finding and fixing the leak, replacing damaged wood and treating the nest, which usually needs a pest management professional.
Look for small piles of what looks like sawdust near windows, doors, decks or damp wood. That’s the debris they push out of their tunnels.
If they’re tiny yellow-orange ants: pharaoh ants
This is where spraying does real harm. University of Minnesota Extension warns that insecticides can make pharaoh ants “bud”, meaning the colony splits and forms new colonies. They nest in hidden, warm, damp places such as wall voids, and the same source says baits sold to homeowners are generally not effective against them. Call a professional.
Winged ants inside in winter
Winged ants coming out indoors mean there’s a nest inside the house, because swarmers come from a nest. University of Minnesota Extension says pavement ants and some other species can swarm indoors in winter when they’re nesting under a heated concrete slab.
Not sure if they’re ants or termites? Ants have a pinched waist and elbowed antennae. Termite swarmers have a thick waist, straight beaded antennae and four wings of equal size. If they look like termites, call a professional.
When to call a professional
University of Minnesota Extension recommends professional help for carpenter ants, pharaoh ants, odorous house ants that keep coming back, ants nesting in wall voids, and any problem that continues after you’ve tried the steps above.
Frequently asked questions
How long does ant bait take to work?
You may see fewer ants within days, but University of Minnesota Extension says eliminating a colony can take several weeks to several months.
Why are there more ants after I put out bait?
Because they’ve found it and are recruiting others to carry it home. That’s what you want. Don’t spray them.
Does vinegar or peppermint oil get rid of ants?
No. University of Minnesota Extension lists essential oils and similar home remedies among the things that don’t work. They may move ants for a while but don’t touch the nest.
Will the ants come back?
New colonies can move in from outside, especially in spring. Sealed food, clean counters and caulked entry points make your home a much less attractive target. If they return, bait again rather than spray.
Also dealing with tiny flies? See our guide: How to get rid of gnats.
What we checked, and what we didn’t
On 5 December 2026 we read UC IPM’s Pest Notes: Ants (UC ANR Publication 7411) and University of Minnesota Extension’s guide to ants in homes (reviewed 2024).
We did not test baits ourselves, and we don’t recommend specific brands. The honey-and-peanut-butter test is a simple way to apply UC IPM’s advice to check which food your ants prefer. We have no commercial relationship with any pest control product or company, and this article contains no affiliate links.













