How to Keep Ants from Coming in Your House
In this article
Time: 20 minutes. Cost level: Low (under $15). Difficulty: Easy.
The direct answer is to seal entry points with caulk and apply a barrier of food-grade diatomaceous earth or boric acid powder along baseboards and windowsills. This method works by blocking physical access while using a non-repellent substance that ants walk through, carrying the treatment back to the colony.
- Locate the trails: Watch for black or brown lines moving between kitchen counters, cabinets, and the exterior foundation. Identify the specific crack, gap around pipes, or window frame where they enter.
- Clean the area: Wipe down the trail with a mixture of one part white vinegar and one part water. This removes the pheromone scent markers that guide other ants to the same path.
- Seal the gaps: Use clear silicone caulk to fill cracks in the foundation, gaps around window frames, and holes where utility lines enter the house. Smooth the caulk with a wet finger to ensure it bonds well.
- Apply the powder: Lightly dust a thin layer of food-grade diatomaceous earth or boric acid powder behind appliances, under sinks, and along baseboards. The powder should be barely visible; heavy piles will be avoided by ants.
- Store food securely: Transfer all open pantry items into airtight glass or hard plastic containers with locking lids. Wipe down the outside of jars and cans before placing them on shelves.
How to tell it worked
You will know the method is successful when you see no new ant trails forming within 48 hours of application. If you used bait or boric acid, you may see increased activity for the first day as workers carry the substance back to the nest, followed by a complete disappearance of the colony within three to five days. Check your sealed areas weekly to ensure the caulk has not cracked or peeled.
One failure people hit
The most common mistake is spraying liquid insecticide directly on the trail. Repellent sprays cause the colony to split and scatter, forcing them to find new entry points deeper inside the walls or in other rooms. Instead of killing the source, this creates multiple infestations. Stick to sealing and slow-acting powders or baits to eliminate the entire group.
Worked example
Imagine an ant problem in a standard kitchen with a linoleum floor and wooden cabinets. You notice about 20 carpenter ants entering through a gap near the sink faucet. First, you remove the sink and measure the gap, which is approximately 1/4 inch wide. You apply a bead of silicone caulk to the seam between the countertop and the cabinet base, smoothing it to create a watertight seal. Next, you mix a small amount of boric acid with sugar to create a bait station, placing it in the corner of the pantry. Finally, you dust a line of diatomaceous earth along the exterior siding of the house, about 6 inches away from the foundation, creating a perimeter barrier that is roughly 2 inches wide.
Decision list for specific cases
- If you see large, winged ants flying indoors, you have a reproductive swarm. Seal windows tightly and use a vacuum to remove them immediately.
- If ants appear only in the bathroom, check for leaks under the sink and seal the pipe penetrations with plumber’s putty.
- If you have pets, use only food-grade diatomaceous earth, as regular pool-grade dust contains crystalline silica harmful to animals.
- If the infestation persists after two weeks of sealing and baiting, the nest may be inside the wall void, requiring professional intervention.
Safety and maintenance
When handling boric acid or any chemical pesticide, wear a dust mask and gloves to avoid inhaling particles or getting them on your skin. Keep these substances out of reach of children and pets. Diatomaceous earth is generally safe but can irritate lungs if inhaled in large quantities, so apply it gently in well-ventilated areas. Regularly inspect your home’s exterior for new cracks caused by settling or weather changes, and reseal them promptly to maintain the barrier.