The most effective way to repel ants is to combine two strategies: seal the entry points they’re using to get inside, and apply a repellent along those paths. Neither approach works well alone. Ants are persistent foragers that will find alternate routes if you only block one trail, and repellents fade if you don’t address the structural gaps that invite them in.
Find and Seal Entry Points First
Before reaching for any repellent, trace the ant trail backward to where it enters your home. The most common entry points are gaps beneath exterior doors, window sills, the seam where siding meets the foundation, and openings where utility pipes or wires pass through walls. Indoors, ants follow edges: baseboards, carpet tack strips, and mortar joints between tiles or bricks.
Seal these gaps with caulk or weatherstripping. This single step eliminates the highway ants are using and makes every other method you try more effective. A tube of silicone caulk and 20 minutes of work along a kitchen window frame can do more than any spray.
Peppermint and Spearmint Oil
Mint oils are among the best-studied natural ant repellents. In field trials published in the Journal of Economic Entomology, a 10% peppermint oil solution (one part oil to nine parts water) prevented ant colonies from nesting in treated areas for the entire 15-week study period. Spearmint oil performed equally well at the same concentration.
To use this at home, mix about two teaspoons of peppermint essential oil into one cup of water in a spray bottle. Apply it along baseboards, window sills, door thresholds, and any cracks where you’ve spotted ants. Reapply every one to two weeks, or after cleaning the surfaces, since wiping removes the residue. The scent is pleasant to most people but overwhelming to ants, which rely on chemical trails to navigate.
Citrus Peels and D-Limonene
The compound that gives oranges, lemons, and limes their sharp smell is called d-limonene, and it disrupts an ant’s nervous system on contact. USDA research confirms that citrus peel extracts, in which d-limonene is the primary active ingredient, are toxic to several insect species including fire ants.
You can put this to work in two ways. Rubbing fresh citrus peels along ant trails leaves behind a film of d-limonene that deters scouts from continuing. Alternatively, citrus-based cleaning sprays (check the label for d-limonene or orange oil) serve double duty: they clean up the invisible pheromone trail ants leave for nestmates while depositing a repellent residue. This is especially useful on kitchen counters, where you want something food-safe.
Cinnamon as a Barrier
Cinnamon consistently repels ants in controlled tests. Researchers at Old Dominion University placed sugar baits with and without cinnamon in natural ant habitats and counted recruitment after one hour. The results were striking: in most trials, dozens of ants swarmed the plain sugar bait while zero to one ant visited the cinnamon-treated bait. The difference was statistically significant across 10 replicates.
Ground cinnamon works best as a physical barrier rather than a surface treatment. Sprinkle a line of it across a windowsill, along a door threshold, or around a pet food bowl. Ants will avoid crossing it. The limitation is that cinnamon is messy and needs to be replaced after it gets wet or scattered, so it’s better suited for corners and ledges than high-traffic areas.
Boric Acid Bait for Colony Elimination
Repellents push ants away from specific spots, but if you want to eliminate the colony, a boric acid bait is the most reliable DIY option. The key is using a much lower concentration than most people expect. USDA research found that a 1% boric acid solution in sugar water (10% sugar by weight) reduced ant colonies by 90% within six weeks. Higher concentrations, like the 5% often recommended online, kill worker ants too quickly. They die before carrying the bait back to share with the queen and the rest of the colony, which defeats the purpose.
To make this bait, dissolve roughly one teaspoon of boric acid powder and two tablespoons of sugar in two cups of warm water. Soak cotton balls in the solution and place them in shallow dishes near ant trails. The ants will recruit heavily to the sugar, carry the solution home, and distribute it through the colony. You’ll likely see more ants for the first few days as recruitment increases, then a sharp decline over the following weeks. Replace the cotton balls every few days to keep the bait fresh.
Carpenter Ants Need a Different Approach
Most household ants, like pavement ants and odorous house ants, are foraging for food in your kitchen. Carpenter ants are a different problem. They tunnel into damp or decaying wood to build nests, and their presence can signal structural damage. Surface repellents and sugar baits are less effective because carpenter ants nest inside walls, door frames, or porch columns rather than trailing in from outside.
If you’re finding large black ants (typically half an inch or longer) with small piles of sawdust-like debris nearby, you’re likely dealing with carpenter ants. Treatment usually involves locating the nest and treating the wood directly, which is a job for a pest professional. Repellents can keep them off your countertops temporarily, but they won’t solve the underlying infestation.
Essential Oil Safety Around Pets
Several popular ant-repelling essential oils are toxic to cats and dogs. Tea tree oil is one of the worst offenders. Oral exposure to essential oils can cause vomiting, diarrhea, decreased heart rate, and in large doses, seizures in pets. Texas A&M’s College of Veterinary Medicine lists tea tree, clove leaf, pine oil, oregano, wintergreen, and pennyroyal among the oils that pose the greatest risk.
Peppermint oil is generally safer when used in diluted form on surfaces pets won’t lick, but cats are more sensitive to essential oils than dogs because they lack certain liver enzymes needed to break down the compounds. If you have cats, stick with physical barriers like cinnamon lines or citrus peels placed in areas your cat doesn’t access. The boric acid bait should also be placed in spots pets can’t reach, such as behind appliances or inside closed bait stations.
Remove What Attracts Them
Ants send scouts to search for food and water. When a scout finds something, it lays a pheromone trail back to the colony, and hundreds of workers follow. The fastest way to stop this cycle is to eliminate what the scout found. Wipe down counters after preparing food, store sugar, honey, and pet food in sealed containers, and fix dripping faucets or pipes that provide a water source.
Recycling bins are an overlooked magnet. Rinse out soda cans and juice containers before tossing them, and keep the bin away from exterior doors. Ants can detect sugar residue from surprisingly far away, and a recycling bin near your back door is an open invitation. Taking out kitchen trash daily during warm months also makes a noticeable difference, especially in humid climates where ants are most active.

