Updated November 2026

A companion planting guide for vegetables and herbs gives you a simple way to decide what grows next to what. By the end of this article, you will know how to pick compatible neighbors, space them correctly, and avoid the pairings that compete for water, nutrients or light. The method works in raised beds, in-ground rows and containers.

Choose Your Pairings First

Start with the crops you already plan to grow, then match each one with a partner that fills a different role. Tall plants, such as tomatoes or pole beans, provide shade for cool-season greens. Shallow-rooted herbs, such as basil and parsley, can sit at the edges of a bed without crowding deeper roots.

Shopping for one? See our guide: 3 Best Companion Planting Books for Vegetable Gardeners (2026).

Some pairings have a well-documented track record. Basil planted near tomatoes is widely grown together, and many gardeners report that the herb’s strong scent is a welcome deterrent for some pests. Carrots and onions are often planted in the same bed because their root zones and pest profiles differ. For a fuller list of combinations, see the Companion Planting Chart for Herbs and Vegetables: Pairings and Spacing.

Space Plants for Airflow and Root Room

Crowding is the most common reason companion plantings fail. Good neighbors still need room. Follow the spacing on the seed packet or plant tag first, then adjust for the companion effect. A few general measurements:

  • Tomatoes: 18 to 24 inches apart, with basil tucked 12 inches away on the sunny side.
  • Lettuce and spinach: 6 inches apart, which allows them to share the shade of taller crops.
  • Oregano and thyme: 12 inches apart, since both spread and form dense mats.
  • Bush beans: 4 to 6 inches apart in a bed, with carrots interplanted 2 inches apart in the gaps.

If leaves touch by midsummer, the spacing is too tight for good airflow. That makes fungal disease more likely, so thin early rather than late.

Plan Your Bed Layout Around Sun and Water

Map your bed before you plant. Place tall crops on the north side so they do not shade shorter companions, and group plants with similar watering needs together. Thirsty crops like cucumbers should not share a bed with Mediterranean herbs that prefer drier soil. Rosemary and sage, for example, do better with less frequent watering.

  1. Sketch the bed on graph paper at one square per foot.
  2. Mark the tallest crops on the north edge.
  3. Group crops by water needs.
  4. Place herbs with strong scents near the crops they are meant to protect.
  5. Leave a walkway of at least 18 inches for harvesting and weeding.

A soil thermometer helps you time transplanting, since many companion pairings depend on planting when the soil has warmed enough for the crops involved. View on Amazon

A garden journal or planting planner lets you record which pairings worked in each bed and which did not. View on Amazon

Common Mistakes and Tips

  • Planting mint directly in the bed. Its roots spread aggressively, so grow it in a pot sunk into the soil.
  • Assuming every herb helps every vegetable. Fennel, for instance, is often kept apart from most crops.
  • Skipping crop rotation. Companions do not replace rotating families from one season to the next.
  • Overcrowding to save space. Dense planting usually reduces yield per plant.
  • Expecting instant pest control. Companion effects are supportive, not a substitute for monitoring and hand-picking.

For a per-crop breakdown, the Vegetable Companion Planting Guide: Pairings, Spacing and Pitfalls (2026) covers many common vegetables in more depth.

FAQ

Do companion plants really reduce pests?

Some do, but the evidence varies by crop and region. Companions are best treated as one tool alongside row covers, hand-picking and healthy soil.

Can I use this approach in containers?

Yes. Pair a tomato with basil in a 15 to 20 gallon container, and make sure both get enough water and sun.

How far apart should I plant companions?

Follow each crop’s standard spacing first. Companion benefits come from proximity within the bed, not from crowding.

Conclusion

A good companion planting guide for vegetables and herbs starts with matching complementary crops, then respects spacing, sun and water needs. Plan your layout on paper, leave room for airflow, and keep notes so you learn what works in your own garden. Small adjustments each season will give you a more productive bed over time.

Ethan Brooks

About Ethan Brooks

Ethan Brooks is part of our editorial team and reviews and edits our vegetable & edible gardening guides, checking product details against manufacturer specifications and owner feedback.