Marigolds are the ultimate best friend for your vegetable and flower gardens.

Ravinder Kumar / Getty Images

The colorful blooms ofmarigolds (Tagetes spp.

Marigolds also give off an odor thatrepels other garden pestslikerabbits, whileattracting pollinatorswith their warm, brilliant colors.

A big cluster of large, majestic bright yellow Marigold flowers in full bloom

Ravinder Kumar / Getty Images

What Is Companion Planting?

Companion plantingis when you place two plants side-by-side that will help the other thrive.

Want more gardening tips?

Close up of basil

Ali Majdfar / Getty Images

The potent aroma of garlic will repel everyone from spider mites to deer to snails.

Plus, marigolds will attract pollinators like bumble bees which are helpful for tomato plants.

That means you’ll have an abundant crop of cucumbers all summer long without the worry of intrusive bugs.

Garlic

Anna Kurzaeva / Getty Images

Marigolds also trap aphids, which would otherwise go after your watermelons.

Asparagus

Getty Images/dulezidar

Don’t want asparagus beetles attacking your summer harvest?Plant them alongside marigolds.

Marigolds will repel the asparagus beetle, letting your spring vegetables thrive.

tomato plant with several red, ripe tomatoes and green leaves in background

Helios4Eos / Getty Images

Carrots

Getty Images/Dimitrie Ragar / 500px

Carrots reap two main benefits from marigolds.

The first, of course, is insect repellant.

Marigolds deter carrot rust flies and carrot psyllids.

cucumbers grown in greenhouse

Sorin Banica / Getty Images

Both are sun-loving plants that do best withfull sun.

Plus, marigolds will keep away rodents that might dig up your below-ground onions.

Marigolds will stop slugs in their tracks, taking the hit before the slugs reach your lettuce crop.

Watermelon plant

Jonathan R. Beckerman / Getty Images

Lavender

Katya Slavashevich / Getty Images

Drought-tolerant and sun-loving, marigolds and lavender have lots in common.

Both of these plants attract pollinators, and rabbits and deer tend to steer clear.

They’ll get along beautifully in a summer through fall garden.

Pumpkin on a vine

Kevin Trimmer / Getty Images

That means these two are great companions before or after the height of summer’s heat.

They grow together well under the same conditions.

Plus, these two both do well in sunny, drought-tolerant conditions.

‘Fairytale’ eggplant

RuudMorijn / Getty Images

Try the low-growing thyme in front of the marigolds to create a pest-repelling fence.

Despite its wintery look, dusty miller does best in hot, full sun, drought conditionsjust like marigolds.

The vibrant purple and vivid oranges, reds, and yellows will bring in enthusiastic bees and butterflies.

Fresh asparagus in a basket

Getty Images/dulezidar

Plus, they both attract pollinators to keep your garden thriving.

Planting marigolds alongside the cornflower blue bachelor buttons creates a feast for pollinators' eyes.

Luckily, marigolds repel many of those, including aphids, nematodes, and beetles.

Freshly harvested carrots

Getty Images/Dimitrie Ragar / 500px

These two closely related flowers make a striking combination when planted together.

Yes, marigolds should be planted deeper than the depth at which you buy them from the nursery.

Go ahead and bury some of the stem.

Delicata squash plant

Photo by Cathy Scola / Getty Images

Because marigolds have deep roots and require full sun, they’re usually planted in a pot by themselves.

However, you could plant them with flowers that have shallow roots and won’t mind full sun.

Red Bell Pepper Plant

Vasin Hirunwiwatwong / Getty Images

Onion bulbs in garden

rootstocks / Getty Images

Bunch of radishes

Howard Grill / Getty Images

Strawberries in garden

Getty Images/Westend61

Closeup of a lettuce garden

The Spruce / Kara Riley

Potatoes in ground

mrs / Getty Images

Chives

ChivesAna Luiza Serpa / Getty Images

Lavender plants in a garden

Katya Slavashevich / Getty Images

Coriander plant

Tevarak / Getty Images

Sage in garden

Bonnie McCann / Getty Images

oregano

gabrielabertolini / Getty Images

Thyme growing

Yulia Naumenko / Getty Images

Growing organic fresh dill in a pot on a deck in the city.

Nicholas Kostin / Getty Images

Senecio cineraria (Dusty Miller)

Dusty Miller plants don’t need flowers, to be ornamental.

salvia flowers

The Spruce / Krystal Slagle

Gerbera daisies in various colors

Tammi Mild / Getty Images

Floral background and natural pattern with violet aromatic aster (symphyotrichum oblongifolium) flowers blooming in the park. Cluster of purple aster flowers.Autumn beauty in the garden

Salomatin / Getty Images

Multicolored cornflowers in a field

David Burton / Getty Images

Rose bush

Maryia Kulinskaya / Getty Images

Close up of a vibrant pink zinnia flower

The Spruce / Letícia Almeida