Farmers Almanac
The Farmers Almanac
Order your copy today!

What to Plant to Keep the Bugs Away

Share on Facebook Share on Twitter Share on Pinterest Share on LinkedIn Subscribe by Email Print This Post
What to Plant to Keep the Bugs Away

Here’s a quick list of some of the best insect-repelling plants you can grow:

  1. Lavender: Not only is lavender beautiful and fragrant, but it is known to repel mosquitoes, fleas, flies, and moths.
  2. Basil: Use it to repel flies and moths in your garden, then harvest it for use in the kitchen!
  3. Thyme: This plant comes in many varieties, and it makes a wonderful ground cover for dry, rocky areas. Thyme will also help keep mosquitoes away from your gardens.
  4. Mint: Mint is another mosquito repellent, but one that you should use with care because it spreads aggressively and may take over a planting. Plant it in pots to keep mosquitoes away from your porch.
  5. Lemongrass: This beautiful grassy plant is packed with citronella, which is one of the best-known alternatives to synthetic repellents like DEET. Crush the leaves and rub on the skin (test a small area first).
  6. Alliums: This member of the onion family is known for tall spikes that produce gigantic balls of purple flowers (although there are also smaller varieties). Alliums are one of the best defenses against a variety of pests, including cabbage worms, aphids, carrot flies, and slugs.
  7. Chrysanthemums: Use these flowers as a border planting around your home to keep out bedbugs, fleas, lice, roaches, ants, and more. These plants contain naturally-occurring pyrethrin, an insecticide. They repel ticks, spider mites, Japanese beetles, and other garden pests. Try making this DIY pest spray!
  8. Petunias: Known for their many colors and a profusion of flowers, petunias also repel leafhoppers, squash bugs, tomato hornworms, and aphids—simply plant near brassicas (cruciferous veggies), beans, basil, tomatoes, grapes, corn, and peppers. Roses also do well when this natural insect deterrent is planted nearby.
  9. Marigolds: The marigold is one of the most well-known insect-repelling plants and with good reason — these beauties will keep aphids, mosquitoes, and other pests away.

Pest-repelling plants are both fragrant and beautiful. Try planting a few of these in your garden to keep the bug population in check.

Be sure to check out Farmers’ Almanac’s Gardening By the Moon calendar to pick the best days to plant!


1 skw1rl { 05.16.18 at 4:44 am }

I’ve heard that echinacea repels deer from the garden.

2 Harriett { 04.25.18 at 9:41 am }

I learned this from my Uncle who was a farmer for 60+ years and it works. When planting tomatoes plant the tomato then a hot pepper plant then another tomato plant then another hot pepper plant and so forth. The tomatoes do not turn hot and the bugs stay away including squirrels who like to taste peppers When they find out how hot it is they will turn and go and will not come back

3 tammy { 04.13.18 at 9:33 pm }

I have a hibiscus with aphids I tried bug be gone and hand soap mixed with water, but nothing works I am thinking it’s the plant that has no defense mechanism or the aphids have become immune. Should I give up and forget about the plant or can I spend more time making sure every square inch is treated everyday till they are gone?

4 Doreen Hahn { 06.23.17 at 12:35 pm }

It has been my experience that marigolds keep squirrels away. Where I live now, my neighbor has a planter outside. There’s a rabbit that keeps digging back where the dahlias and the phlox are. At the other end of the planter she has planted marigolds and dahlias. There’s lots of room there for digging, but that end of the planter hasn’t been bothered. They seem to keep the insects away, too.

5 Alice Cowart { 06.26.16 at 9:16 am }

On the matter of ANTS! My Dad used instant grits forever. To this day I still use it. Just remember do not use if it’s going to rain or when watering as it will expand and loose it’s effectiveness. I saw where someone used cornmeal and that should work the same. But, I will also try the cinnamon.

6 David { 06.23.16 at 4:11 pm }

Need help with stink bugs on tomatoes. Used marigolds and mint now.

7 Nailah Baderinwa { 06.23.16 at 2:22 pm }

Greetings! I’m also from Ohio (NW) and was interested in seeing if there any plants I didn’t know about (as far as natural pesticides), and saw a few that would neutralize insects on tomato plants I didn’t know about. THANKS!!!

8 Alice Cowart { 06.26.16 at 8:58 am }

Borage was used when first coming to the Americas.

9 Starchynne { 06.23.16 at 9:08 am }

Something is eating my ripe strawberries. Some kind of bug because most are eaten from the underside. The plants themselves are fine. I have marigolds planted but not with the strawberries. Maybe should have planted them closer?

10 Judie { 06.22.16 at 11:24 pm }

Thank you for letting me know how to get rid of earwigs I have them bad on my patio out front . I’m going to give that a try thanks again .

11 Kit Loft { 06.22.16 at 6:46 pm }

I don’t have problems with any critters, because I have raised garden beds, so I can ride right up to it and pick my lovely garden. But I do have marigolds around my garden and have sagebrushes around. Don’t have to use any chemicals at all. My garden is totally organic. Hope this might spark someone to raise their garden, if for no other reason it is less back breaking to have it that way. Good luck!

12 BARBARA Z { 06.22.16 at 4:30 pm }

For earwigs (also deters other insects): I make a solution of cedar oil, water and a dash of dishsoap.
I spray all the window sashes and possible entryways (especially around ac units) with the solution.
I probably use a 1 tsp – 1 tbsp / quart of water.

13 christina prewitt { 06.22.16 at 3:21 pm }

You need ladybugs and lacewings. You can encourage ladybugs to come by purchasing ladybug food, and possibly even ladybugs themselves. Ladybugs do not hurt plants, but eat aphids.

14 Rose Gingery { 06.22.16 at 12:25 pm }

Could you please provide a list on deer adverse plants? They love whatever I plant.

15 Michele { 06.22.16 at 11:33 am }

How about earwigs? I’m having an awful time with them this year.

16 Amber Kanuckel { 06.22.16 at 11:02 am }

Robert: I’ve had stinkbugs in the tomatoes before, too. And Japanese beetles, argh! There is a bunch of stuff that will repel both, but since I don’t want to crowd out the tomatoes with big, bushy herbs, I usually just plant lots of garlic (about a foot apart for each clove) and a few marigolds around them. Seems to work for me!

17 Amber Kanuckel { 06.22.16 at 11:00 am }

Chrysanthemums should repel ants, and chives will keep rabbits out as one poster mentioned, and they’ll also chase off Japanese beetles.

To the poster asking about spiders, that’s a tough one. There aren’t a lot of plants that will repel them. I’d say to get rid of them, you’d want to get rid of the bugs that they’re eating. At my house, they can get bad on our breezeway — like you said, all over everything. My solution is to keep lights off at night (keeps away moths and such) and to use plants that repel flies, mosquitoes and whatever else that is commonly buzzing around.

18 Amy Long { 06.27.16 at 3:56 pm }

I’ve heard that spiders do not like peppermint oil or vinegar. Mix 1/2 cup white vinegar, 1 1/2 cups water, and about 20 drops of peppermint oil in a spray bottle and spray around windows and doors. I haven’t tried this myself but I’ve heard it works.

19 Lorayne Stelling { 06.22.16 at 10:22 am }

How do I get rid of spiders. They are all over my screened in patio. I have tried numerous sprays to no avail. There are single strand nests as well as cobwebs.
They are on the screen, furniture, plants etc.
Do you have any suggestions to get rid of them so we can enjoy our patio.
Thank you

20 Margaret Rushing { 06.22.16 at 10:20 am }

We have lots and lots of ants (maybe harvester ants?) in our garden, do you have any suggestions as to how we can get rid of them?

21 Robert Strickland { 06.22.16 at 9:48 am }

The stink bugs are ravaging my tomatoes. I do not want to use pesticides. I want to stay organic. Any suggestions?



22 Brenda Frahm { 06.22.16 at 9:45 am }

Chives will keep rabbits out of your flower gardens. Plant small clumps throughout your flowers, and rabbits won’t eat them (the flowers).

23 Christie W { 06.22.16 at 9:37 am }

Basil, peppers are being ravaged this year. Very little not being eaten. Zinnia flowers shoots gone. Nasturtium seeds and cukes not showing. Whew. What a year! Heirloom Tom’s flawless. Go figure. Now I appreciate a good winter! I’ve never had problems with bugs I couldn’t manage with good amended soil. Can’t even find soil amending this yr!

24 christina prewitt { 06.22.16 at 3:28 pm }

I normally give my tea leaves to my worms, but I will try this!

25 Linda { 06.22.16 at 7:47 am }

Ants don’t like dry tea–so I’ve heard. I have only tried it once, but the ants did not come back. Save used tea bags and dry them. Then sprinkle dry tea in a shallow container and place in the area where needed. Simple, but certainly worth a try.

26 Doreen Kryski { 06.22.16 at 6:46 pm }

For ants a pet and child friendly repellent is cornmeal. Sprinkle cornmeal in the areas you have ants around your house. They stay away.N of sure how it works but it does.

27 christina prewitt { 06.22.16 at 3:22 pm }

You could try nematodes

28 mary { 06.22.16 at 7:28 am }

what about a pet-friendly (cats/dogs) repellant for ants. I’ve tried Cream of Tartar, I’ve tried baby powder, I’ve tried Bay leaves, I’ve tried dish soap and they keep coming. Doesn’t help with all this rain we have been having since May….

29 christina prewitt { 06.22.16 at 3:24 pm }

You need chickens 😉 lol
Seriously though, I wish I knew otherwise. We have only seen a handful, thankfully, thanks to our birds. Be sure you are keeping wood away from your house. They love hanging out under wood.

30 Lyn Aldridge { 06.22.16 at 6:13 am }

What about scorpions ???

31 Hauns { 06.22.16 at 4:34 am }

I have some of these herbs in my garden but have never really noticed the lack of certain bugs. Will surely pay attention now.

32 Becki { 06.21.16 at 7:59 pm }

Southernwood might be something else to look at.

33 Becki { 06.21.16 at 7:57 pm }

My mother and grandmother always used zinnias to keep away rabbits from their gardens. I have also been successful with zinnias in my gardens over the years. However, I do research to find other ways of doing things. Marigolds have been useful. I also use herbs in my gardens every year for many different things. Nothing is a be-all to end-all. Find what works best for you. Research, and try new things.

34 christina prewitt { 06.22.16 at 3:25 pm }

Lol that is too funny.
I have zinnias, marigolds, and chives randomly around my garden, and the wild rabbits still feasted on my bellpeppers. There seems to be a whole lot more rabbits this year than last. Possibly because of the rain?

35 Dean B { 06.21.16 at 2:56 pm }

I have heard for years that marigolds keep rabbits out of a garden. So a year ago I planted a 4×4 plot solid with marigolds. They came up dense and beautiful. I got busy and did not transplant them as planned. In the fall I went to collect the seed heads and discovered that a rabbit had a nest right in the middle of the marigold patch. So much for that advice.

36 RobertAbdo { 06.21.16 at 3:12 am }

Thanks for this new information. I have marigold in my garden. Hope it works.

Leave a Comment

Note: Comments that further the discussion of the above content are likely to be approved. Those comments that are vague or are simply submitted in order to promote a product, service or web site, although not necessarily considered "spam," are generally not approved.

If you notice a hole in the upper left-hand corner of your Farmers' Almanac, don't return it to the store! That hole isn't a defect; it's a part of history. Starting with the first edition of the Farmers' Almanac in 1818, readers used to nail holes into the corners to hang it up in their homes, barns, and outhouses (to provide both reading material and toilet paper). In 1919, the Almanac's publishers began pre-drilling holes in the corners to make it even easier for readers to keep all of that invaluable information (and paper) handy.

Reading Farmers' Almanac on Tablet with Doggie

Don't Miss A Thing!

Subscribe to Our Newsletter and Get a FREE Download!