Grow these rosemary companion plants together in your garden to control pests like carrot flies and bean beetles.

Edward Gohlich

Rosemary grows well in relatively dry, sandy soil and bright sun.

Lavender

Growinglavenderand rosemary together makes sense.

rosemary plant

Credit:Edward Gohlich

These plants both come from the Mediterranean region, have similar care requirements, and dont need much water.

Plus, if youplant these two herbs together, theyll perfume your garden beds with a lovely fragrance.

Pollinators and other beneficial insects are sure to visit, too.

‘Betty’s Blue’ English Lavender

Credit: Laurie Black

However, growingstrongly scented rosemaryplants near brassicas naturally repels manycommon garden pests, including cabbage moths.

Carrots

Carrot flies are majorcarrotpests, and theyre particularly attracted to the scent of carrot leaves.

Extensive damage weakens beans and makes them significantly less productive.

purple cabbage plant

Credit:Kindra Clineff

Bean beetles can also transmit plant viruses that cause problems.

Alyssum also flourishes beside rosemary in an herb garden.

Pairing these powerhouse plants makes gardens even more pest-resistant.

closeup of tricolor sage plant

Credit: Greg Scheidemann

While rosemarys fragrance deters many pest insects, alyssums flowersattract beneficial bugsthat feed on nuisance pests.

Plus, both of these plants grow well in pots.

just-pulled carrots in dirt

Credit: Marty Baldwin

detail of oregano plant

Credit: Peter Krumhardt

string beans growing in garden

Credit:Dana Gallagher

english-thyme-thymus-vulgaris-aa5933431

Credit: Peter Krumhardt

Sweet alyssum Lobularia ‘Blushing Princess’

Credit: Justin Hancock

harvested andover parsnips on soil

Credit:Marty Baldwin

strawberry plant

Credit:Denny Schrock