
How to Get Rid of Ants in the House
Sprays kill the ants you see; baits kill the colony. A step-by-step plan for ants in the kitchen, bathroom and car, what ants hate, and how to keep them out.

- Best way
- slow-acting bait on the trail, left alone for 1–3 weeks
- Don't
- spray the trail; it kills foragers and can split the colony
- Baits to look for
- borate (boric acid), indoxacarb, abamectin, hydramethylnon
- Quickly?
- fewer ants in 5–10 days (UC IPM); trails gone in 1–3 weeks
- Permanently
- bait + seal entry points + fix moisture + outdoor perimeter
- Call a pro
- carpenter ants in wood, pharaoh ants in apartments, no change in 4 weeks
Updated October 15, 2026. We added safety guidance: for each product, how dangerous it is for cats, dogs, kids, pregnancy, fish and birds, how to protect your household, and what to do if someone is exposed.
The best way to get rid of ants in the house is to put a slow-acting ant bait right on their trail and leave it alone for one to three weeks, so foragers carry it back and kill the queens and brood. Spraying the trail kills only the few ants you see, and with multi-queen species it can split one colony into several.
Below is the plan that works for the common kitchen invaders (odorous house, pavement, Argentine, ghost and pharaoh ants), plus what changes for ants in the bathroom, in the car, and for carpenter ants.
Step 1: Identify the ant (2 minutes)
Most indoor ants respond to the same baiting approach, but two cases need a different plan:
- Large black or red-and-black ants, 1/4 inch or more, especially indoors in late winter or at night: likely carpenter ants. Go to how to get rid of carpenter ants.
- Tiny yellowish ants in an apartment, in bathrooms and around outlets: probably pharaoh ants. Never spray them; baits only.
- Reddish ants from a fluffy dirt mound outside that sting: fire ants. See fire ant control.
If you're not sure, use our types of ants guide.
Step 2: Remove what they came for
Baits have to compete with your kitchen. Before baiting:
- Put sugar, cereal, honey, syrup and pet food in sealed containers (zip bags aren't ant-proof; screw-top jars are).
- Wipe counters, stovetop grease and sticky spills; take out the trash nightly.
- Pick up pet bowls between meals, or set the bowl in a shallow dish of water as a moat.
- Fix drips and dry the sink at night. Water is often what brings ants into bathrooms.
Don't scrub the trail itself yet. You want the ants to find the bait.
Step 3: Bait the trail
- Follow the trail to find where ants enter: a baseboard gap, window corner, outlet, cabinet back, crack in the slab.
- Place baits on or right beside the trail, as close to the entry point as practical. Use 4–8 placements for a typical kitchen.
- Pick the right food. Most house ants in summer take sweet liquid or gel baits. If they ignore it after a day, add a protein/grease bait (granular or gel) next to it.
- Leave it alone. More ants at the bait for a few days means it's working. Don't spray, wipe or move baits. Refill liquid baits as they empty.
- Expect results: UC IPM says to expect fewer ants in 5–10 days and full colony control in several weeks. Fast sugar baits on a small odorous house ant colony can be quicker; big outdoor colonies are slower.

Which actives to look for (all EPA-registered, sold as stations, gels or liquids): borates (boric acid, sodium tetraborate/borax), indoxacarb, abamectin, hydramethylnon, fipronil (mostly in professional gels). They are all slow by design. A bait that kills in minutes would kill the forager before it shares food.
Strength matters with borate baits. UC IPM notes that prepackaged borate stations usually contain about 5.4% borate: good against foragers in the house but weaker against a major infestation. For large Argentine ant problems it recommends refillable stations with 0.5–1% borate in sugar water. That matches what pest pros say about the popular clear liquid stations: ants mob them, but with a big colony the high dose can kill workers before the bait reaches the queens. If a borax station hasn't cut the traffic after two weeks, switch to a gel with a different active (indoxacarb, fipronil, abamectin) rather than adding more of the same.
Sweet or protein? Put a dab of honey and a dab of peanut butter or tuna on a card near the trail. Whichever draws a crowd in an hour tells you which bait to buy. Penn State notes odorous house and pavement ants take sweet baits with hydramethylnon, fipronil or boric acid and that control "may take two weeks or longer."
Placement safety: keep stations out of reach of kids and pets, or use enclosed tamper-resistant stations. Read the label; it is the law for pesticide use.
DIY boric acid bait
A homemade sugar-borate bait works on many sweet-feeding ants. Keep the boric acid low so ants survive long enough to carry it home:
- Dissolve 1 teaspoon of boric acid and 1/2 cup of sugar in 1.5 cups of warm water (roughly 1% boric acid).
- Soak cotton balls and set them on bottle caps or foil on the trail.
Stronger is not better: at high concentrations foragers die on the spot and the nest survives. More recipes and what doesn't work are in home remedies for ants and the boric acid guide.
How dangerous are these products
Ant baits are among the safest ways to use an insecticide indoors: the dose is tiny and locked inside a station or a small dab of gel. The real risks are a dog chewing open a station, a toddler licking sweet liquid bait, and homemade boric acid bait sitting in an open bottle cap. Outdoor granules and perimeter sprays are a different story: most are pyrethroids or fipronil, which are very toxic to fish and bees, and the main danger to pets is while the product is wet or the granules haven't been watered in.
Comparison table



































Bait stations and gels
The active ingredients (indoxacarb, abamectin, hydramethylnon, fipronil, borates) are slow insect poisons, and a station holds only a few grams of bait. A pet that chews one usually gets vomiting or drooling at most, but the plastic itself can cause a blockage in a small dog. Signs that need a vet: repeated vomiting, tremors, wobbliness or lethargy. Put stations under appliances, behind toilets and inside cabinet backs, and count them so you know if one goes missing. Gel goes into cracks as a pea-size dot, not smeared on open surfaces.
Boric acid and borax
Borates are only mildly toxic per dose, but small children and pets can swallow enough sweet bait to get sick: vomiting (sometimes blue-green), diarrhea, drooling, and in serious cases a red, peeling skin rash and kidney problems. Boric acid is also classed as a reproductive toxin, so pregnant women shouldn't handle the powder or mix bait. For DIY bait: label the jar, mix with gloves, use closed containers with small holes or put cotton balls where only ants reach, and throw leftovers out. More in the boric acid guide.
Outdoor granules and perimeter sprays
Pyrethroid sprays like bifenthrin are less dangerous to cats than permethrin, but cats and dogs should stay off treated areas until the spray dries (usually a few hours; check the label). Wet residue on paws gets licked off. Pyrethroids and fipronil are among the most toxic insecticides for fish and bees: don't spray before rain, near ponds, storm drains or blooming plants. Water in granules as the label says and keep pets off until then.
Essential oils and diatomaceous earth
Oils feel "natural" but cats and birds are the most sensitive animals: concentrated peppermint or tea tree oil can cause drooling, wobbliness and breathing problems. Use them only where pets can't reach, never in diffusers in a cat or bird home. Use food-grade diatomaceous earth, not pool-grade (calcined), which contains crystalline silica that harms lungs. More on choosing products around animals: pet-safe pest control.
If something goes wrong
- Bait or spray on skin. Wash with soap and water. Tingling or numbness after a pyrethroid spray is typical and fades within hours.
- In the eyes. Rinse with running water for 15 minutes; see a doctor if it still burns.
- A child swallowed bait or boric acid. Don't make them vomit. Call Poison Control at 1-800-222-1222 with the package in hand.
- A pet ate a station, gel or granules, or is drooling, trembling or vomiting. Call your vet or ASPCA Animal Poison Control at (888) 426-4435 (a fee may apply). Bring the product label.
- A cat licked a spray or essential oil. Wash it with lukewarm water and a mild dish soap, dry it and keep it warm, then call the vet.
Step 4: Keep ants out of the house
Once the trails stop, prevent the next colony:
- Seal entry points: caulk gaps around windows, baseboards, plumbing and cable entries; replace worn door sweeps.
- Create a dry, bare strip 12–18 inches wide around the foundation: pull back mulch, trim shrubs and branches that touch the house.
- Control honeydew producers: aphids and scales on foundation plants feed huge ant populations right against your walls. Hose them off or treat the plants.
- Outdoor treatment: granular bait scattered along the foundation, or a non-repellent perimeter spray on the exterior, intercepts colonies before they move in. UC IPM suggests outdoor bait placements every 10–20 feet around the foundation and at nest openings, with late winter and early spring the best time, before colonies build up. Treat the outside, not your kitchen floor.
- Emergency plug: UC IPM's tip for a trail coming through a gap you can't caulk today: smear petroleum jelly over it.
What ants hate (and what that's good for)
Ants avoid peppermint and clove oil, citrus, vinegar, cinnamon, coffee grounds and powders like diatomaceous earth or talc. These repel or block; they don't kill the colony. Use them where bait isn't practical (a line around a pet bowl or a pantry shelf), not as the main treatment. Wiping trails with vinegar or soapy water erases the pheromone trail for a day, after which the ants usually lay a new one.
Room-by-room notes
Ants in the kitchen. Most often odorous house or pavement ants. Check behind the dishwasher and under the sink for leaks; bait under the sink and along the backsplash seam.
Ants in the bathroom. They're after water. Fix leaky faucets and caulk around the tub. If you keep seeing large black ants in a bathroom, check for water-damaged subfloor or wall framing, a classic carpenter ant nest site.
Ants in the car. Remove food and wrappers, vacuum seats and floor mats, and stop parking over the nest or under an aphid-laden tree. A bait station on the floor for a few days finishes stragglers.
Ants after rain. Flooded colonies move uphill and indoors. Bait as usual; the activity often fades on its own as the ground dries, but a nest may stay in a wall void.
What doesn't work
- Spraying the trail with household insecticide or bleach: kills foragers, leaves the colony, and pharaoh and Argentine ants respond by budding into new nests. UC IPM says indoor sprays "aren't usually necessary" and that repellent barrier sprays can even trap ants indoors. Most store-brand "home defense" sprays are bifenthrin, a repellent pyrethroid.
- Mixing spray and bait in the same spot: repellent residue keeps ants off the bait.
- Ultrasonic repellers: no evidence they affect ants.
- Grits, cornmeal, baking soda "to make them explode": myths; ants don't eat solid food that way.
- Changing tactics every day. Baits need time, and wiping around them with strong cleaners can make the bait taste like the cleaner.
What people who dealt with it say
We read through dozens of homeowner and pest-pro threads on r/pestcontrol, r/HomeImprovement and homeowner forums. The same story repeats:
- The first move is almost always a spray, and it backfires. People spray the trail or the doorway with a store-brand insecticide, see dead ants for a day, then find them coming from three new spots. Pros in these threads answer the same way every time: stop spraying repellents, switch to bait, and identify the ant, because "sugar ant" is not an ID.
- The "horde at the bait" panic. One of the most upvoted ant threads on r/pestcontrol is a bathroom floor black with ants around a single bait station the morning after it was placed. Pros' advice: that is the bait working; don't disturb it, keep it stocked, and expect the crowd to fade over several days to two weeks.
- Baits get outcompeted. In that same thread, another person's bathroom bait failed because the ants preferred a bar of scented soap. Pet food, a sticky trash can or a leaking pipe can win against a bait.
- Store borax stations are hit or miss on big colonies. Several people reported feeding the ants liquid borax bait for 3–4 weeks before activity stopped; others fed them for a month with no end. Pros repeatedly suggest rotating to a gel with a different active (indoxacarb or fipronil-based professional gels come up most) and placing several small dots rather than one large blob.
- What finally worked in the toughest threads: bait inside plus treating the outside, usually granular bait around the whole foundation and a non-repellent exterior spray, and in one case a pro who found the main nest at the base of an old tree in the yard. In apartments and condos, ants often come back because the colony is shared with neighbors; people who coordinated with the building had better luck.
- Pharaoh ants are the exception. Threads about pharaoh ants describe ants feeding on a bait for a few hours and then ignoring it, even with professional products, and colonies splitting after someone sprayed. Expect a months-long, building-wide fight and rotate bait types.
Typical costs people mention: $15–$40 for DIY baits and gels; roughly $150–$350 for a one-time professional ant visit, more for apartments or carpenter ants.
How long it takes
| Situation | Typical time to clear |
|---|---|
| Odorous house / pavement ants, single entry | 1–2 weeks |
| Argentine ants (supercolony outside) | ongoing; outdoor baiting each season |
| Pharaoh ants in apartments | 1–3 months, often building-wide |
| Carpenter ants with an indoor nest | needs nest location; see separate guide |
When to call a pro
- Carpenter ants or sawdust-like debris inside walls or around windows.
- Pharaoh ants in a multi-unit building.
- Four weeks of correct baiting with no change.
- You'd like an exterior non-repellent treatment applied professionally.
Expect roughly $150–$300 for a one-time general ant service and $250–$600+ for carpenter ants (approximate US ranges). See ant control services for what's included.
FAQ
How do I get rid of ants permanently?
How do I get rid of ants in the house quickly?
What do ants hate?
Why are there more ants after I put out bait?
Why aren't the ants eating my bait anymore?
Do Terro-type borax stations kill the whole colony?
How do I get rid of ants in my car?
Why do I have ants in the bathroom?
Sources and real-world experience
Built from the expert sources and real discussions below — we read each one. How we research.
- UC IPM Pest Notes: Ants
- UF/IFAS EDIS: Ants (ENY203)
- NPIC: Boric Acid Fact Sheet
- US EPA: Citizen's Guide to Pest Control and Pesticide Safety
- Penn State Extension: Odorous House Ant
- Penn State Extension: Pavement Ant
- Reddit r/pestcontrol: I placed some bait poison for a couple ants. Woke up to more than expected
- Reddit r/pestcontrol: Should I let the ants keep swarming this bait, or try something different?
- Reddit r/pestcontrol: Odorous house ant problem story length
- Reddit r/pestcontrol: Pharaoh ants refusing all bait types