Download Article
Natural and chemical solutions to repel ants
Download Article

Ants outnumber humans 140,000 to 1, meaning that there are over 1,092,000,000,000,000 ants on Earth. Even so, it doesn’t mean these pesty insects have to make themselves comfortable in your space. There are plenty of ways to deter, repel, and keep ants out of your home. Read on to learn what you can do to stop ants from coming into your house uninvited.

This article is based on an interview with our MMPC-certified pest control specialist, Kevin Carrillo. Check out the full interview here.

Things You Should Know

  • Sprinkle table salt, talcum powder, or diatomaceous earth across doorways and windowsills to deter ants from entering your home.
  • Make a natural ant repellent by using one or more of vinegar, peppermint oil, cinnamon, black pepper, cayenne pepper, whole cloves, or bay leaves
  • Prevent ants from wandering into your house by sealing off entranceways with caulk and using airtight food containers.
Method 1
Method 1 of 3:

Keeping Ants Out of Your Home

Download Article
  1. Seal cracks in windowsills and doorways with caulk. Close the gaps around windows, doors, and walls. This way, ants won’t be able to squeeze into tight spaces and get into your house.
    • An additional benefit of sealing off your home: more effective temperature control and thus lower energy bills.
    • This is the least risky where kids and pets are concerned.
  2. Using anti-ant substances to keep ants out of your house is a more aggressive tactic than caulking the cracks. These fine substances create a barrier of chemicals that repel or even kill ants.
    • Diatomaceous earth is a fine, natural powder that kills ants by pulling the moisture from their bodies.[1] Just be careful using it, as you don't want anyone in the house sniffing it up. Place the powder in back corners and hidden spaces to prevent children or pets from getting to it.
    • Table salt has a similar drying-out effect on ants, especially if they carry it back to their nests. Spread it under doors, near windows, and along the edges of your walls.
    • Repelling insecticides help keep ants out by chemically killing them on contact. Simply spray the product along windowsills and/or doorways.
    Advertisement
  3. Believe it or not, you may have what you need to protect your home in your pantry. Ants have mild to severe reactions or aversions to specific smells.[2] Consider using one or more of the following ingredients to create a DIY ant repellent: vinegar, peppermint oil, cinnamon, black pepper, cayenne pepper, whole cloves, and bay leaves.
    • Place the ingredients in a spray bottle, and spray the substance over doorways and windowsills.
    • Use caution when using spicy ingredients such as peppers, as they may cause reactions in children and pets.
  4. Line your kitchen with adhesive tape sticky-side up. No poison or messy powders are necessary, making this method safe for kids and pets. When ants try to climb over the tape, they may stick to the adhesive and be stopped in their tracks. Place the tape on the edge of walls, counters, or floors where ants have been roaming.
    • Make sure the ants can't crawl under the tape; otherwise, it may be ineffective.
    • Use double-sided tape for the best results.
  5. Dust talcum powder over high traffic areas to make a barrier. Although there isn’t much science backing it up, many believe talc (in its many various forms) can help deter ants. Tailor’s chalk and baby powder may contain talc, so try using them to deter ants.[3] Regardless of which form of talc you use: keep in mind that talc has been called out as a potential carcinogen (cancer-causing substance).[4]
    • Some baby powder brands are made of corn starch, so they won’t work effectively against ants. Check the ingredients before you purchase anything.
    • Many sources recommend using regular chalk; however, this is made of gypsum, not talc. This misconception could result from confusion with “ant chalk,” an insecticide that looks just like normal chalk that was outlawed in the US in the 1990s.
  6. If ants come into your home, they’re most likely looking for a food source. Do your best to keep high-traffic food areas (like your kitchen and dining room) clean. Wipe up any spills or crumbs when they happen, and avoid leaving food unsealed out in the open.
    • Clean with a mild bleach or vinegar solution to prevent ants from returning.
    • Kill ants and clean a surface with Windex, as the ammonia solution kills ants on contact.
    • If you do accidentally leave something out, take the opportunity to trace the trail of ants back to their source. It can be tempting to wipe out a swarm immediately, but knowing where they live can help prevent further infestations.
  7. Store food in airtight containers. Even if you’ve stashed your food in a cupboard, ants can still find their way in through the smallest holes. If they can smell it and reach it, they’ll swarm it. Always put your food in airtight containers to prevent any insects from getting inside.
    • Try washing out resealable containers—such as a yogurt tub, plastic takeout box, or sealable plastic bag—then reusing them to store food.
    • Consider buying Tupperware or another brand of standardized, sealed containers. Keeping track of your containers (lids and bottoms) may be easier if you’re using a uniform set.
  8. Remember, if there’s nothing for ants to eat, they likely won’t come into your living space. Avoid leaving dirty dishes and standing water in your sink. Instead, opt to clean everything right away whenever you can. The more sanitary the environment, the less likely ants will come.
  9. Advertisement
Method 2
Method 2 of 3:

How to Kill Ants

Download Article
  1. Colonies regularly send out lone ants (or scouts) to check for food sources. If you see an individual ant strolling across your coffee table, don't let it make it back to its nest alive. Use your finger or a napkin to squish the ant on the spot. This way, other ants won’t be able to follow their trail.
    • Spray where the ant crawled with an all-purpose cleaner or bleach solution, then wipe it with a wet paper towel. Now there will be absolutely no trail or path for other ants to follow.
    • For a less hands-on solution, vacuum scouts up. Then, suck up some talcum powder or diatomaceous Earth to finish off the ants inside the vacuum.
  2. If ants are all over your wood or tile floor, throw water over them and wipe them up with a paper towel. If ants are on your bed, get a good handful of paper towels and a cup of water. Dip the towels into the water. Squeeze to let out all the extra water, and then wipe them up.
    • Repeat this process as needed until all the ants are gone.
  3. If ants continue to raid your home, consider raiding theirs. Locate the nest and pour several gallons of boiling water into it to kill most of the ants instantly.[5]
    • Nests typically look like large, dome-shaped mounds of dirt.
    • Keep in mind that boiling water can also destroy and kill the vegetation around the ant nest.
  4. The most permanent way to eliminate ants is to destroy their source: the queen ant. The queen produces a large number of ants and gives direction to the nest. Therefore, if you destroy her, you destroy the ants. Look for the queen at the center of the ant nest, and use boiling water or pesticide to wipe her out.
    • Consider hiring an exterminator if you’re unsure where the ant nest or queen is.[6]
  5. Advertisement
Method 3
Method 3 of 3:

DIY Ant Trap

Download Article
  1. Mix Borax with maple syrup to make your ant poison. Boric acid (or Borax) affects ants externally and internally, making it the perfect bait. The ants bring the poison to their colony and spread it around. Use a 1:3 ratio when making your poison, combining 34  c (6.0  fl oz) of maple syrup with 14  c (2.0  fl oz) of Borax.[7]
    • If you get the quantity and timing right, you can wipe out a large colony, but it can take anywhere from several weeks to a few months.
    • Be sure to follow these increments, as a bait that’s too strong will kill the ants before they make it home, and a bait that's too weak will only weaken the colony temporarily.
    • Borax may not work on specific ants in your region. If you have a serious ant problem, always contact an experienced exterminator for help.
    • If you don’t feel like DIYing your ant bait, no worries! Buy commercial ant bait instead, and follow the instructions on your chosen product.
  2. Place a dollop of the mixture on an upturned lid or a low dish for easy access. Then, set the item with the mixture in an area where you’ve seen the ants.[8]
    • If you have pets or small children, leave the bait in a container that allows ants to enter but isn't wide enough for larger creatures. For instance, shake the poison into the bottom of a metal can. Crush one side of the can, but leave a gap that is just thin enough for ants to get inside.
  3. Remove any deterrents or insecticides (if you used them). The idea of baiting is to attract the ants so that they’ll defeat themselves. Let the ants come into your home, and avoid squishing them.
  4. Once there's a line of ants, place the bait next to the trail. The mass of ants will shift to swirl to pick up the sweet bait and carry it back home, killing more members of the colony.
    • Avoid placing the bait directly on the ant trail. You'll confuse them and interrupt their march home, making the baiting less effective.
  5. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • If you’re dealing with red ants, call an exterminator to take care of them. Red ants bite.
  • If ants are bothering your pet’s food bowl, place the bowl in a slightly larger bowl, then add some water to the larger bowl. This creates a moat around the pet food that the ants can't easily cross.

Tips from our Readers

  • Some ants, like red ants, bite (which causes a stinging or burning sensation). Be careful and don't let them touch your bare skin.
  • Killing ants right away by hand may attract more ants. Dead ants release pheromones that alert other ants to danger.
Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Diatomaceous earth may cause allergies or breathing problems.
  • If you have small children in your home, you may want to avoid placing ant traps. Most of these traps contain poisons and other harmful chemicals that could be trouble for curious hands.
Advertisement

About This Article

Kevin Carrillo
Written by:
Pest Control Specialist
This article was written by Kevin Carrillo and by wikiHow staff writer, Aly Rusciano. Kevin Carrillo is a Pest Control Specialist and the Senior Project Manager for MMPC, a pest control service and certified Minority-owned Business Enterprise (MBE) based in the New York City area. MMPC is certified by the industry’s leading codes and practices, including the National Pest Management Association (NPMA), QualityPro, GreenPro, and The New York Pest Management Association (NYPMA). MMPC's work has been featured in CNN, NPR, and ABC News. This article has been viewed 1,197,661 times.
4 votes - 75%
Co-authors: 61
Updated: March 22, 2024
Views: 1,197,661
Article SummaryX

To stop ants from coming into your home, start by following the trail of ants to see where they’re getting in. Once you’ve determined how they’re entering, create a barrier around it with salt, which will dry ants out and kill them. You can also use double-sided tape wherever you suspects ants are coming in, because they’ll get stuck to it and won’t be able to enter. If that doesn’t work, use scents that ants don’t like, such as peppermint oil, cloves, or bay leaves, to deter ants from your home. For tips on creating your own bait traps to kill ants, read on!

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,197,661 times.

Reader Success Stories

  • Joan Byrne

    Joan Byrne

    May 18, 2016

    "It stood out to me that there were so many lone ants roaming around at different times on top of the dishwasher,..." more
Share your story

Did this article help you?

Advertisement