Ants enter homes looking for food, water, and shelter, and a few species are especially good at making themselves comfortable indoors. Getting rid of them starts with understanding which type you’re dealing with, removing what attracted them, and sealing the gaps they used to get in. Spraying visible ants is rarely enough, because the colony producing them is usually somewhere else entirely.
Common Ant Species Found Indoors
Not all house ants behave the same way, and the species you’re dealing with affects which control methods actually work. Here are the ones most likely to show up in your kitchen, bathroom, or walls.
Odorous house ants are medium-sized, smooth-bodied, and brown to black. Crush one and you’ll notice a distinctive licorice-like smell. They’re drawn to sweets and typically nest outdoors but will move into wall voids and brick gaps when conditions are right. These are one of the most common kitchen invaders across much of the United States.
Pharaoh ants are tiny (about 1/32 inch), yellowish, and almost entirely indoor nesters. They set up colonies in any dark, narrow space: cardboard boxes, electrical outlets, wall cavities. They alternate between sugary and protein-rich foods, which makes baiting them trickier. Pharaoh ants also pose a real health concern. They can carry more than a dozen harmful bacteria, including salmonella and staphylococcus. In hospitals, they’ve contaminated sterile materials and been linked to bacterial infections ranging from food poisoning to sepsis.
Carpenter ants are the largest you’ll find indoors, ranging from 1/4 to 1/2 inch, and are typically black or a mix of black and reddish-orange. They don’t eat wood like termites do, but they hollow it out to nest inside. You might find them in door frames, walls, ceilings, or any damp wood. Sawdust-like shavings near baseboards or windowsills are a telltale sign.
Crazy ants are easy to spot by their erratic, fast movement and unusually long legs and antennae. Indoors, they often nest in potted plant soil. Acrobat ants nest in walls and insulation and have a distinctive defensive habit of raising their heart-shaped abdomens into the air when disturbed.
Why Spraying Visible Ants Doesn’t Work
The trail of ants on your countertop is a tiny fraction of the colony. Killing those foragers with a contact spray feels satisfying but does almost nothing to the thousands of ants, plus queens and larvae, hidden in the nest. Worse, fast-acting sprays can actually backfire. Pyrethroids, the active ingredient in many aerosol sprays, knock ants down in under 10 minutes. That’s so fast that scout ants die before they can return to the nest, which means you never reach the colony. With pharaoh ants specifically, disturbing the colony with sprays can trigger “budding,” where the colony splits and spreads to new locations in your home.
Slow-acting baits work on a completely different principle. The forager picks up a small dose of toxicant mixed into attractive food, carries it back to the nest, and shares it with other workers, larvae, and potentially queens through normal feeding behavior. The key is delayed toxicity: the ant needs to survive long enough to make several return trips and distribute the poison throughout the colony. This is why the best commercial baits are carefully calibrated. If the active ingredient concentration is too high, ants die before sharing it. Too low, and it never reaches lethal levels in the colony.
Choosing the Right Bait
Commercial ant baits typically use one of a few active ingredients. Boric acid is one of the most common and works across a broad range of effective concentrations (roughly 0.5% to 3.7% in sugar water formulations). Fipronil is another popular choice with a delayed action that allows ants’ recruitment behavior to fully engage for several hours before mortality sets in. Both are available in gel, liquid, and station formats at most hardware stores.
Match the bait to what the ants are eating. If they’re swarming a sugar spill, use a sweet liquid or gel bait. If they’re going after grease or crumbs, try a protein-based bait. Pharaoh ants switch between sugar and protein preferences, so you may need to offer both. Place baits directly along the trails you’ve observed, near entry points, and under sinks. Resist the urge to spray near bait stations, since repellent chemicals will keep ants away from the bait you want them to take.
Give baits at least a week to work. You’ll often see ant activity increase initially as more foragers are recruited to the “food source.” That’s a good sign. It means the bait is being carried deep into the colony.
Natural and DIY Approaches
Several household and natural products can help, though they work differently than baits and have real limitations.
Food-grade diatomaceous earth is a fine powder made from fossilized marine organisms. When ants walk through it, the particles damage their waxy outer coating, causing them to dehydrate and die. It’s odorless, non-staining, and safe to use on indoor surfaces. The main limitation is that it only kills ants that physically contact it, so it works best dusted into cracks, along baseboards, and near entry points. Make sure you use the food-grade version. The type sold for pool filters is not safe to breathe.
Essential oils like peppermint, tea tree, and citrus oils disrupt ant scent trails, which are the invisible chemical paths ants use to guide nestmates to food. Wiping down surfaces with diluted peppermint or tea tree oil can temporarily redirect ants away from an area. Citrus oils contain a compound that is actually toxic to ants, and clove oil kills them on contact. However, none of these have significant lasting power. The insecticidal effect of clove oil fades quickly even though the scent lingers. Strong concentrations can also damage plastic, painted, or stained surfaces.
White vinegar and lemon juice work similarly to essential oils by masking scent trails, but they’re most effective when paired with another repellent. On their own, they’re a temporary fix at best.
The honest assessment: natural methods are good for disrupting trails and deterring ants from specific areas, but they rarely eliminate an established colony. They work best as part of a broader strategy that includes sanitation and sealing entry points.
Sealing Entry Points
Ants are small enough to exploit gaps you’d never notice. They prefer to travel along structural elements like pipes, wires, and foundation edges, so those are the first places to inspect. Check around the base of your home’s exterior walls, under sinks where plumbing enters the wall, around electrical outlets, and along window and door frames.
Caulk is the standard fix for cracks and crevices around foundations, window frames, and pipe penetrations. For a quick temporary seal, petroleum jelly plugged into small gaps can block entry while you plan a more permanent repair. Pay special attention to where utility lines enter your home, since ants commonly follow wires and pipes directly into wall voids.
Outside, keep plants, grass, and mulch at least 12 inches away from your home’s foundation. Vegetation right against the wall gives ants nesting habitat and a direct bridge indoors. Trim back any tree branches or shrubs that touch the house. If you have plants near the building that attract aphids or other honeydew-producing insects, the sugary residue those insects create is a powerful ant attractant. Managing or relocating those plants removes a major draw.
Cutting Off Food and Water
Sanitation is the single most underrated part of ant control. Ants are foraging for calories and moisture, and a home that offers neither gives them no reason to stay. Wipe down counters and stovetops daily, especially after cooking with sugar, honey, or grease. Store ripe fruit in the refrigerator rather than on the counter. Keep pet food bowls clean and pick them up between meals. Sweep or vacuum crumbs from under appliances and dining areas regularly.
Water sources matter just as much, particularly in dry weather. Fix leaky faucets and dripping pipes under sinks. Repair leaky sprinkler heads near the foundation. Even condensation on cold water pipes can attract thirsty ants. Late summer is when many species ramp up their indoor foraging, precisely because outdoor water and food become scarcer.
Safety Around Pets and Children
Most commercial ant baits are formulated in low enough concentrations that a single accidental exposure is unlikely to cause serious harm to a dog or cat. Boric acid products, which are among the most common, are relatively safe in small amounts, though large ingestions can cause stomach upset and, rarely, kidney problems. Fipronil-based baits contain low enough doses that dogs and cats are generally not at significant risk from nibbling a bait station.
There are a few important exceptions. Cats are highly sensitive to pyrethroid insecticides and can become seriously ill from small exposures, so if you have cats, avoid pyrethroid-containing products entirely. Rabbits are extremely sensitive to fipronil, and any exposure should be treated as potentially life-threatening. Dogs are often attracted to ant baits because of their sweet taste, and beyond the toxicant itself, swallowing the plastic bait station housing can cause a gastrointestinal obstruction.
Place bait stations in areas pets and toddlers can’t reach: behind appliances, on high ledges, inside cabinets. For liquid baits, use only the recommended amount so there’s no pooling. Store all pesticide products in a locked or inaccessible area between uses, and put primary packaging away immediately after application.