How to keep ants away: 10 natural ways to stop ants coming into the house

From using unfavourable scents to natural remedies, these are the most humane ways to stop ants from coming into the house

Collage showing three natural methods for how to keep ants away from the house including herbs, vinegar and lavender plants
(Image credit: Future)

Ant season is here, the time of year when the little critters seemingly appear out of nowhere and creep into our homes uninvited. If you'd rather keep the pests out of your house take note of these natural deterrents to tackle how to keep ants away for good.

After all, no one wants ants crawling along the kitchen countertops or around the window frames, so we've asked pest control experts for their professional advice on how to stop ants from coming into the house altogether – prevention is much easier than having to get rid of ants once they are indoors. 

It doesn't feel right to suggest causing harm, so instead we're looking at prevention and how to stop ants from coming into the house using harmless remedies. Luckily like when looking to keep wasps away or get rid of flies, there are plenty of easy ways to do the job – as our team of pest control and horticultural experts explains.

How to keep ants away: 10 natural repellants to stop ants from coming into the house 

"Black ants build their nests near human habitats for one reason: food," explains Jonathan Kirby, a pest expert from NOPE! pest control products. "This hunger leads them into the home in search of crumbs and water.

"They also typically emerge during the warmer months between May and October, so a few simple steps now can be particularly effective in deterring ants and preventing infestation."

All the best ways to keep ants away involve utilising their sense of smell. There are several fragrant plants, flowers, and essential oils with scents which ants are said to greatly dislike, so keeping them indoors is an easy way to deter pests. Here are all the most effective natural methods...

1. Store food more efficiently

gray kitchen with floating wooden shelving with sealed food storage containers to show how to keep ants away in the kitchen

(Image credit: Getty Images | Mixetto)

As we've already touched on how ants will invite themselves into your home solely to find food. If you remove all access to food they will have no reason to step over the threshold. 

"Ultimately, the best way to deter ants from your home is to remove any food sources, as it’s food that tempts them to enter in the first place," explains Chloe Moore, horticulturist and blogger at Get Into Gardening. "Once they’ve found a source of food and laid a scent trail, the rest of the ant colony will follow it."

"Try not to leave any food out overnight. Ensure any jars and containers that do contain food are tightly sealed, and that leftovers are stored in airtight containers. Still, it’s best to store any leftovers in the fridge if you can," Chloe adds. 

There's never been a better time to look at how you organise the fridge and check over your organised pantry shelves, to ensure lids are on all jars and all food is stored in air-tight containers to stop the appeal.

"Ants love sugary foods, grains, and vegetables," explains Jonathan. "Keep any of these food packages tightly sealed to prevent attracting ants."

2. Keep surfaces clean

Like all pest control, one of the best places to start is keeping your house clean. Not having sweet spillages to feast on will remove the temptation for ants to enter your home.

"To deter ants, keep your house clean," advises Jordan Foster, a professional pest technician for more than 10 years and now as part of Fantastic Pest Control. "Ants are attracted to food particles, so you must keep your home clean and free of food debris. Spills and crumbs must be cleaned immediately."

When cleaning your kitchen, pay special attention to wiping over organised kitchen countertops, floors, and bins. Also, "If you have pets, always clean away uneaten food and never leave water bowls unattended for extended periods," adds Jonathan.

Everbuild Caulk Once Premium Quality Acrylic Caulk: £5.96 at Amazon
Easy to use

Everbuild Caulk Once Premium Quality Acrylic Caulk: £5.96 at Amazon

There really isn't anything better for the job of sealing gaps around your home than caulk. It's super quick and easy to use, plus it's affordable.

3. Seal any easy entry points

person caulking window cracks to show how to keep ants away

(Image credit: Getty Images | Banks Photos)

Similar to keeping spiders out of your house it's imperative to seal up any small gaps around doors and windows that look inviting to an ant. 

"Ants are mini all-terrain vehicles, capable of taking advantage of the tiniest cracks to gain entrance into the home," says Jonathan. "Make sure you inspect and seal cracks or gaps in doors, windows, or walls that ants could use to enter the house."

"Seal cracks, gaps, and holes in your walls, floors, and windows with caulk, weather stripping, or other appropriate materials," suggests Jordan.

4. Spritz vinegar

While you're cleaning with vinegar use the solution also to help deter ants from the house. "Not only does it work wonders in cleaning surfaces, but vinegar also messes with ants' scent trails, making it tough for them to find their way back," says home improvement and gardening expert Ivo Iv, founder of Decor Home Ideas

"Just mix water and white vinegar in a spray bottle, and you're good to go. And the best part? It's safe for you, your family, and your pets. But those ants? They just can't handle the smell." Spritz the diluted solution around windows and door cracks to deter ants from being tempered to enter the house.

Elliott Plastic 1 Litre Spray Bottle with adjustable trigger: £3.60 at Amazon
Refill bottle

Elliott Plastic 1 Litre Spray Bottle with adjustable trigger: £3.60 at Amazon

Perfect for any cleaning solutions or deterrent sprays, this bottle holds up to a litre worth of liquid and has various spraying options.

5. Use peppermint essential oils

As a much-loved essential oil peppermint is a welcome way to make a house smell good at the same time dettering ants who dislike the scent. "I stumbled upon this solution while searching for a solution that not only worked but also smelled great," says Ivo. 

"Mix a few drops of peppermint oil with water in a spray bottle, and spritz it around entry points like doors and windows. The strong scent of peppermint masks ants' scent trails and helps to keep them at bay. And get this - it doubles as an air freshener too." Win, win.

Mix 10-15 drops into a spray bottle with a splash of water to spritz in problem areas. Spray the minty aroma around entryways and the perimeter of your home to deter ants from entering.

Ants can also appear from under skirting boards, so don't forget to spray those to ensure any ants hiding in the walls retreat rapidly. 

Peppermint Essential Oil, 100ml: £9.89 at Amazon
Fragrant oil

Peppermint Essential Oil, 100ml: £9.89 at Amazon

Going the natural route can be super effective and affordable, especially with this large bottle of peppermint essential oil. You can opt for a smaller bottle, but this 100ml version will offer you enough to go around.

6. Mix a citrus cocktail

a spray bottle with a citrus solution to use for how to keep ants away

(Image credit: Getty Images | Wera Rodsawang)

Another strong scent that is said to deter ants is citrus. "Ants do not like citrus scents, such as lemon or orange. Citrus peels and essential oils can be used as natural deterrents," suggests Jordan.

"Get your spray bottle and fill it with one-third lemon and two-thirds water," advises Chloe, "then, just give it a good spritz around any doors/windows/cracks you’ve noticed ants entering through and repeating regularly."

It might be worth lighting your best-scented candle too, the more you fill the atmosphere with citrus aromas the greater the chances of warding ants away.

7. Display potted Lavender

White rustic kitchen with a potted lavender to show how to keep ants away

(Image credit: Future)

As houseplants become the latest must-have accessories for most rooms it's handy to know the ones that can double up as a decorative measure to get rid of ants. "Lavender is not only known for its calming properties, but it’s also a natural insect deterrent, including ants," explains Suzie Wolley, product specialist at Serenata Flowers

"Potted lavender plants look lovely on a table or windowsill, and they’ll be sure to keep the ants away." The scent is not appealing to ants and therefore the thinking is that they will steer clear of any area boasting even a hint of lavender.

Of course, if you’re growing lavender in your garden you can simply take a cutting and tie a bunch together and hang it in each room of your house. Not only will it smell beautifully fragrant, but ants will be nowhere in sight.

Pack of 2 Large Lavender Herb Plants: £18.99 | Amazon
Potted lavender

Pack of 2 Large Lavender Herb Plants: £18.99 | Amazon

Why not have twice the power with this two-pack? Place the plants in a pot or basket of your choice, and you'll have a relaxing anti-ant scent wafting through your home.

8. Try kitchen herbs

kitchen with pots of herbs to suggest how to keep ants away naturally

(Image credit: Future)

Fill your kitchen with common cooking herbs to do more than season your dishes. "Similarly to lavender, herbs such as thyme are also an effective ant deterrent as well as a tasty addition to many meals," says Suzie. "Easy to grow inside, keep it in the kitchen and it’ll stay ant-free. There’s also nothing more satisfying than picking a few sprigs off your herb garden to add to your favourite recipe."

"The aromatic oils in basil are known to repel not only ants but other bugs such as spiders, summer houseflies, and mosquitos," says Evie Lane, a gardening expert from Primrose Garden Nursery. "It can also be used to make a DIY bug-repellant spray if mixed with witch hazel – simply spray the mix onto a surface and wipe it down.  The herb can be grown in any area of your home, as long as it gets access to direct sunlight for 4 to 5 hours per day."

Evie adds: "Rosemary is faintly scented for the human nose but releases an intense odour to ants. Make sure you’re growing it indoors though – rosemary is less cold tolerant so will thrive in a standalone pot in a warmer environment."

9. Choose Chrysanthemums

Open window with a potted pink Chrysanthemums to suggest how to keep ants away from the house

(Image credit: Getty Images | Reelene Bai Ou)

Whether planted in flowerbeds and window boxes near the house or displayed as part of a bouquet in a vase, Chrysanthemums are the cottage garden plant of choice if you want to keep ants away. 

"Chrysanthemums are not only beautiful flowers, but they are also effective deterrents for multiple insects, including ants, as they contain toxic chemicals," says Suzie. "Found in a myriad of colours, shapes, and sizes, they’re sure to brighten up the rooms whilst keeping ants at bay."

"Bright blooms of chrysanthemums contain pyrethrum, an ingredient frequently used in natural insect repellents," explains Evie. "The chemical repels ants, ticks, fleas, and even spider mites."

10. Keep your garden tidy

garden patio with potted plants to show the Tender plants to bring inside in autumn before the first frosts

(Image credit: Future)

Although you may be mainly worried about ants infiltrating your home, sorting your garden out and keeping it tidy can help keep the critters well away.

"Whilst you can never completely prevent pests such as ants from making their home in your back garden, keeping it tidy and well-maintained is a surefire way of reducing the risk of an infestation," explains Daniel Baldwin, Entomologist at Hawx Pest Control.

"Removing dead leaves and decaying organic matter from plants regularly can help to deter ants," he adds.

Similarly to keeping mice out of your house, removing outdoor rubbish will lower risks of indoor or outdoor ant problems.

Daniel Baldwin
Dan Baldwin

Dan Baldwin is Vice President of Technical & Training Services at Hawx Pest Control. He is a board-certified entomologist and licensed pest control operator, with over 25 years of experience in the pest control industry.

FAQS

Does vinegar keep ants away?

Experts say vinegar is a great option to keep ants away. "Ants don't like vinegar's strong smell," confirms Jordan Foster, a pest control expert. "To deter ants, spray vinegar and water on surfaces or wipe down surfaces with a vinegar solution."

"The only downside? It doesn’t smell great for humans, as well as ants – but it does do a good job of keeping them away," adds Chloe Moore, horticulturist, and blogger at Get Into Gardening. "Grab a spray bottle and fill it with half water and half vinegar (any kind will do). Again, simply spritz it around any doors/windows/cracks you’ve noticed ants entering through."

ants carrying food scraps along a kitchen countertop

(Image credit: Getty Images | RHJ)

How do I get rid of ants permanently?

While all the natural methods above are suitable solutions to keep ants away if you have an infestation it might be time to call try professional pest control methods – but only as a last resort to a significant problem. "If the deterrents haven’t worked and ants are damaging your house, you might need to try a more impactful method," says Chloe.

"You can buy ant powders, sprays, and bait stations from most garden shops. While effective, they can potentially harm other non-target insects and animals, whilst having a negative effect on your garden’s overall health. In an ideal world, these would only be used for serious invasions," says Chloe.

"Generally, I prefer to stay away from pesticides and powders and opt for eco-friendly options that won’t harm other insects or wildlife. Boiling water is a simple yet effective ant extermination method – just boil your kettle and pour the water straight into the entrance(s) of the ant nest. You’ll probably have to repeat this a few times to kill off the entire colony."

"One of the most effective non-toxic ant remedies is the sugar and boric acid method. Mix one part of boric acid with seven parts of sugar. Dissolve the mix into a cup of water and mix well until it forms a paste. Place small amounts of this mixture next to each nest opening and repeat daily until the ants are gone."

However, in a time when all the garden trends encourage us to provide a habitat for wildlife, Chloe Moore, horticulturist, and blogger at Get Into Gardening says: "Be aware that, unless ants are particularly troublesome, it’s best to leave ants be. They’re a vital part of our ecosystem and can actually be beneficial for your garden – they aerate the soil, fertilise plants and improve soil structure, which can help your best plants to grow better."

What do ants hate the most?

Like most insect species ants hate strong smells, many of which are herbs and essential oils. Evie Lane, a gardening expert from Primrose, “Many don’t know that a lot of fragrant plants can do a great job of deterring creepy crawlies too. Ant-deterring plants have a strong odour so the aromatic fragrance not only keeps ants away, but they smell great in your home too.”

"Natural ant deterrents include vinegar, lemon juice, peppermint oil, and cinnamon," says Jordan. "If you want to discourage ants from entering your home, spray these products along their trail."

Why do ants suddenly appear?

One minute they're nowhere to be seen, the next they're everywhere – so why do ants suddenly appear? Jordan Foster, a pest control expert explains: "Changes in weather, food availability, or the presence of other ant colonies can cause ants to appear suddenly."

"Humidity changes may cause ants to relocate their colonies and that's why we are seeing suddenly more ants. When they discover a new source of food, ants will send more ants to collect it, resulting in a sudden increase in activity. Furthermore, new ant colonies may cause conflict with existing colonies, causing ants to appear suddenly as they defend their territories."

What attracts ants the most?

No matter what pest you're dealing with, there's always something they seek out more than anything else, and it's usually food. Similarly, you'd stop rats from coming into your garden, removing the food source from ants will make the most difference.

"Ants are primarily attracted to food sources, which is why maintaining a clean, food-free environment is key to preventing an infestation," explains Daniel Steward, Managing Director at Shield Pest Control.

"It is crucial to clean up after meals, as even the smallest crumbs or leftover waste can attract ants. Store food in airtight containers to prevent ants from accessing it," he adds.

You can even store your food in higher cupboards, to make it even more physically difficult for ants to reach it.


Adopting some manageable daily cleaning habits can help you protect your home from a whole host of common annoying pests. Whether you're ridding your bathroom of silverfish or are tired of seeing tiny black flies in your home, a clean well-cared-for space will have them running the other way.

Tamara Kelly
Lifestyle Editor

Tamara is a highly experienced homes and interiors journalist with a career spanning over 22 years. Now the Lifestyle Editor of womanandhome.com, she previously spent 18 years working with the style teams at Country Homes & Interiors and Ideal Home. With these award-winning interior teams, she gained a wealth of knowledge and honed her skills and passion for styling and writing about every aspect of lifestyle and interiors.

A true homes and interiors expert, Tamara has been an ambassador for leading interior brands on multiple occasions, including appearing on Matalan’s The Show and presenting at top interior trend forecasting events such as the Autumn Fair and Spring Fair.

With contributions from