The fastest way to get rid of ants indoors is to use slow-acting bait that workers carry back to the colony, killing the queen and the rest of the nest over one to two weeks. Sprays and repellents kill the ants you can see, but the colony (sometimes numbering tens of thousands) keeps sending more. Solving the problem means thinking beyond the trail on your kitchen counter and targeting the source.
Why Killing Visible Ants Doesn’t Work
The ants marching across your floor are foragers, a small fraction of the colony. They follow invisible chemical trails (pheromones) between the nest and a food source, recruiting more workers as they go. Killing those foragers with a spray or squishing them does nothing to the queen, who stays deep in the nest producing eggs. Within days, new workers replace the ones you removed.
Worse, spraying a repellent near the trail can cause some species to “bud,” meaning the colony splits and establishes a second nest elsewhere in your house. Pharaoh ants, tiny yellow ants common in apartments and hospitals, are notorious for this. Spraying them almost guarantees the problem gets worse, not better.
Use Bait to Reach the Colony
Ant baits work by exploiting the colony’s own food-sharing behavior. Workers find the bait, eat a small amount, then carry it back to the nest and feed it to other workers, larvae, and the queen. Because the active ingredient kills slowly, the forager lives long enough to make multiple trips and recruit nestmates to do the same. Once the queen dies, the colony collapses.
You’ll still see ants for a week or more after placing bait. That’s a good sign. It means they’re finding it and ferrying it home. Resist the urge to spray the trail or wipe it away during this period. You want as many workers as possible traveling between the bait and the nest.
Choosing the Right Bait
Most ant species shift their food preferences seasonally, craving sugary foods at some times and greasy or protein-rich foods at others. If ants ignore your bait, try switching between a sugar-based gel and a protein or grease-based bait. Place bait stations directly along active trails, near entry points, and close to moisture sources like sinks and pipes. Don’t place bait next to repellent sprays or strong-smelling cleaners, which will keep ants away from the very thing you need them to eat.
Common active ingredients in commercial baits include borax (a slow-acting stomach poison often used in liquid and gel formulations), fipronil (a nervous system disruptor), and indoxacarb, which can cause colony death within as few as three days. All of these are designed to act slowly enough for the bait to spread through the colony before ants start dying.
Clean Up Trails and Competing Food Sources
Baits work best when they’re the most attractive food available. That means eliminating competition. Wipe down counters, sweep floors, and store sugary or greasy foods in sealed containers. Pet food left out overnight is a common magnet. Even a thin film of soda residue on a countertop can keep ants coming back to the same spot.
Cleaning ant trails with soap and water or a 1:1 vinegar-water solution removes pheromone residue and temporarily disorients foragers. This is useful for redirecting ants toward your bait or clearing them from areas where you prepare food. But vinegar alone won’t solve the problem. The chemical signal fades on its own within hours, and scouts will re-establish trails quickly if the colony is still active.
Seal Entry Points
Ants only need the tiniest gap to get inside. Common entry points include cracks in foundations and walls, gaps around doors and windows, openings where utility lines or pipes enter the house, and spaces near exterior fixtures like hose connections. Sealing these with caulk blocks the physical path and also improves your home’s energy efficiency.
A few additional steps make a real difference. Replace worn weather stripping around doors. Trim tree branches and shrubs that touch or overhang the house, since these act as natural bridges. Pull mulch back from the foundation, because moist mulch is prime nesting habitat. Repair any water-damaged or rotting wood promptly, as moisture is the single biggest factor drawing ants indoors.
Identify What You’re Dealing With
Most indoor ant problems involve one of a few common species, and knowing which one helps you respond effectively.
- Odorous house ants are about 1/8 inch long, dark brown to black, and produce a distinctive rotten-coconut smell when crushed. They nest in shallow soil mounds outdoors but also move into wall gaps and spaces near heaters or water pipes. They enter buildings looking for food, moisture, or shelter from flooding and extreme heat. Standard sugar-based baits work well against them.
- Pavement ants are slightly larger (3/16 inch), dark brown to black, and typically nest under rocks, patios, and along foundations. They’re common in kitchens at ground level and respond well to baiting.
- Pharaoh ants are tiny (about 1/16 inch), yellowish, and found most often in heated buildings like apartments, hospitals, and restaurants. They form colonies with multiple queens, which makes them split and scatter when disturbed by sprays. Baiting is the only reliable approach. Never spray pharaoh ants.
- Carpenter ants are the largest you’ll see indoors, ranging from 1/4 to 5/8 inch, black or reddish-black. Unlike the others, they don’t just forage inside your home. They may be nesting in your walls.
Carpenter Ants Require a Different Approach
Carpenter ants hollow out wood to build their nests. They prefer wood that’s already moist or water-damaged, though they’ll occasionally nest in dry, sound wood too. Areas around windows, roof eaves, decks, and porches are especially vulnerable. Over time, a large colony can compromise the structural integrity of wooden framing.
The telltale sign is small piles of coarse, sawdust-like material (called frass) below a nest entrance. These piles often include fragments of dead insects and bits of soil mixed in with the wood shavings. The galleries themselves are smooth and clean inside, which distinguishes carpenter ant damage from termite damage, where you’d see mud packed into hollowed areas. One catch: if the nest is inside a wall void, you may never see sawdust at all.
Carpenter ant colonies have a parent nest with the queen and satellite nests with workers and larvae spread across different locations. Effective treatment needs to reach all of them. Tracking foraging ants at night (when they’re most active) can help you trace their path back toward the nest. For nests inside walls, professionals use dust-based products injected into the void, since liquid treatments risk damaging insulation, drywall, and electrical wiring. If you find cone-shaped frass piles or suspect structural damage, this is one situation where professional pest control is worth the cost.
What About Diatomaceous Earth and Essential Oils?
Food-grade diatomaceous earth is a fine powder made from fossilized algae. It works mechanically rather than chemically: the microscopic particles scratch the waxy coating on an ant’s body, causing it to dehydrate and die. It’s nontoxic to people and pets (though you should avoid breathing in the dust during application). Apply a light dusting along baseboards, behind appliances, and in cracks where ants travel. A thin layer works better than a thick one, because ants will simply walk around a visible pile.
Diatomaceous earth kills individual ants that walk through it, but it doesn’t reach the colony. Think of it as a useful barrier in combination with baiting, not a standalone solution.
Essential oils like peppermint, clove, and lemongrass can mask pheromone trails and temporarily repel ants from a specific area. Vinegar does the same thing. The limitation is the same one that applies to any repellent: it redirects ants rather than eliminating them. Multiple users report that oils work briefly but ants return once the scent fades. If you use them, pair them with baiting so the ants you’re redirecting have somewhere lethal to go instead of just finding a new route into your pantry.
A Step-by-Step Plan
For most indoor ant problems, the following sequence resolves things within two to three weeks:
- Stop spraying. Put away contact killers and repellent sprays. They interfere with baiting and can cause colony splitting.
- Eliminate food sources. Deep clean the kitchen, store food in sealed containers, and take out trash daily.
- Place bait along active trails. Use both sugar-based and protein-based options if you’re unsure what the ants prefer. Place multiple stations and leave them undisturbed.
- Clean pheromone trails away from areas where you don’t want ants (food prep surfaces), but leave the trail intact between the bait and the ants’ entry point.
- Seal entry points with caulk once the infestation subsides. Doing this too early can trap ants inside your walls.
- Reduce moisture. Fix leaky pipes, improve ventilation in crawl spaces, and address any water-damaged wood.
If you’re still seeing heavy ant traffic after three weeks of consistent baiting, you may be dealing with a species that requires professional treatment, a colony nesting inside your walls, or multiple colonies. Carpenter ants, pharaoh ants in large buildings, and colonies established deep within wall voids are the most common scenarios where DIY methods plateau.