Farmers Almanac
The Farmers Almanac
Order your copy today!

Companion Planting Guide: 10 Veggies That Should Grow Together

Companion Planting Guide: 10 Veggies That Should Grow Together

Companion planting is a great way to maximize the efficiency of your garden. For almost every vegetable you grow, there is likely to be a beneficial companion plant that will help increase soil nutrients, chase away pests, or provide some other benefit. To get the most out of your hard work, we’ve provided the 10 most popular vegetables grown in the United States and their friends (and enemies) in the garden.

Companion Planting For These Top 10 Veggies:

1. Tomatoes

Basil and tomatoes were made to go together, not only in sauces but in the garden, too. This herb helps tomatoes produce greater yields and it repels both flies and mosquitoes. Marigolds are another good companion, repelling nematodes and other garden pests. Other friends to tomatoes include asparagus, carrots, celery, the onion family, lettuce, parsley, and spinach.
Keep tomatoes away from: Cabbage, beets, peas, fennel, dill, and rosemary. Corn and tomatoes both suffer from the corn earworm, and tomatoes and potatoes are affected by the same blight, so keep these plants separate to prevent the spread of pests or disease.

2. Peppers

Basil is a good friend to peppers, helping repel aphids, spider mites, mosquitoes, and flies. It’s also thought that basil improves the pepper’s flavor. Other good companions include onions, spinach, and tomatoes.
Keep peppers away from: Beans so the vines don’t spread among the pepper plants.

3. Green Beans

Corn and beans grow well together because beans will grow up the cornstalks, which means you won’t have to build them a trellis. Beans also fix nitrogen in the soil, which is good for the corn. Marigolds, nasturtiums, rosemary, and summer savory repel bean beetles, and summer savory improves growth rate and flavor. Other companions include broccoli, Brussels sprouts, and other members of the cabbage family along with cucumbers, peas, potatoes, and radishes.
Keep green beans away from: Beets or anything from the onion family. Onions, in particular, impede the growth of bean plants.

4. Cucumbers

To repel aphids and beetles, plant marigolds and nasturtiums among your cucumbers. Beans, celery, corn, lettuce, dill, peas, and radishes are also good companion plants.
Keep cucumbers away from: Aromatic herbs such as sage which will stunt the growth of cucumbers.

5. Onions

Carrots should be planted near onions because onions will repel the carrot fly. Onions will also chase away the aphids, so plant them near aphid-prone (but onion-friendly) veggies. Other good friends of onions include beets, cabbage, carrots, lettuce, parsnips (which also suffer from carrot fly), tomatoes, and spices like marjoram, savory, and rosemary.
Keep onions away from: Asparagus, beans, and peas.

Carrots should be planted near onions because onions will repel the carrot fly

6. Lettuce

Plant mint among your lettuce to keep away the slugs that feed on lettuce leaves, or plant chives and garlic to repel aphids. Beans, beets, broccoli, carrots, corn, peas, radishes, and marigolds also work as good companion plants. Marigolds attract aphid-eating ladybugs.
Keep lettuce away from: Parsley, because it tends to grow into a small yet bushy plant and can crowd your lettuce.

7. Zucchini/Summer Squash

Corn and squash make good garden friends since the cornstalks give squash vines a place to grow. Squash also does well planted alongside beans, peas, radishes, dill, and marigolds.
Keep summer squash away from: Potatoes, as both plants are prone to blight.

8. Carrots

Carrots are heat sensitive, which is why they go well with tomato plants that can provide them a bit of shade. Tomatoes are also known to produce solanine, which is a natural insecticide that targets pests affecting carrot plants. Tomatoes benefit from carrots, too. Carrots aerate the soil around the roots of the tomato plants, allowing more air and water to reach the roots. Leeks and carrots are also good companions since leeks repel carrot flies and carrots repel leek moths and onion flies. Rosemary, sage, and chive also help repel carrot flies.
Keep carrots away from: Coriander and dill, as they both produce compounds that can harm carrot plants, and parsnips suffer from the same diseases and pests as carrots, so keep them apart to minimize a potential infestation.

9. Radishes

Radishes can be planted among cucumbers to attract cucumber beetles away from the cukes. They also do well among carrots because they are harvested before the carrots and they loosen the soil as the carrots start to take off. Onions, beets, cabbage, kale, lettuce, spinach, and squash are also good friends for radishes.
Keep radish away from: Hyssop.

 10. Sweet Corn

Corn loves veggies that fix nitrogen in the soil—like green beans. Cornstalks also make a great trellis for vining or trailing plants including beans, cucumbers, peas, pumpkins, and melons. Zucchini also does well planted among corn.
Keep corn away from: Tomatoes, as they and corn are attacked by corn earworms. Plant these two far apart to minimize the spread of these pests.

Follow these companion planting guidelines to boost yields, minimize pest or disease problems and make garden management easier.

companion planting guide

Be sure to check our Planting Guides for the top 10 veggies here and don’t forget to check our Gardening by the Moon Calendar to see the best times to plant.

Shop for Related Products on Amazon

Disclosure: We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

Previous / Next Posts

  • Rienie Denner says:

    Good day, can you please post links to prove the statement that marigolds are good companion plants for Zucchini/Summer Squash. I am familiar with the data that marigolds can assist in the control of root-knot nematodes and I could find literature on the positive effects of marigolds on the growth of tomatoes. However, I fail to find scientific reports on the positive effects of marigolds on the Squash. Can you please help me by posting links proving that? Thank you for your help. Much appreciated.

    • Susan Higgins says:

      Hi Reinie, In some cases, marigolds are a decoy plant which attract pests to. So they’ll stay off your plants. In the case of zucchini, the marigolds emit a scent that bugs detest, keeping them away from your zucchini. Here is a helpful link here.

  • P says:

    Can I plant Zucchini in the same bed as tomato but distant away from them

    • Susan Higgins says:

      Hi P, Yes, you can plant them together. Tomato roots go about 3 feet deep into the soil and also produce lots of feeder roots near the top of the soil. Zucchini has a tap root that needs room to grow. Your bed should have enough space for both and good drainage (they hate wet roots). A box that’s 36 inches deep and wide would work.

  • MaryLou Sharp says:

    Is swiss chard a friend or foe to anything? I am planting a small raised bed and have peas, radish,cukes, summer squash, yellow beans,tomato chard, and marigolds all around.

  • Grandma B says:

    What is a good companion plant for dill ? I have never had good luck with it, any advise ?

    • Susan Higgins says:

      Hi Grandma B, You could use a companion planting technique if you want to help other plants, but if your dill plants are yellowing for example, it could be a lack of light, which can cause some dulling in leaves. Excess fertilizer can also cause dill to turn yellow. Dill prefers well-drained soil that is not too fertile and slightly acidic. Try testing your soil and growing it in pots.

  • Sharon Patnode says:

    I love this article….it has helped me a lot!

  • Tina Johnson says:

    Your site is very informative

  • Arlene says:

    Can you plant cucumbers and peas near each other?

  • Michelle gee says:

    Can I plant cucumber in the same bed as tomato but distant away from them

  • Mimi says:

    What’s good next to eggplant?

    • Wendy says:

      eggplant is in the same family as tomatoes and peppers, nightshade. You may be able to plant similar items with eggplant that you would other nightshades.

  • joann says:

    Where can and what can I combine with dill. Also what goes with sage?….thanks in sdvance

    • Susan Higgins says:

      Hi Joann, herbs like the same environment so they can be planted together. Sage, thyme, rosemary, marjoram, lavender, and oregano, can all be planted together. You don’t need to companion plant herbs, unless you’re wondering which veggies dill and sage can help along? You should avoid planting mint with other herbs due to its invasive properties

    • Dee says:

      Carrots grow well with sage plus chives and onions

  • Jeana says:

    What about okra? What are good companions vs bad for them? Thanks!

    • Ervin says:

      Put the seeds in refrigerator for a few days they will come up much better

    • Jeana says:

      This does not answer my question unfortunately. My plants are in the ground already.

    • Taj says:

      Your question wasn’t answered properly I see. The best companion plants for okra would be melons, eggplants, and sweet peppers. I think there may be something else, but these are what I can think of right now. I hope I didn’t answer you too late! Good luck with your plant babies!

  • Sharon Patnode says:

    Fantastic all the way around!

  • Sharon Patnode says:

    Fantastic all the way around!!

  • Jack says:

    How far away from onions or beets must I plant bush beans?

    • Susan Higgins says:

      Hi Jack, we recommend far enough away that their roots are not sharing any soil.

  • Denise says:

    Thank you for this great resource! I love to plant a variety of pumpkins and gourds. I always plant them on the opposite end of the garden from tomatoes. Are there companion plants or enemies I can be aware of?

  • shelbee says:

    thank you so much for this website my mom loved it and we planted so much i hope you put more things up

  • Misty says:

    Is it recommended to companion plant when planting in containers?

    • Susan Higgins says:

      Hi Misty, you certainly can! Because it most cases, certain plants repel pests, and it doesn’t matter if they’re in the soil or in pots next to each other.

    • Jasper says:

      As long as the container is big enough. I’ve found that if a tomato has a thyme or marjoram companion, or a few chives, they taste better and keep longer off the vine.
      Basil is too hungry a hog to share a container tho imo.

  • Molly says:

    I planted marigolds and nasturtiums with my squash plants last year and never saw one squash bug. Thats the first time ever I didn’t have to deal with squash bugs!

  • Masters says:

    Thank you so much for this information. I have been planting wrong vegetable plants combination.

  • Susan says:

    I have limited space for my raised bed and want to grow pickling cucumbers. Can I train them up a trellis?

    • Mandy says:

      Yes! I planted Wisconsin summer pickling cucumbers up a slanted trellis last summer and it worked wonderfully.

  • Sydney says:

    Can u grow any kind of peppers together?

    • dorothee carr says:

      In my experience, peppers grow well rogether, except chillies.If they are too nearby, I found that some of the peppers turned out hot.But that was in Spain.Lots of sunlight has an impact on that as well.

  • Hrmsy says:

    Thanks for your comments. We sold our house and traveled the country last summer…I miss my garden you are helping me with the withdrawal…appreciate life in the soil!!!
    My son will benefit with your expertise thanks

    • Irene Poletti says:

      Hi I now live in the mountains at 4900 feet, our growing season is short. I used to live in Vacaville, Ca. The best place to grow anything. I Miss my lovely garden.

  • Kate Panthera says:

    Corn, beans and squash grow well together. Native Americans call these plants The Three Sisters, because each one of them contribute to the health and growth of the others. Here’s a link to an article.


  • Richard Slagter says:

    Due to COVID-19 we are putting in a garden I have 105 tomato plants about 1 inch tall inside making daily 4 to 6 hour visits outside. My tilled garden is 48 feet x 80 feet. The ph is 6.0 I have raised rows about 10 inches high 48 long. I’ll have 5 feet between rows for my 4 foot tiller behind my tractor to till for fresh tilled soil to be pulled up on the long mounds With a 4 foot landscaping rake keeping a watering V in the top. I have 100 3/4/ inch bamboo poles 6 foot. Best companion plants can I use in the water V in the 3 feet between tomato plants. Never tried 100 at a time before. Right now I have 9 raised rows I figer 6 for the tomato’s. Beans and greens and peppers will be in the last 3 rows.

  • theresa says:

    Mid Mo.
    I live in mid mo. I just bought several plants from a local grower! My question is the leaves on tomatoe plant and spinach plant are looking dropy, I have them inside the house till the weather warms up to transplant. What do I need to do to salavage these! I have already a garden area in back yard

    • Lu says:

      You can transplant them into a larger container. From a nursery they might be root bound. Water tomatoes from the root. They don’t like wet leaves

    • Mandy says:

      Spinach does well in the cold, go ahead and plant outside as long as they’re hardened off. Water tomato and you can plant them early June or late may in your area and cover at night to protect from frost. I do that with milk jugs and the bottom cut off. It’s not the prettiest yet it works! This chart is handy and is also in amazon.

  • Jo Ann says:

    Is it ok to plant cabbage next to green peppers, spinach, beets or green (bush) beans?

  • Kris says:

    Is potatoes ok next to asparagus?

    • Susan Higgins says:

      Hi Kris, Avoid planting potatoes near asparagus, Brassicas, carrots, cucumber, kohlrabi, melons, parsnips, rutabaga, squash, sunflower, and turnips. Plant asparagus with asters, basil, cilantro, dill, cilantro, marigolds, nasturtiums, oregano, parsley, peppers, sage, and thyme.

    • Lori says:

      I have raised beds that butt up to each other. They are divided by a 2″ x10″x4′ board. Is that far enough?

  • Julie oliver says:

    Can I grow carrots from carrots ..or do I need seeds???

  • Debbie says:

    How to get rid of ants naturally that have built inside my pots outside

    • Sarah says:

      Ants don’t like cinnamon…I sprinkle it everywhere.
      Only is issue it can wash away. I’ve had decent luck with it.

  • Wanda says:

    Hello I have mustard and collard greens growing in separate containers What can I add in those containers to helps keep pest at bay😇🙏

  • Luke says:

    Thank You! I loved it and it was very helpful!


    I want to try growing brussel sprouts for the first time. What companion plant (veggie) goes well & which does not

    • Joan says:

      Green Beans are great with Brussel sprouts as well as cucumbers, peas, potatoes, and radishes. Do not plant them with beets, or onion family members as they will impede growth.

    • JANINE says:

      Thank you so much for the info. Be safe!!

  • Michelle Jolly says:

    Thank you so much. I am a first time planter during this covid 19 crisis and found this information very helpful.

  • Lenetta Lewis says:

    Thank you so much interesting to learn about gardens… Lenetta from Indiana

  • Eddie Clark says:



    Thanks for the info I just planted my garden sunday I think I was plant (vegetable) friendly.
    I planted something new this year ASPARAGUS BEANS.
    Be save and keep your hands clean and away from your face

  • Katie Boekhoff says:

    Could cucumber and zucchini be planted in the same 4x8ft raised bed?

    • Susan Higgins says:

      Hi Katie, yes! Cucumbers and zucchinis are from the same family — Cucurbitaceae, or the squash family so these cousins can be planted together. Just make sure you are giving them optimal growing conditions. Cucumbers thrive in well-drained soil, plus they need full sun and plenty of room to grow. Once threat of frost has passed, cucumber seeds can go into the ground in early spring. Zucchinis also like full sun, but wait until the soil is at least 75F, otherwise, the seeds may not spout. Planting dates will vary depending on what U.S. Department of Agriculture hardiness zone your garden is in.


      They both need alot of room

  • Maureen says:

    Hi I planted kale in a pot over winter. It did ok, but it’s gone now. What plant would grow well in that soil?

  • grace adkins says:

    I’m helping my church school teacher with their garden this year and I need a little advice. they each have their own little plot not much more than 2ft by 3ft I was wondering if after planting the seedlings putting down a lot of straw to keep the weeds away could be the best thing

    • Janel Mortensen says:

      Straw can go a heck of a garden of straw, which is worst than some other weeds.

  • Fiina says:

    I want to plant spinach, wat is good to plant around it and what should I avoid

    • Susan Higgins says:

      Hi Filna, spinach is pretty easy-going, although some gardeners recommend not planting near cabbage, mustard, or potatoes. Happy gardening!

  • Moises says:

    I love these hints thank you very much. have a nice day.

  • John-Paul Martin says:

    This is in reaponae to: 7Katherine Garrett { 02.09.19 at 11:22 pm }
    I want to grow rubarb. What is good to grow near it?

    Rhubarb is easy to grow under the right conditions. To begin, Rhubarb is a heavy feeder so preparing the bed is important. It is also a space hog. The plant will grow up and outward about 3 ft in every direction. If you plant anything closer to the crown it will attempt to grow over the top of the plants to shade them out and prevent them from getting sunlight and water. Underneath the plant, is a very dry area. The water from rain etc. travels down the leaves towards the center. It is marvel of natural development! The curved stem acts like a gutter from the leaf to the central core and roots. The plants are one of the first to sprout in Spring. Rhubarb is a heavy feeder and requires at least two feedings. The first is in Fall after the frost has killed the leaves and the plant goes into its rest period. Remove any dead plant material and hoe around the root crown. Purchase or obtain a bag of cow manure or well composted manure. Put the manure all around the crowns keeping the manure away from the actual crowns. If you are planting new plants, turn over the soil and put in two bags of manure. Then plant the roots keeping the crowns above the soil line. The second feeding is after the first time you harvest and every time thereafter. Usually the first year, you do not pick a major harvest. Pick some, but leave a lot to develop the roots. After Fall the feed the plants with come up fast and you”ll get a large harvest. Then leave the plants smaller stalks to develop and take in the harvest feeding as I described earlier. Every 4-5 years it is a good idea to dig up the plant crowns and separate the crowns. Next, dig up the whole bed and put in new manure and turn it over the bed and replant the newer or healthy roots. It will take another year to get a good crop, but it will give you the opportunity to use up all the frozen rhubarb in your freezer. If you can’t throw out extra separated roots (like me) just plant them in pots, give them away because that is what we gardeners do!

  • Elaine Trace says:

    I would like to plant cauliflower in my pumkin patch…thought the huge pumkin leaves would help protect the cauliflower from hot sun. Would that be alright ?

  • Lance says:

    Thanks for the tips

  • Margie says:

    Mint among the lettuce is no problem for me. As I plant it in my flower boxes to keep the rabbits out. But I have had invade the front yard before. Nice to walk through, but a terror to get rid of. Tried planting in the ditch, but it grew the wrong way and took over the yard.

  • Julia C says:

    Holy cow. A number of issues that make the content questionable such as incompatible heat/light requirements, but plant MINT? In between lettuce? In your GARDEN? Yeah, maybe a few less bugs but mint is forever. Super bad advice among others points to a distinct lack of experience.

    • Susan Higgins says:

      Hi Julia, Mint makes a great companion plant for sixteen different vegetables, and it’s companion planting advice you’ll see in nearly every garden source. We know mint is a prolific plant and it spreads—you can always sink buckets of it near your lettuce or other veggies if you’re concerned. But some may feel that if it keeps the aphids and other pests out of the veggie garden, it’s a small price to pay.

    • Patricia says:

      Totally agree with you. I have raised pots of mint all over my vegetable garden. It is nice to grow the mint in individual tall pots that want allow the mint to invade the other vegetable areas but can be moved where I need to control an insect problem. Mint is wonderful if you contain it in pots.

  • Gregg V Rasor says:

    If I use Marigolds in my garden how should I use them? Do I plant one every other seed or just randomly?

  • Katherine Garrett says:

    I want to grow rubarb. What is good to grow near it?

  • Greg says:

    What can be planted around eggplants ?

  • Kelly says:

    What are good plants for potatoes

    • Susan Higgins says:

      Hi Kelly, good companion plants for potatoes are beans, corn, cabbage, horseradish, marigold, and eggplant.

  • If you notice a hole in the upper left-hand corner of your Farmers' Almanac, don't return it to the store! That hole isn't a defect; it's a part of history. Starting with the first edition of the Farmers' Almanac in 1818, readers used to nail holes into the corners to hang it up in their homes, barns, and outhouses (to provide both reading material and toilet paper). In 1919, the Almanac's publishers began pre-drilling holes in the corners to make it even easier for readers to keep all of that invaluable information (and paper) handy.

    Reading Farmers' Almanac on Tablet with Doggie

    Don't Miss A Thing!

    Subscribe to Our Newsletter and Get a FREE Download!