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 get rid of them, and 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 for you.

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

Plants That Repel Ants

The key to keeping out ants is scent. They rely on smells to communicate with each other and to find new routes to food sources. Having houseplants around with very aromatic oils in them can deter ants from exploring any further in your home.

1 – Lavender


Lavender can get a little large for a houseplant, but it’s definitely possible to grow this lovely aromatic plant indoors. You’ll need a place that gets a lot of bright sun through the day, and expect to either split or repot this perennial as it continues to get bigger each year.

Not only do you have to consider the light levels, lavender needs a breezy spot as well. Without regular air flow, it won’t thrive. A small fan would work in a pinch. For the novice, try to find French lavender. It’s known to be the easiest strain to keep as an indoor houseplant.

As I mention in this article about health-promoting houseplants, lavender has other benefits that you should be aware of as well.

2 – Mint


You can take your pick from a a whole bunch of mint varieties, and all can help deter ants in the house. Stick with the usual peppermint or spearmint, or get creative with apple mint, chocolate mint or even pineapple mint. All of them would provide very lovely tea at the same time.

For growing mint as a houseplant, you need well-draining soil (add some peat or perlite if necessary), and a spot with 4 to 6 hours of indirect light. If you are looking for plants that don’t need high sun (see my recommendations), this is a good choice.

Water your mint just before it starts to get dry on the surface, and turn the plants frequently as they have a tendency to bend toward the light.

3 – Rosemary


Not as aromatic as lavender or mint, but potent against ants just the same. Rosemary isn’t the easiest plant to grow indoors and if you are just getting started with houseplants, it might be better to choose one of the others from our list.

Otherwise, find a spot with as much sun as you can manage for your pot of rosemary. If it’s not enough, add a small grow light to make up the difference.

You also have to be a bit more careful about watering. Don’t overdo it, and wait until the soil is completely dry on the surface. Give it a thorough drink, with a well-draining pot so that the roots don’t stay wet for too long.

To overcome overwatering, check out my tips for fixing overwatered plants.

4 – Thyme


Like mint, you can grow thyme in indirect light so it will do nicely indoors even if you don’t have ideal sunny conditions. Avoid over-watering, letting the soil dry right out before adding more water. One trick to keep your thyme from getting soggy roots is to have it in an unglazed ceramic pot that will allow moisture to evaporate more quickly.

Don’t let your thyme get too chilly though. They may not need full sun but they won’t do well in cold temperatures.

5 – Marigolds


Not all ant-repellent plants are kitchen herbs. Marigolds bring ant-repellent aromatics as well as a pretty splash of orange color to your home. Compared to the other plants, these can be a little tougher to keep as houseplants.

Marigolds need warm temperatures and a lot of sun to stay healthy. If possible, keep them indoors for the cooler months but move your pots outside for the summer to give them a chance to really recharge in the heat and sun.

6 – Tansy


A little less common than the others, and a bit on the big side for a houseplant. If you have enough space, with either full or indirect sun, you can try tansy to repel ants.

Don’t let your plants sit in wet soil for too long and you will be rewarded with clusters of little yellow flowers. It’s the flowers you want as a repellent with tansy, not just the leaves.

7 – Garlic


While not a plant you are likely going to start growing as an indoor houseplant, it is still an excellent one for repelling ants (and pretty much any other insect pest). If you’re looking to utilize plants for bug control, you can’t ignore garlic. You don’t even have to grow it. Just buy an extra bulb or two from the supermarket if you have to.

Since it’s not a houseplant, you’ll need to take a different approach to using it, as we’ll explain in a moment.

Using Herbs to Repel Ants

In some cases, just having these aromatic plants in the right spots can be enough to keep out the ants. For a more direct approach, you can use the leaves of your indoor plants for spot pest control away from the plants themselves.

Take a few leaves or flowers, crush them in your fingers to release their scented oils, and put them where you see ants coming in. For garlic, just crush up a clove.

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

You can also help nip the problem in the bud by adding some of these repellent plants outside the house, especially if you know the areas where the bugs tend to enter. An added line of defense never hurts. All of these plants can be grown outside as well as indoors, and can keep other insects from getting into the house too.

Plants That Attract Ants

Houseplants generally don’t attract a lot of ants. Some flowering plants can get infested with aphids, and that can be an attractant to ants though. Aphids suck juice out of a plant’s stem, and excrete a sweet liquid waste. This is basically sugar water for ants, and will always draw them once they discover it.

So if you do start to see some aphids, you should clear them out as quickly as you can with a simple spray of insecticidal soap.

For more tips to combat indoor plant pests, see my in-depth post about getting rid of bugs on houseplants.

Other Items That Attract Ants

While we’re talking about identifying things that might be drawing ants into the house, we should mention a few other non-plant attractants you should be wary of. Ants are strongly drawn by the scent of food, which is why they so often make their first appearance in the kitchen.

So clearly, you need to keep all food away and under cover. That means no open containers and definitely no ignored spills or crumbs on the counter.

When you do wipe down tables or countertops, use a strong-smelling cleaner to eliminate any possible traces of food scents. Even a dilute mixture of water and vinegar can work well for this.

Other Natural Repellents

You can take your search for natural ant repellents beyond just the houseplants you are growing. There are a few other options you can add to your exterminating arsenal that are natural and non-toxic too.

First up is insect spray made with pyrethrin as the main ingredient. Derived from chrysanthemums, it’s a very natural way to keep out the ants. Just spritz some in the areas where they come in, as well as where you are seeing them the most.

Next, you can sprinkle diatomaceaous earth where you see any ants, especially around baseboard or along the back edge of the kitchen counter. It is a fine white powder, so you’ll want it to be placed out in a way where it will stay put and not be disturbed.

One more option to get rid of ants without artificial chemicals is with a sugar and Borax solution. Borax is a naturally-occurring mineral and is found in the detergent section of the grocery store as a laundry additive. Mix 1/2 cup of sugar with 1 1/2 tablespoons of Borax, and dissolve in 1 1/2 cups of warm water.

Fill a shallow dish (a jar lid works very well) with this solution, and add a cotton ball or two so the ants can get at it without drowning. They’ll be attracted to the sweet liquid, and take droplets back to the main colony.

After a few days, the Borax will kill off the ants that consume the mixture. The catch is that you have to leave the ants you see in the house alone in order for this to work effectively.

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

  • Find More Content


  1. Mel from upstate NY Reply

    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.

    • 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.

    • 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

  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. Diane Kukla Reply

    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. 😂

    • Hi Diane!

      Haha, oh no! I’m so sorry to hear that. Unfortunately, we can’t always account for every species of mint and every species of ant. I hope one of the other plants is able to help you out! Good luck!!

    • 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. logann gavey Reply

    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.



  5. James Morrone Reply

    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.

    • 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!

Write A Comment

I accept the Privacy Policy

Pin It