Your guide to household and yard pests Urgent? When to call a pro
What bug is this?
Ants

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.

harmlessdoes not biteleaves once you fix the cause updated October 15, 2026
Trail of small ants on a kitchen counter leading to a sugar bowl
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

  1. Follow the trail to find where ants enter: a baseboard gap, window corner, outlet, cabinet back, crack in the slab.
  2. Place baits on or right beside the trail, as close to the entry point as practical. Use 4–8 placements for a typical kitchen.
  3. 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.
  4. 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.
  5. 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.
Ants gathered around bottle caps of sweet liquid bait next to a baseboard
Bait goes right on the trail. If ants are feeding on it, leave it alone, even if there are more ants for a few days.

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

Enclosed bait stations (borate, indoxacarb, abamectin, hydramethylnon)Active ingredient: varies by brand, check the label
CatsSafe
low risk if placed out of reach; the dose in one station is small
DogsCaution
dogs chew stations open; place behind appliances or use tamper-resistant ones
Kids, pregnancy, allergiesCaution
keep out of reach; a licked station rarely causes more than stomach upset, but call Poison Control
Fish, birds, rodents, reptilesSafe
low risk indoors; keep away from cages and tanks
BeesSafe
indoors, not relevant
Gel baitsActive ingredient: indoxacarb, fipronil, abamectin, borates
CatsSafe
tiny dabs in cracks; don't put them where cats walk or groom
DogsCaution
dogs may lick gel off baseboards; place in cracks only
Kids, pregnancy, allergiesCaution
not on surfaces kids touch or mouth
Fish, birds, rodents, reptilesCaution
fipronil is toxic to fish; don't place near the aquarium
BeesSafe
indoors
Liquid sugar-borate stations and DIY boric acid baitActive ingredient: boric acid / sodium tetraborate (borax)
CatsCaution
sweet liquid attracts some pets; keep up high or in a closed station
DogsKeep out
a dog drinking a whole open bait can be poisoned; never leave open caps on the floor
Kids, pregnancy, allergiesKeep out
boric acid is toxic to small children in gram amounts and is a reproductive toxin, so pregnant women shouldn't mix it
Fish, birds, rodents, reptilesCaution
keep away from cages and water bowls
BeesCaution
outdoors, sugar bait attracts bees; cover it
Granular ant bait outdoorsActive ingredient: hydramethylnon, indoxacarb, abamectin, fipronil (varies)
CatsCaution
keep cats off until granules are taken by ants or watered in as the label says
DogsCaution
same; dogs may eat granules
Kids, pregnancy, allergiesCaution
keep kids off treated beds until done
Fish, birds, rodents, reptilesKeep out
fipronil granules: keep away from ponds and drains
BeesKeep out
don't scatter on blooming plants
Perimeter sprays (most "home defense" products)Active ingredient: bifenthrin, lambda-cyhalothrin, deltamethrin (pyrethroids)
CatsKeep out
keep out until dry; never use permethrin or cypermethrin products where cats roam
DogsCaution
keep away until dry
Kids, pregnancy, allergiesKeep out
keep out until dry; spray drift can trigger asthma
Fish, birds, rodents, reptilesDanger
extremely toxic to fish: no spraying near ponds, streams or drains
BeesDanger
extremely toxic to bees; never on flowering plants
Diatomaceous earth (food grade)Active ingredient: amorphous silica, not a poison
CatsSafe
not where pets sleep and breathe the dust
DogsSafe
Kids, pregnancy, allergiesSafe
don't breathe the dust; asthma: apply with a mask
Fish, birds, rodents, reptilesCaution
birds and small pets are sensitive to dust; not near cages
BeesCaution
kills any insect it touches; keep off flowers
Peppermint, clove and citrus oilsActive ingredient: essential oils
CatsDanger
cats can't break down many oils; no diffusers or oil spray where cats live
DogsCaution
concentrated oil irritates; diluted is usually tolerated
Kids, pregnancy, allergiesCaution
can irritate skin and trigger asthma
Fish, birds, rodents, reptilesDanger
birds are very sensitive to oil vapors
BeesSafe
Safesafe to stayCautionkeep away during applicationKeep outkeep out until dry and aired outDangerserious danger, don't use around them

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

SituationTypical time to clear
Odorous house / pavement ants, single entry1–2 weeks
Argentine ants (supercolony outside)ongoing; outdoor baiting each season
Pharaoh ants in apartments1–3 months, often building-wide
Carpenter ants with an indoor nestneeds 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?
Kill the colony with bait, not the foragers with spray, then make the house less attractive: seal gaps at the foundation, windows and utility lines, fix leaks, store food in sealed containers, trim plants touching the house, and control aphids on foundation shrubs. An outdoor perimeter bait or non-repellent treatment each spring keeps new colonies from moving in.
How do I get rid of ants in the house quickly?
For immediate relief, wipe trails with soapy water or a glass cleaner to kill foragers and erase the scent trail, but put bait stations down first, on the trail, a few inches away from where you wipe. Liquid sugar baits act fastest on sweet-feeding ants; expect a big drop in 2 to 5 days.
What do ants hate?
Ants avoid strong-smelling oils (peppermint, clove, citrus), vinegar, cinnamon and fine powders like diatomaceous earth. These repel or block, but they don't kill a colony; the ants simply detour. Use them to protect a spot, not to solve an infestation.
Why are there more ants after I put out bait?
That's the bait working. Foragers recruit nestmates to a good food source. Keep the bait full and don't spray. Numbers usually crash within a week.
Why aren't the ants eating my bait anymore?
Colonies change food preferences with the season, and a competing food (pet food, soap, a sticky trash can) can win. Try a bait with a different food base (sugar vs. protein/grease) and a different active ingredient, and remove competing food. Pharaoh ants are notorious for feeding on a bait for a few hours and then abandoning it.
Do Terro-type borax stations kill the whole colony?
On small colonies, often yes. UC IPM notes these stations usually contain about 5.4% borate, which works on foragers but is weaker against large infestations; for big Argentine ant colonies it recommends 0.5–1% borate liquid in refillable stations. If two weeks of feeding hasn't reduced traffic, switch to a different active.
How do I get rid of ants in my car?
Vacuum crumbs and wrappers, remove the food source, and move the car away from the trail (often parked over a nest or under a tree full of aphids). Put a bait station on the floor for a few days if ants persist. Avoid spraying insecticide inside the cabin.
Why do I have ants in the bathroom?
Water. Ants come for drips at the sink and tub, moisture around the toilet, and sometimes for soaps and toothpaste. Fix leaks, dry surfaces at night, and bait along the trail. Persistent ants in a bathroom wall can point to wet wood and carpenter ants.

Sources and real-world experience

Built from the expert sources and real discussions below — we read each one. How we research.

  1. UC IPM Pest Notes: Ants
  2. UF/IFAS EDIS: Ants (ENY203)
  3. NPIC: Boric Acid Fact Sheet
  4. US EPA: Citizen's Guide to Pest Control and Pesticide Safety
  5. Penn State Extension: Odorous House Ant
  6. Penn State Extension: Pavement Ant
  7. Reddit r/pestcontrol: I placed some bait poison for a couple ants. Woke up to more than expected
  8. Reddit r/pestcontrol: Should I let the ants keep swarming this bait, or try something different?
  9. Reddit r/pestcontrol: Odorous house ant problem story length
  10. Reddit r/pestcontrol: Pharaoh ants refusing all bait types
Nothing working? When it is time to call an exterminator