9 Best Companion Plants for Tomatoes (And 4 Plants You Should Never Grow Nearby)

There’s something special about walking into the backyard on a warm summer evening and picking a perfectly ripe tomato straight from the vine. Homegrown tomatoes simply taste different — sweeter, juicier, and full of flavor.

But tomatoes can also be a little demanding.

They attract pests, develop fungal diseases easily, and sometimes struggle during hot or humid weather. That’s why many experienced gardeners use companion planting to help tomatoes grow healthier naturally.

Companion planting means growing certain vegetables, herbs, or flowers together because they benefit each other in some way. Some plants help repel pests, some improve soil quality, and others attract beneficial insects that keep your garden balanced.

The good news is that tomatoes pair extremely well with several common garden plants.

Here are 9 plants that grow beautifully with tomatoes — and 4 plants you should always keep away from them.


Why Companion Planting Helps Tomatoes

Tomatoes are heavy feeders and can be vulnerable to many common garden problems.

The right companion plants can help:

  • Repel aphids, hornworms, whiteflies, and spider mites
  • Improve airflow around plants
  • Reduce fungal disease pressure
  • Attract pollinators and beneficial insects
  • Improve soil health naturally
  • Make better use of limited garden space

For organic gardeners, companion planting is one of the simplest ways to reduce chemical sprays while creating a healthier garden ecosystem.


Healthy tomato plants growing beside basil and marigolds in an organic backyard garden

1. Basil

Basil is probably the most famous tomato companion plant, and many gardeners swear by this combination.

The strong scent of basil may help confuse pests that commonly attack tomatoes, including aphids and tomato hornworms. Since basil enjoys similar sunlight and watering conditions, the two plants grow very comfortably together.

And honestly, tomatoes and basil belong together in the kitchen anyway.

Fresh tomato salad with basil picked right from the garden is hard to beat during summer.

Why Basil Works Well With Tomatoes

  • Helps repel common pests
  • Doesn’t compete heavily for nutrients
  • Fits perfectly in raised beds or containers
  • Easy for beginners to grow

Fresh basil planted beside tomato plants in a raised garden bed

A Few Things That Helped My Basil and Tomatoes Grow Better:


2. Chives

Chives are often overlooked in vegetable gardens, but they make excellent companions for tomatoes.

Their onion-like scent helps discourage aphids and other soft-bodied insects. Chives also stay compact, which makes them ideal for smaller gardens where space matters.

When they flower, they attract pollinators too.


onions planted around tomato plants in a home vegetable garden

My Favorite Supplies for Small Herb Gardens:


3. Dwarf Beans

Bush beans or dwarf beans can naturally improve soil nitrogen levels over time, which benefits nearby tomato plants.

Because they stay relatively low to the ground, they usually don’t shade tomatoes or compete aggressively for sunlight.

This combination works especially well in raised garden beds.


Bush beans growing beside tomato plants in a raised bed garden

Garden Supplies That Made Companion Planting Easier:

  • Bush bean seed packs
  • Organic compost fertilizer
  • Raised bed gardening kits

More Helpful Articles for Tomato Gardeners:


4. Peanuts

Peanuts may sound unusual as tomato companions, but they actually work surprisingly well together in warm climates.

As legumes, peanuts help support soil fertility while also acting as a living ground cover that reduces weeds and helps retain soil moisture.

For gardeners trying to maximize every inch of space, this pairing can be very useful.


Peanut plants used as ground cover beneath tomato plants

Garden Supplies That Made Summer Watering Easier:


5. Marigolds

Marigolds are one of the best flowers you can grow near tomatoes.

Not only do they brighten up the garden, but their roots may help suppress harmful soil nematodes. Their strong scent can also help discourage certain insect pests.

Many organic gardeners plant marigolds around the borders of tomato beds every year for natural pest protection.


 Bright marigold flowers planted around tomato plants for natural pest control

A Few Helpful Things for Growing Marigolds:


6. Onions, Scallions, and Other Alliums

Plants from the allium family release strong natural compounds that many garden pests dislike.

Onions, scallions, shallots, and leeks can help deter aphids and spider mites while taking up very little room in the garden.

Since they grow upright, they pair nicely beside tomato plants without crowding them.


Green onions growing beside tomato plants in a backyard garden

A Few Gardening Supplies That Made Onion Growing Easier:

  • Onion starter bulbs
  • Gardening hand tools
  • Organic onion fertilizer

7. Parsley

Parsley attracts beneficial insects like hoverflies and parasitic wasps, which help control harmful pests naturally.

It also grows low to the ground, making it a good filler plant around taller tomato vines.

Many gardeners like using parsley around tomatoes because it adds beauty and function at the same time.


Fresh parsley planted beneath tomato plants in an organic garden

Helpful Supplies for Growing Parsley:


For Gardening Guides Worth Reading:


8. Asparagus

Tomatoes and asparagus have a surprisingly helpful relationship.

Tomatoes may help repel asparagus beetles, while asparagus can discourage certain nematodes that affect tomatoes.

This combination works best in established perennial gardens where asparagus already has a permanent place.


Asparagus growing near tomato plants in a backyard vegetable garden

Helpful Supplies for Growing Asparagus:


9. Garlic

Garlic is another excellent natural pest deterrent for tomato gardens.

Its strong smell may help repel aphids, spider mites, and some fungal problems. Garlic is especially useful for gardeners trying to grow tomatoes organically without relying heavily on sprays.

It’s also incredibly practical in the kitchen, which makes it an easy addition to almost any garden.


Garlic planted beside tomato plants for natural pest protection

Garden Products That Made a Difference


4 Plants You Should Never Grow Near Tomatoes

Just as some plants help tomatoes thrive, others can create serious problems.


1. Other Nightshade Plants

This includes:

  • Peppers
  • Eggplants
  • Potatoes
  • Chili peppers

These plants belong to the same family as tomatoes and share many of the same pests and diseases, including blight.

When planted too closely together, problems can spread much faster throughout the garden.


 Pepper plants growing too close to tomato plants in a vegetable garden

2. Cucumbers

Although tomatoes and cucumbers are popular summer crops, they’re not always the best neighbors.

Both plants are prone to fungal diseases, especially during humid weather. They also compete for nutrients and airflow if planted too closely.


Cucumber vines growing beside tomato plants in a crowded garden bed

3. Brassicas (Cabbage Family)

Plants like broccoli, cabbage, kale, cauliflower, and Brussels sprouts are heavy feeders that can compete with tomatoes for nutrients.

This competition may slow tomato growth and reduce harvest size.


Cabbage and tomato plants competing for space in a garden

4. Corn

Corn attracts pests like corn earworms, which can also attack tomato plants.

It also grows tall enough to block sunlight and compete heavily for water and nutrients.


Tall corn plants shading nearby tomato plants

Final Thoughts

Companion planting is one of those old gardening methods that still makes a lot of sense today.

Sometimes the simplest changes — like planting basil beside tomatoes or adding marigolds around the garden — can noticeably reduce pest problems and improve plant health.

And beyond the practical benefits, companion planting simply makes a vegetable garden feel more alive and balanced.

A tomato garden filled with herbs, flowers, and helpful companion plants not only grows better, but also looks far more inviting during the growing season.

If you’re planning your garden this year, choosing the right neighbors for your tomatoes can make a bigger difference than most people expect.


Affiliate Disclosure

This post may contain affiliate links. As an Amazon Associate, I earn from qualifying purchases at no extra cost to you.