Potted Thyme Plant
|

7 Impressive Plants That Repel Ants (And What Attracts Them)

Disclaimer: Some links found on this page might be affiliate links. If you click an affiliate link and make a purchase, I might earn a commission. As an Amazon Associate I earn from qualifying purchases.


Share this post:

Nobody’s home is 100% insect-free, and having a few bugs around is to be expected. That doesn’t mean we all don’t look for ways to keep them out of the house in the first place.

Ants are a particularly annoying pest that no one wants around. You can use your love of houseplants to your advantage and choose a few varieties that can repel ants.

7 Impressive Plants That Repel Ants (And What Attracts Them)

Plants That Repel Ants

Many plants that can fill your home (and dishes!) with delightful scents can double as ant deterrents. The aromatic oils these plants release make any place a no-go zone for ants.

If you spot the itty-bitty critters setting up camp, here’s a list of plants and herbs to bring into your space:

1 – Lavender

Lavender

Ants don’t stand a chance against this evergreen shrub—the divine lavender scent is just too much for the little intruders. 

Lavender can be a bit of a space hog, but you can definitely grow this lovely aromatic plant indoors. Just give this sun-worshiper a bright window seat with plenty of refreshing breeze.

If you’re a lavender newbie, you’ll love the no-fuss French lavender. With its light purple flowers, it’s stunning and incredibly easy to care for.

Plant these beauties in the spring so they have time to settle in before the summer heat kicks in. If your winters are mild, planting them in the fall works like a charm, too.

Give your French lavender fast-draining, alkaline soil and avoid overwatering to prevent root rot. Don’t forget to snip those spent flowers, and you’ll be rewarded with more ant-repelling blooms.

To explore more awesome perks of lavender, check out my piece about houseplants that do wonders for your health.

2 – Mint

Mint plant

The fresh, invigorating scent of peppermint isn’t just for teas and candies.

To keep ants at bay, place mint near entryways or around your favorite houseplants. For spot treatment, crush a few leaves to release the mint oils, and watch the ants make a quick exit.

There’s a mint for every taste—stick with classic peppermint or spearmint (a personal favorite!), or mix things up with apple mint, chocolate mint, or even pineapple mint.

You’ll need well-draining soil (add some peat or perlite if necessary) and a spot with 4–6 hours of indirect light to grow mint. See my recommendations for other plants that don’t need high sun.

Water your mint just before the surface starts to dry out, and turn the plants frequently, as they tend to bend toward the light.

3 – Rosemary

Rosemary

This culinary herb pulls double duty by adding flavor to your dishes and showing ants the door.

Rosemary isn’t as aromatic as lavender or mint, but it packs the same knockout punch against ants. Now, fair warning: It’s not the easiest plant to nurture indoors.

But if you’re up for the challenge, give your rosemary as much sun as possible. And if Mother Nature isn’t cooperating, throw in a small grow light for backup.

Don’t go overboard with watering. Wait until the soil is crumbly on the surface before giving it a deep soak.

Oh, and make sure you’ve got a well-draining pot—you want those roots damp, not waterlogged. Check out my tips for rescuing overwatered plants if needed!

4 – Thyme

Potted Thyme Plant

Don’t let this delicate herb fool you; thyme means business when giving ants the boot!

The secret lies in the antimicrobial properties of T. vulgaris, the essential oil in common thyme. For a DIY pest defense, pluck some sprigs and scatter them around where ants hang out. 

As a hardy plant, thyme can thrive in a garden during the growing season or as a year-round indoor planter. With its evergreen features, this petite shrub makes a charming accent on a kitchen window.

Like mint, you can grow thyme in indirect light. To avoid over-watering, let the topsoil dry completely before giving it another drink.

Another trick to keep the roots from getting soggy is to use an unglazed ceramic pot, which helps the moisture evaporate faster.

5 – Marigolds

Closeup of orange marigold flowers and foliage

Not all ant-repellent plants are kitchen herbs; some are downright decorative.

Take marigolds, for example—their bold flower heads have a spicy scent that can deter pests, making them the perfect border for your veggie patch.

However, they can be a tad finicky as houseplants. But if you manage to make it work, prepare for a burst of orange in your home.

Marigolds need tons of warmth and sunshine to flourish. When summer rolls around, let them bask in the sun to recharge.

I love this Edible Flowers Bottle Garden Kit from Urban Leaf. I’ve turned my collection of empty wine bottles into a hydroponic flower garden using this system.

6 – Tansy

Tansy

The essential oil from tansy is the perfect bug-be-gone potion. It has a potent mix of camphene, borneol, and thujone that ants can’t stand.

When bruised, tansy’s fern-like leaflets emit a camphor-citrus fragrance, which made them a popular strewing herb in early times.

However, you’ll need the clusters of golden buttons to make a homemade insecticide. Here’s how:

  • Steep dried tansy flowers in hot water for an hour.
  • Strain the liquid.
  • Toss it in a spray bottle.
  • Give your plants a protective mist against bugs.

If any of that spray gets on your edible plants, give them a good wash before digging in.

7 – Garlic

Garlic Stems Growing

Now, garlic might not be the first plant that comes to mind for your indoor garden, but it’s a total nightmare for ants (and pretty much any other pest).

The sulfur compounds in garlic cloves can ward off pests, including ants, aphids, slugs, and mosquitoes.

You don’t need to go all out and start a garlic plot. Just buy an extra bulb and follow these steps to whip up an all-natural garlic spray.

  1. Peel a whole head of garlic.
  2. Puree the cloves in a blender or food processor with one cup of water.
  3. Add two tablespoons of dish soap and three more cups of water.
  4. Give the mixture another whirl before transferring it to a clean jar.
  5. Let the mix steep overnight.
  6. Strain the mixture to remove the garlic bits.
  7. Transfer the liquid to a reusable spray bottle.

How to Use Herbs to Repel Ants

In some cases, having these aromatic plants in the right spots can be enough to keep out the ants.

For a more hands-on approach, grab a few leaves, crush them in your fingers to release the scented oils, and put them where you see ants swarming.

For tips on growing your herbs, check out my post about growing herbs and veggies indoors.

Plants That Attract Ants

Houseplants usually aren’t big ant magnets. But there’s a catch: some flowering plants can become aphid hotspots, which is literally an open invitation to ants.

Aphids feast on plant sap and leave behind a sticky residue called honeydew. And you know who can’t get enough of this sweet goo? Ants!

Ants shield aphids from their natural enemies, and in return, they get a steady flow of the sugary treat.

If you notice sooty mold or discolored, curling leaves, you might have a full-fledged aphid farm on your hands. For a no-fail solution against aphids, use insecticidal soap or neem oil.

Other Items That Attract Ants

Ants have a nose for food scents, especially the tempting aroma wafting from your kitchen.

So, the game plan is clear: keep all your edibles covered and safely stored away. That means no open containers and no ignored spills or crumbs on the counter.

When wiping down surfaces, use a strong-smelling cleaner to erase lingering odors. A solution of water and vinegar can do the trick, too.

How to Keep Ants Away From Plants Naturally

You can create a fortress against ants by adding some ant-repellent plants around shrubs and trees in your backyard. Or, you can try these simple methods to keep those tiny intruders away:

1 – Boiling Water

Pour scalding water down the ant hills to kill the underground colony upon contact.

Add a tablespoon of mild dish detergent to make it even more potent.

2 – Cinnamon Powder

Sprinkle cinnamon powder around your plant bases or throughout your garden.

For more serious infestations, mix cinnamon directly into the soil to thwart ants from creating new tunnels.

3 – Baking Soda and Sugar

This combo works by enticing ants with sugar while delivering a digestive system shock with baking soda.

The foragers bring back the concoction to the colony through the fine hairs on their legs, causing widespread havoc.

How Do I Get Rid of Ants Permanently?

Aside from your potted plants, below are more fool-proof solutions to add to your ant-fighting arsenal:

1 – Pyrethrin

Pyrethrin is an insecticide derived from chrysanthemum flowers. It works by disrupting the nervous system of ants.

Just spritz some in the areas where you spot ants the most.

2 – Diatomaceous Earth

Diatomaceous earth is a fine white powder made from the fossilized remains of minute aquatic organisms called diatoms.

It sucks the life out of bugs by soaking up fat from their exoskeletons, leaving them dried up and done for.

3 – Borax

Borax is a mineral commonly used in laundry and cleaning products. To create a powerful insect dust, mix borax and sugar in equal parts.

Pop this mix where you spot those ant parties, but out of reach of your kids and fur babies.

Be patient; it may take some time for ants to carry the bait back to the nest.

Final Thoughts

To wrap up, the best plants that repel ants have fragrant aromas and strong essential oils.

With these ideas, as well as using the plants listed above, your home will be much better protected from ant infestations.

Share this post:

23 Comments

  1. This is Total balooney. I bought a farm Organic, absolutely nothing on it. Then I planted the hardiest Certified Organic Lavender from the #1 dealer & seller etc. that sends to TOP gardens in the world & in the USA, then I have ants in frenzy. NEVER had them before. Land was untouched for almost a century. Ants ALL OVER MY EXTREMELY EXPENSIVE greenhouse grown Lavender plants! WOW! Nothing else in the garden was being eaten or running around the soil…they were making whole cities & ‘RESIDENTIAL ANT Condominiums, on my soil! Right at the base of the Lavender plants!– famiy & ALL RELATIVES X multiple generations were farmers.

    1. I’m sorry to hear you’re having so much trouble with ants infesting your lavender plants. That seems unusual, but since there are thousands of species of ants, it’s definitely possible that some are attracted to these plants, while others are repelled by the scent of them.

      Since you clearly don’t want to damage the plants, your best bet is to either try to bait them to another area or to use something that’s safe for the plants. This article has a few potential solutions that include cornmeal, diluted vinegar, and borax. This article also offers a few natural solutions worth exploring.

      This sounds like a terrible situation. If any of the solutions above work for you, please let me know.

    2. sometimes total baloney is right, too many times these things just are not harsh enough…….and I love natural too……..but you are right….Mel

    3. I have all those plants. The ants literally are on top of my mint & lavender plants. I don’t see them on the Rosemary but definitely a huge trail next to it.

      Out of all these solutions, I found that DE worked the best but it does get messy. I put them around the whole outdoor of the house and it would work temporarily ht it’s better than nothing.

    4. Can I ask how you got rid of the ants? I bought my first home about three years ago and my yard is being taken over by ants, I have tried everything and absolutely nothing has helped. I want my yard back for me, my children, and my grandchildren.

    5. @Angela,
      I had massive ants in my garden area and used equal parts of baking soda and powdered sugar. Sprinkle it right on the ground when rain is not expected and the ants will be gone within a week. Works for me every time! Best to you and yours:*)

  2. Use RAID, forget this stuff because I already talked to an exterminator who says that some of these herbs will attract other kinds of bugs ! RAID is the only thing that has ever worked. You must keep spraying it and of course seal up the holes and cracks as much as you can. Also go outside to see if there are seedlings and debris from trees close to the house. Blow it away with a blower or sweep it away. Bugs are attracted to this stuff as well as water of course. We live in the country and have a well, so this is a very watery area within walking distance to 3 lakes. There are trees, bushes, and plants all around this house built in 1942. There are probably tons of bugs living in the walls or right outside with the bunnies, moles and squirrels. This is a fact of life and we must use chemicals to fight!

  3. The reason I searched for plants that repel ants is that ants have settled right in the middle of my mint patch in my garden. 😂

    1. Same! The ants are going straight to my apple mint plant. I even had an infestation in my kitchen the day after I brewed fresh apple mint tea!!!

  4. Hi Lisa,

    Thank you for posting your ideas. Fyi I don’t think the image of marigolds is of actual marigolds. I think you have an image of a yellow daisy.

    Thanks,

    Logann

  5. Lovely list, I will try out some lavender soon. Some advice to those recommending an exterminator instead, I’d say you are experiencing an infestation, or at least, a war with existing ant neighbors. I’ve had my best luck keeping pests away by using Mint as a PREVENTATIVE measure at the corners of my garden.

    An unorthodox tip, bugs hate cigarettes. Turns out, tobacco has it’s own natural pesticide. I don’t smoke but I keep an ash tray in the garden for guests, and I tell them “please don’t litter, help me defend my plants instead!”. Two birds with one stone. I got the idea from an article I read about birds using cigarette butts in their nests from St. Andrews University.

    1. Hi, James!

      You make a good point about the possibility of an infestation. It can be difficult to get rid of ants with those plants if you’re already overrun. They are definitely great preventative measures! The cigarette butt idea is great. Those that do smoke, or even those that don’t, can try that as well!

  6. Thanks for your article.
    You didn’t mention cinnamon ( because it’s not a house plant 😉
    Like DE, cinnamon is a fine powder and the ants who get it on them suffocate. Others will detour trying to find a way around it. Like Diatomaceous earth, it’s an excellent barrier. Unlike DE, the dust doesn’t tend to irritate human lungs as much and it smells better. I found it was easier to camouflage brown dust in the house than white powder.

  7. Hi Lisa, I’m a new gardener, growing outdoors in USDA hardiness zone 10a. I look forward to trying your ideas. What modifications (if any) would you suggest for repelling ants in the outdoor food garden?

    1. Thanks for the question. These plants can certainly be planted around your outdoor garden as well. Just be sure to check the hardiness zone on the plant tags (or search online) to make sure they will do well in your area. A couple of other things you can try if you’d like are adding cedar mulch or sprinkling diatomaceous earth in a border around the garden.

      Happy Planting!
      Lisa

  8. Hi Lisa.. I like to put flower boxes on my front porch. Usually I plant impatients. I always have so many little ants all around them. What kind of flowers can I put in my boxes that do not attract ants? Thanks…Fed up with the ants.

    1. Hi Patty,
      Marigolds would look great in your flower boxes and also help repel ants. Best of luck!

      Happy Planting!
      Lisa

  9. Just so you know, thyme does NOT repel ants. In fact, both of my outdoor potted thyme plants are always infested with them. The plants ARE infested with a tiny black pest I can’t seem to eradicate, and the ants are obviously congregating to dine (thanks, guys!), but the ants are not remotely deterred by the thyme smell. They crawl all over it all the time.

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept the Privacy Policy