Companion planting is a great way to keep pests, includingcabbage worms, away from plants.

What Is a Companion Plant?

A companion plant is compatible with and beneficial to another plant.

Head of cabbage opening up.

Olena Ruban/Getty Images

Carrots are compatible with cabbage because, like the latter, it is a cool-season vegetable.

Cabbage and carrots share sunlight, water, and soil preferences.

Moreover, carrots and cabbage are attacked by different pests.

Close up of a mature Chinese Cabbage ready to harvest

The Spruce / K. Dave

Herbs can also positively impact soil fertility for cabbage.

Try planting chamomile, coriander, dill, mint, thyme, sage, and oregano.

The two plants should have the same growing or soil nutrient requirements and not crowd each other out.

Heads of cabbage clustered together

The Spruce / K. Dave

The two plants are not attacked by the same pests, which would invite an infestation.

A beneficial insect for cabbage attacks other insects that will harm your crop.

When planting cabbage, sow seeds 1/4-inch deep, spaced 24-36 inches apart.

Fernleaf Yarrow in garden

LianeM / Getty Images

you might also plant them 12-14 inches apart in rows spaced 36-44 inches apart.

North Carolina State Extension.

North Carolina State Extension.

how-to-store-cabbage-GettyImages-182060358

Visual Field/Getty Images

Parasitoid Wasps.University of Minnesota Extension.

Burks M.Growing guide: cabbage.SeedSavers.