Getting rid of ants starts with two things: eliminating what attracted them and destroying the colony they came from. Killing the ants you can see rarely solves the problem, since visible foragers represent a small fraction of the colony. The most effective approach combines cutting off food and water sources, sealing entry points, and using baits that workers carry back to the nest.
Cut Off Their Food and Water First
Ants send scouts to find resources, then lay chemical trails so the rest of the colony can follow. Every crumb under the toaster and every sticky residue on the counter is a signal that brings more ants inside. Before you reach for any product, sanitation is the single most important step.
Store sugar, flour, cereals, snacks, and pet food in airtight containers. Wipe up spills on countertops and floors immediately, and regularly clean surfaces that collect crumbs, especially under appliances and around the kitchen sink. Take out trash daily and use bins with tight-fitting lids. Rinse food containers before tossing them in recycling.
Moisture matters just as much as food. Fix leaky pipes and dripping faucets promptly. Dry out sinks after use and avoid leaving standing water on counters. Many ant species, particularly odorous house ants and crazy ants, are drawn indoors specifically during hot, dry weather when they need water.
Seal the Entry Points
Ants can squeeze through gaps you’d barely notice. The most common entry points are cracks around window frames and doors, gaps where plumbing pipes or electrical wires enter the house, foundation cracks, and the space beneath exterior doors. A systematic inspection of these areas, followed by sealing with silicone caulk or foam sealant, makes a real difference. For the gap under doors, install door sweeps or thresholds. For vents and chimneys, fine mesh screens block access without restricting airflow.
Outside, keep plants, grass, and mulch at least a foot away from your home’s foundation. Vegetation touching the house creates a bridge ants use to find their way to cracks and crevices near walls.
Use Baits, Not Sprays
This is the part most people get wrong. Spraying visible ants with a contact insecticide feels satisfying, but it only kills the foragers you can see. The queen keeps producing eggs deep in the nest, and the colony replaces those workers within days. Worse, spraying a repellent near ant trails can scatter the colony and cause it to split into multiple new nests, making the problem harder to solve.
Bait stations work on the opposite principle. Foraging ants find the bait, eat some, and carry the rest back to share with nestmates and the queen. This process takes time, often one to two weeks, but it targets the entire colony rather than just the surface. Place bait stations every 10 to 20 feet along the foundation outside your home, near any visible trails, and at nest openings if you can find them. Indoors, place them along walls where you see ant activity.
Check bait stations every one to two weeks. Baits dry out or go rancid over time, and dead ants can clog the openings. Stir or refresh them as needed, and replace them when empty. If ants ignore one bait, try switching to a different formulation. Some ant species prefer sugary baits while others go for protein or grease-based options, and their preferences can shift seasonally.
Diatomaceous Earth as a Non-Chemical Option
Food-grade diatomaceous earth (DE) kills ants through a physical mechanism, not a chemical one. The powder is made of fossilized algae with microscopic sharp edges that cut through ants’ waxy outer coating as they crawl over it. This causes them to lose moisture rapidly and die from dehydration. Some ants die within hours of contact, while others take a few days depending on how much powder they encountered.
DE works best in dry areas: along baseboards, behind appliances, inside wall voids, and around entry points. It loses effectiveness when wet, so it’s not ideal for kitchens or bathrooms unless you can apply it in concealed, dry spots. Dust a thin, even layer rather than piling it up. Ants will walk around a visible mound of powder.
Know What Kind of Ant You’re Dealing With
Not all ants respond to the same treatment. Identifying the species helps you choose the right approach and avoid wasting time.
- Odorous house ants are one of the most common indoor invaders. They’re small, dark brown or black, and give off a rotten coconut smell when crushed. They nest outdoors under mulch and stones but readily move into wall voids. They’re attracted to sweets, so sugar-based baits work well.
- Pharaoh ants are tiny, yellowish ants that nest in any dark, narrow space: cardboard boxes, electrical boxes, wall voids. They alternate between sugary and protein-rich foods. These ants are notorious for splitting into new colonies when disturbed by sprays, making baiting the only reliable strategy.
- Crazy ants move in erratic, jerky patterns rather than following neat trails. They nest in a variety of locations indoors and out, including the soil of potted plants. Check your houseplants if you see these.
- Fire ants almost always nest outdoors in conspicuous mounds with no visible entrance holes on the surface. They enter buildings looking for food and water, especially in late summer.
Carpenter Ants Need a Different Approach
Carpenter ants are a special case because they don’t just forage in your home; they excavate wood to build their nests, which can cause structural damage over time. They don’t eat wood like termites do, but they hollow it out to create smooth, clean galleries. The areas most vulnerable are spots prone to moisture: around and under windows, roof eaves, decks, and porches.
The telltale sign is piles of coarse, sawdust-like material below small holes in wood. Under magnification, you’ll see tiny wood shavings that look like they were made with miniature chisels, often mixed with dead insect parts. This debris is the material ants push out of their galleries as they expand the nest.
Standard ant baits typically don’t work on carpenter ants because their diet is too varied for any single bait to attract them reliably. Spraying foraging workers also has limited value since the colony remains unaffected. The key is locating the nest itself, both the main colony and any satellite colonies, then treating directly. For nests in wall voids, dust-based products applied through the entrance hole are preferred over liquids, which can damage insulation, drywall, or electrical wiring. For significant carpenter ant infestations, professional treatment is often the most practical option, since non-repellent products that transfer between colony members are the most effective tools and some are only available to licensed applicators.
Outdoor Perimeter Treatments
For persistent problems, especially with fire ants, treating your yard reduces the number of colonies sending foragers toward your house. Broadcast bait applications work best when the ground is dry and ground temperatures are between 70 and 90°F, with no rain expected for a couple of days. This gives ants time to collect the bait before it washes away.
Timing matters. Early spring is the most effective window because ants are actively foraging. Treating once in spring provides decent control, but applying bait two to three times per year (spring, midsummer, and fall) delivers 80 to 90 percent control. An easy way to remember: apply around Easter, Independence Day, and Labor Day. In urban areas with lower ant pressure, once or twice a year may be enough. Most broadcast granular treatments provide control for roughly four to eight weeks before needing reapplication.
When treating individual fire ant mounds, spread about one quarter of the product in a 10 to 12 inch band around the outside of the mound first. Fire ant workers enter and exit through underground tunnels that extend 5 to more than 20 feet from the mound, so this ring prevents the queen from escaping through those tunnels. Apply the remainder directly to the mound.
Safety Around Kids and Pets
Boric acid, a common ingredient in homemade and commercial ant baits, poses real risks to children and animals. Infants are especially sensitive: seizures and deaths have been reported in infants exposed to large amounts over time. In pets, signs of poisoning can start within two hours of ingestion.
Place any bait stations or powder treatments in locations that children and pets cannot access. After applying any product near floor level, get down to a child’s level to confirm it’s truly out of reach. Enclosed bait stations are generally safer than loose powders or gels because they limit direct contact. If you have crawling babies or curious pets, wall-mounted bait stations or placements inside closed cabinets along ant trails may be the safest option. Avoid using pyrethroid sprays outdoors on hard surfaces like driveways or sidewalks, as these products wash into waterways and create environmental contamination beyond your property.