The Spruce / Randi Rhoades

Planting rosemary brings many perks to your garden.

Rosemary has a strong scent that acts as a natural pest repellent for its companioning plants.

This herb also enhances the flavor of others planted nearby thanks to its release of aromatic compounds.

closeup of rosemary

The Spruce / Randi Rhoades

The benefits of companion planting are purely based on longtime gardeners' observations.

Both herbs love to bask in warm environments with full sun exposure and well-draining soil.

With the well-drained soil, rosemary and lavender companion gardens only need to be watered about once a week.

Up Close view of lavender in bloom

The Spruce / Adrienne Legault

In return, you get a pollinated garden full of this gorgeous bright color.

Rosemary repels insects from feasting on your plants while thyme acts as a cabbage worm deterrent.

Thyme also has Mediterranean roots, which means soil and environment needs are the same as rosemary.

Lobularia maritima Sweet Alyssum

Wirestock/ iStock/ Getty Images Plus

Another perk to planting oregano is that it’s low-growing and will protect your topsoil from erosion.

Their strong scent repels certain bugs like flies and mosquitoseven waspson top of the repellent qualities of rosemary.

Cabbage

The Spruce / K. Dave

Interested in starting an edible garden?

Sage in garden

Getty Images /Bonnie McCann

Some of the best rosemary companion plants are vegetables in the cruciferous category, like cabbage.

Bean plants arenitrogen-fixing plants, which improve the soil to provide healthier growth for your rosemary plants.

The trend continues for carrots.

Thyme herb plant closeup of leaves

The Spruce / Almar Creative

Though carrots enjoy well-drained soil too, these plants need more water.

Plant rosemary at the base of your pepper plants to repel insects and keep moisture retained in the soil.

Strawberries

Getty Images / Helaine Weide

Is there anything better than growing your own strawberries?

oregano

The Spruce / Kara Riley

These two plants require the same well-drained, slightly moist soil, which makes maintaining your garden a breeze.

Raspberries

Getty Images / GomezDavid

Similar to blueberries, raspberries love a sunny spot with well-drained soil.

Garlic

These scrumptious aromatics make wonderful companion plants with rosemary.

Close-up of marjoram plant leaves

Getty Images / scisettialfio

As if garlic bulbs weren’t flavorful enough, planting them next to rosemary amplifies the flavor even more.

Rosemary is more drought-tolerant than cauliflower, so these two need to be separated to a degree.

Worst Companion Plants for Rosemary

Here are 5 plants not to use as companions for rosemary.

Borage flowers close up (Borago officinalis)

Getty Images / naturaltexture

Chives planted in ground near white fence closeup

The Spruce / Randi Rhoades

Marigold in garden

Getty Images /Ravinder Kumar

Vibrant orange zinnia flowers blooming in a garden bed.

The Spruce / Lacey Johnson

Close up of a mature Chinese Cabbage ready to harvest

The Spruce / K. Dave

Bean plant

Getty Images /brytta

Carrots in the ground

Getty Images /Dimitrie Ragar

Red Bell Pepper Plant

Getty Images / Vasin Hirunwiwatwong

Strawberry plant

Getty Images / Helaine Weide

Blueberries are acid-loving plants

Getty Images / YelenaYemchuk

three raspberries

Getty Images / GomezDavid

Close up of red and green apples on branch of an apple tree.

Getty Images / Mint Images

Fresh red cherry berries in a tree with green leaves. Selective focus of a cherry tree.

Getty Images / Cristi Croitoru

Brussels sprouts on stalks

Flickr / Nick Saltmarsh

Onion bulbs in garden

Getty Images /rootstocks

Parsnips With Greens Attached

Getty Images / duckycards

garlic harvest

The Spruce / K. Dave

Broccoli in garden

Getty Images /Barbara Rich

Cauliflower plant with white curd head surrounded by thick veined leaves

The Spruce / K. Dave