20 Plants That Really Work to Keep Bugs Away, According to a Pro

Close up of an orange marigold flower
Credit: The Spruce / Phoebe Cheong

One of the most beautiful and nature-friendly ways of discouraging pests from visiting your garden is through plants. On your next trip to the nursery, it's worth keeping your eye out for the specific plants that keep bugs away.

Bob Gilbert, a board-certified entomologist at Blue Sky Pest Control , notes that the aromatics (the chemicals we can smell) of particular pants can be beneficial for this cause. But for your efforts to pay off, these plants have to be in close range to the ones normally affected by pests.

"One marigold plant isn’t going to protect your tomato garden," he says. "You need rows of marigolds or other plants to do the job."

If you're intrigued in gathering up protective plants, take a look at this list of 20 below.

Bob Gilbert is a board-certified entomologist at Blue Sky Pest Control.

Lavender

Up Close view of lavender in bloom
The Spruce / Adrienne Legault

Wards off: Aphids, moths, mosquitoes, flies, and mites.

Lavender is a calming and relaxing scent for many humans, but many bugs don't like it. For a colorful and fragrant addition to your garden, try adding a few of these shrubs near plants that normally get eaten.

Basil

basil growing
The Spruce / Gyscha Rendy

Wards off: Beetles, whiteflies, carrot fly, and mosquitoes.

Basil is a tasty and nice-smelling addition to your garden. Plants like basil help "reduce plant-feeding pests," according to Gilbert. This list of herbs also includes garlic, dill, lavender, mint, and rosemary.

Marigold

Close up of an orange marigold flower
The Spruce / Phoebe Cheong

Wards off: Nematodes, tomato hornworms, thrips, wasps, and mosquitoes.

Gilbert says that flowers such as marigolds can be effective as well for repelling certain insects. You can either grow the plants themselves or spray on the essential oils from these plants.

They add a bright pop of color and are great companions for tomatoes, cucumbers, eggplant, and others.

Mint

closeup of mint leaves
The Spruce / Kara Riley

Wards off: Ants, spiders, flies, fleas, mothers, mosquitoes, and rodents.

Mint may be a delicious addition to your garden and culinary collection, but many pests aren't a fan of its strong smell . Plant rows of these close to other plants for the maximum effect.

Catnip

catnip plant
The Spruce / Phoebe Cheong

Wards off: Mosquitoes, fruit flies, cockroaches, ticks , spiders, beetles, and aphids.

Your four-legged friend may be a fan, but you will be too after seeing the types of pests catnip can repel. Even better is that it's pretty easy to start and grow in your garden.

Petunia

petunias
The Spruce / Kara Riley

Wards off: Beetles, squash bugs, aphids, tomato worms, and

Petunias provide color and volume for planter boxes, beds, and hanging baskets. They're also great for deterring bugs. They also attract hummingbirds and other beneficial pollinators.

Rosemary

closeup of rosemary
The Spruce / Randi Rhoades

Wards off: Mosquitoes, flies, and other insects.

Another one of the many expert-approved plants, rosemary offers plenty of benefits, whether you love to cook or make your own essential oils. Position it around plants that are more susceptible to pests so its scent can be most effective.

Lemongrass

Lemongrass shrubs all together
Jeremy Villasis / Getty Images

Wards off: Ants, mosquitoes, ticks, flies, wasps, and fleas.

Another plant with a delightful smell, lemongrass is perfect for warding off bugs. It doesn't normally suffer from major diseases or pest problems, making it a hardy choice.

Geraniums

closeup of geranium blooms
The Spruce / Kara Riley

Wards off: Flies, Japanese beetles, and mosquitoes.

Geraniums come in a wide range of colors and fragrances, so it's easy to get options that match the look of your garden. When it's surrounding other plants, its fragrance will help send pests heading elsewhere.

Chrysanthemum

mums in a container
The Spruce / Letícia Almeida

Wards off: Spider mites, Japanese beetles, ticks, thrips, whiteflies, and mosquitoes.

These gorgeous pest-repelling plants can be great seasonal deterrents. In fact, one species of chrysanthemum even has a chemical compound called pyrethrin that's used in insecticides.

Garlic

Close up of the bulbs of harvested garlics
The Spruce / K. Dave

Wards off: Mosquitoes, aphids, beetles, caterpillars, rodents, deer, whiteflies, cutworms, and flies.

Garlic is a top-tier pest deterrent. If you're a fan of the allium, introducing this into your garden will offer plenty of home-grown produce and keep nasty bugs and rodents at bay.

Dill

potted dill plant
The Spruce / Kara Riley

Wards off: Spider mites, aphids, cabbage moths, and squash bugs.

The strong scent of dill is another great pick for repelling pests. This herb can be planted near basil, asparagus, and corn, but keep it away from plants such as carrots, potatoes, and lavender.

Chives

Chives planted in ground near white fence closeup
The Spruce / Randi Rhoades

Wards off: Aphids, carrot flies, and Japanese beetles.

Like garlic, chives make a pungent pest deterrent. Aside from this, it's a tasty edible plant and it produces pretty poufs of flowers that add to a garden's aesthetic.

Sage

closeup of sage
​The Spruce / Kara Riley

Wards off: Cabbage moth, carrot flies, beetles, and snails.

The soft leaves and gentle smell of sage is a sensory treat for gardens. Luckily, many pests don't enjoy this plant like humans do. Place it near other herbs for a major pest-repelling patch.

Onion

onions ready for harvest
The Spruce / K. Dave

Wards off: Aphids, rabbits, beetles, carrot flies, and mosquitoes.

You're likely familiar with the nose-scrunching, tear-jerking aroma of onions. That said, they're still pleasant for cooking up and eating, but fortunately, a fair few pests don't enjoy their smell and will leave them and surrounding plants be.

Calendula

calendula flowers
​The Spruce / Kara Riley

Wards off: Nematodes, tomato hornworm, and beetles.

Calendula comes from the same family as chrysanthemums and daisies and it's relatively resistant to pests. It can be a great companion plant option in vegetable gardens. It keeps annoying critters away but brings in pollinators.

Borage

borage in the garden
The Spruce / Autumn Wood

Wards off: Hornworms and cabbageworms.

Borage produces vibrant blue flowers and is a magnet for pollinators—a benefit to any garden. Use it to banish annoying worms and protect tomato crops.

Thyme

Close up of the mature leaves of a thyme plant
The Spruce / Almar Creative

Wards off: Aphids, mosquitoes, spider mites, cabbage moths, corn earworm, and tomato hornworm.

With its delicate rounded leaves, thyme is a pretty addition to your garden and an edible plant. Use its nice fragrance to combat a range of worms, mites, and insects.

Citronella

Front view of a citronella plant
The Spruce / Adelyn Duchala

Wards off: Mosquitoes

Although the plant itself has not been proven to ward off mosquitoes , its chemical compound has. So why have it in your garden? If you crush leaves up in your hand while gardening or relaxing outside, it can release the fragrance and assist your other pest-repelling products and plants.

Nasturtium

nasturtium flowers
​The Spruce / Lacey Johnson

Wards off: Whiteflies, beetles, aphids, cabbage loopers, and squash bugs.

Some people find that nasturtiums work best as a trap crop. They attract pests to the leaves and flowers and distract them from other veggies, fruits, or flowers you're trying to grow and keep safe.

Source: https://www.thespruce.com/plants-that-keep-bugs-away-8667977