Dre Campbell Farm
23 Plants That Repel Garden Pests

This post may contain affiliate links. Click here to view our affiliate disclosure

23 Plants That Repel Pests in Garden & Home

One natural way to keep away harmful insects and other pests from your garden and house is to grow plants that repel them.

These pest repelling plants naturally get rid of bugs, ants, mosquitoes, flies, aphids, and other pests. Moreover, many of them attract beneficial insects.

Below is a list of the best plants that repel insects and related pests from your vegetable garden and home.

1. Basil

Basil is among the pest deterrent plants that keep away mosquitoes and your standard house-fly. It also works well at controlling thrips, gnats, whiteflies, spiders, and aphids.

Another perk is that it grows easily in a pot, so you can have some in your kitchen as well as in your garden to keep you protected both inside and out. You’ll have an abundant supply of basil once you start growing it!

Purchase basil seeds online.

2. Lavender

Considered one of the best flowers for garden pests, lavender keeps away all kinds of bad insects and related pests. It repels flies, rodents, fleas, mosquitoes, no see ums, caterpillars, scorpions, and moths.

Furthermore, if you are searching for plants that repel spiders, lavender makes a great spider repelling plant. The critters don’t like its strong scent.

Additionally, it adds a splash of color to your garden or windowsill. Moreover, lavender adds a sweet and relaxing fragrance to your home.

In addition to growing it in your garden or a pot, you can also tie small bundles of the herb over doorways and near windows to keep pests out of the house.

Order lavender seeds online.

3. Lemongrass

Among the plants that repel mosquitoes, lemongrass is a key ingredient in many mosquito-repellent candles and oils.

Moreover, this ornamental grass grows well in most locations. Crush the leaves to release the oil and use it to rub on your skin to keep away the critters.

Purchase lemongrass seeds online.

4. Peppermint

Peppermint is one of the best mosquito repellent plants. It also repels bed bugs, ants, flies, mice, earwigs, and roaches.

However, the peppermint plant tends to grow aggressively, so the best bet is to plant it in a container.

Not only will growing it in a container keep it where you want it, but it will also make it easier to move it to a different location (such as atop your patio table) as needed.

Purchase mint seeds online.

5. Rosemary

If your veggies are being endlessly harassed by bad bugs and other pests, you may want to plant some rosemary nearby.

As a pesticide, rosemary is helpful in keeping away certain pests [1]. Furthermore, it grows well in-ground or in a container and is also a good choice for most ornamental landscaping.

As it grows, it will hold off pests such as fruit flies, cabbage moths, mosquitoes, and carrot flies. However, you can also use it to make a natural repellent spray.

To make a homemade spray, simply add some dried rosemary to boiling water for half an hour. Next, strain into a container that contains equal parts of cool water. Finally, store the mixture in the fridge in a spray bottle and use it when needed.

Purchase rosemary seeds online.

6. Bay Leaves

Bay leaves are great at keeping away flies, weevils, rats, cockroaches, and moths. They also repel earwig insects. Therefore, place the leaves (fresh or dried) in areas where these pests might show up.

7. Dill

Among the herbs that repel bugs, dill is an excellent pick. It is very successful against garden insects and related pests such as aphids, spider mites, cabbage loopers, tomato hornworms, and squash bugs.

As a result, plant it in your vegetable garden as a companion to other crops.

Order the seeds online.

8. Petunias

Among the plants that repel flies, petunias are just as productive as they are pretty. Moreover, they are easy growers and some people refer to them as nature’s pesticide.

Companion planting with petunias can also help rid your garden of squash bugs, tomato hornworms, asparagus beetles, aphids, and leafhoppers.

9. Fennel

If you have a problem with slugs and snails attacking your garden, plant fennel in or around your garden. Besides, the plant also repels aphids.

Purchase fennel seeds online.

10. Thyme

This herb discourages whiteflies, ants, maggots, stink bugs, corn earworms, cabbage loopers, cutworms, and tomato hornworms.

Moreover, it isn’t extremely aggressive like mint, so it can easily be incorporated throughout your garden to protect your cabbages, tomatoes, and other vegetables.

Buy thyme seeds online.

11. Chives

Plants belonging to the Allium family are great for driving away slugs, flies, aphids, and cabbage worms.

Chives keep away rabbits, carrot flies, Japanese beetles, and mites. Other examples of these natural bug repellent plants include garlic, leeks, and shallots.

12. Chrysanthemums (Mums)

These are excellent flowers to plant in your vegetable garden to control harlequin bugs, nematodes, spider mites, ticks, Japanese beetles, and even lice and fleas.

Some chrysanthemum flowers contain Pyrethrins, which have strong pesticidal properties.

Besides, these flowers add a nice pop of color anywhere you want to plant them in your yard to protect your garden from unwanted pests.

Purchase Chrysanthemum seeds online.

13. Marigolds

Great in organic pest control, marigolds keep bugs away, as well as other garden pests. The flowers give off a scent that keeps away gnats, mosquitoes, thrips, flies, whiteflies, and sometimes even snakes!

Moreover, marigolds add a beautiful splash of color to your garden.

Purchase marigold seeds online.

14. Nasturtium

If your garden seems to be loved by squash bugs, beetles, flies, whiteflies, or cabbage loopers, you’ll definitely want to companion-plant some nasturtiums.

Nasturtiums release a scent in the air that naturally keeps off many pests without harming any other plants or even the beloved bee.

Purchase nasturtium seeds online.

15. Onions

Although they’re mostly known for turning off your date, onions are also great for getting rid of certain harmful insects.

Now, they’re not a total bug deterrent like some of the other plants, but they are great at deterring cucumber beetles, cabbage worms, flea beetles, and carrot rust flies.

Some farmers also plant onions near tomatoes and kale to help keep aphids at bay.

16. Calamint

Calamint is great for keeping away cabbage worms and cabbage loopers, as well as moth larvae. However, it spreads very easily, so be careful where you plant it.

17. Garlic

Garlic protects your blueberries, roses, and raspberries from Japanese beetles, as well as from aphids on your lettuce.

It may also repel stink bugs, spider mites, ants, earwigs, and caterpillars. As a result, it’s a great companion to any plant that might be susceptible to those pests.

18. Catnip

Catnip doesn’t proliferate quite as much as mint does, so you’re safe to plant it directly in your garden.

It protects eggplants, radishes, and other plants that are susceptible to flea beetles and potato bugs.

Buy catnip seeds online.

19. Tansy

Many gardeners will plant tansy near their roses to keep away Japanese beetles and cucumber beetles. It also gets rid of bed bugs, moths, and Colorado potato beetles.

It’s believed that it gives off a scent that confuses the pests, making it difficult for them to find target plants.

Purchase tansy seeds online.

20. Borage

This herb works best on garden pests such as tomato hornworms and cabbage worms.

It also makes a nice-looking addition to your garden and will support your local honey bee population.

Purchase borage seeds online.

21. Castor Bean Plant

Castor oil, which comes from castor beans, is excellent for getting rid of moles and voles, and possibly armadillos.

However, grow the castor bean plant with caution. The seeds can be poisonous to humans and animals if ingested [2].

22. Tomatoes

That’s right, planting tomatoes can help protect other plants in your garden. However, be sure to plant at least one companion plant nearby that will, in turn, protect your tomatoes from pests.

In particular, they will keep your asparagus free from pests as the scent of the plant gets rid of asparagus beetles.

Since many gardeners plan to have tomatoes anyway, it’s helpful to know that they can perform double duty.

Find a variety of high-quality tomato seeds online.

23. Citronella Plant

Mosquitoes hate the smell of the citronella plant. However, simply planting it in your garden is not enough to keep mosquitoes away.

Crushing or touching the leaves will release its oils. The scent from the oil is what they hate, preventing them from coming near.

Citronella also deters cats.


This is an extensive list of natural pest repellent plants to consider growing to protect your vegetable garden and home.

Plus, some are quite easy to cultivate. If you take the time and plan them correctly, you can have the best companions near each of your plants.

Sasha Brown

Blogger and lover of all things natural.


  • Great job for publishing such a beneficial web site. Your blog isn’t only useful but it is additionally really creative too.

  • what about some plant to repeal fruit flies ?

  • Thank you!! That was very informative!! I wrote a few down which I will purchase soon! Thank you for Posting!!!

Organic pest control

DIY Pest Control