Skip to main content

The best (and worst) cucumber companion plants

Add these plants to your garden to make your cucumbers happy

A cucumber plant in the sun
Alexei_other / Pixabay

Companion planting is the technique of pairing plants based on their similar needs and preferences, as well as potential benefits or aesthetic preferences. You might plant pest-repelling herbs next to your tomatoes, for example, or grow shade-loving plants in the shadow of a tree or shrub.

Every plant has companion plants that work well with it, as well as plants that should be avoided, and cucumbers are no exception. This is your guide to cucumber companion plants, so that you can plan a successful garden.

Two cucumbers growing from a vine on the ground, with a yellow flower in front
Background expert / Shutterstock

Fruits and vegetables as cucumber companion plants

If you want to pair your cucumbers with other fruits and vegetables, then you have plenty of options. Plants in the Solanaceae family pair well with cucumbers. This includes tomatoes, peppers, and even eggplants. The exception to this is potatoes, but other Solanaceae plants can be planted near cucumbers with proper spacing.

Recommended Videos

Leafy greens, such as lettuce, cabbage, spinach, and kale are also good choices. The taller cucumber vines provide shade for the smaller greens, and the leafy greens shelter the cucumber’s roots to improve water retention like a living mulch. However, if you plan on growing multiple companion plants, take note that tomatoes don’t pair well with cabbage or kale.

Small root vegetables like carrots, beets, and turnips will grow with cucumbers as well. They have a similar relationship to each other that cucumbers and leafy greens have, thanks to the spreading leaves of the root vegetables. Plus, their small size means you don’t have to worry about competition. Alliums, such as garlic and onions, are also a great choice for this reason.

Some plants that provide benefits for your cucumbers are legumes and corn. Legumes, such as beans and peas, add nitrogen to the soil. Corn can actually be used as a living trellis for smaller cucumber varieties.

Potted marigolds
Yui Yuize / Shutterstock

Flowers and herbs to grow with cucumbers

Fruits and vegetables aren’t the only things you can grow next to your cucumbers, though. Many flowers and herbs offer natural protection from pests and attract pollinators. If you’ve ever had to pollinate cucumbers by hand, then you’ll understand just how valuable this benefit is! For fans of herbs, dill, oregano, marjoram, and chives are all excellent cucumber companion plants.

Marigold, calendula, nasturtium, and tansy are all great options for attracting pollinators, and they may keep pests away as well. If you’re a fan of edible flowers, then you’ll be happy to know that marigolds, calendula, and nasturtium are all edible. Tansy is sometimes consumed as well, but it does contain a toxic compound that can cause serious health problems in higher quantities.

An interesting flower to grow as a cucumber companion plant is the sunflower. Similarly to corn, smaller cucumber varieties can climb sunflowers. This means you can replace your trellises with sunflowers and corn for a unique garden display.

A striped zucchini growing on the vine
HBH-MEDIA-photography / Pixabay

Plants to avoid using as cucumber companion plants

Knowing what plants to avoid is just as important as which ones to seek out. Plants that have vastly different growth needs from cucumbers should be planted in a different section of your garden. For example, you shouldn’t plant succulents and cacti near cucumbers, as the succulents and cacti would get too much shade and water.

Plants that have the same needs but are heavy feeders should also be avoided. This is because they will compete with your cucumber plants for resources, leading both plants to struggle. Potatoes, melons, zucchini, and squash are good examples of this. Melons, zucchini, and squash also fall into the third category of plants to avoid: plants in the same family. Since they are prone to the same pests and diseases, planting closely related plants together can make them more vulnerable.

Aromatic herbs, such as sage, rosemary, fennel, and basil have oils that can stunt the growth of cucumber plants. These oils can affect other plants as well, so take care when planning your herb gardens. Another herb to avoid is mint, which is a voracious grower and will spread across the garden, competing heavily with cucumbers for resources such as space and water.

Sunflowers in field
Ibrahim Rifath / Unsplash

How to plant your companion plants

Once you’ve chosen your cucumber companion plants, it’s time to plant them. While the bulk of planting companion plants is the same as planting any other garden, you’ll need to pay close attention to spacing and location. While these plants will grow well together, they won’t appreciate being crowded together, so make sure to follow the spacing requirements for each plant. Remember to measure from the roots or base of the cucumber plant when using a trellis.

If you are trellising your cucumbers, smaller shade-loving plants can grow underneath the trellis or in its shadow. However, sun-loving cucumber companion plants will not thrive there and should be planted where the shadow will not fall.

While we can’t list every possible plant combination, remember the basic principles of companion planting and you’ll do just fine. If plants have similar or non-conflicting needs, they can usually be planted together, but if they need opposite conditions or pose challenges for each other, then plant them further apart. With this knowledge and our list of basic cucumber companion plants for you to consider, you’re ready to start planning your next garden.

Cayla Leonard
Cayla Leonard is a writer from North Carolina who is passionate about plants.  She enjoys reading and writing fiction and…
What is the best time to water plants? Find out why it matters
Schedule your watering routine with these tips
Woman waters ZZ plants

While some plants are more drought tolerant than others, all plants need some amount of water to survive. The type of water you use can be impactful, since some plants are sensitive to the minerals and chemicals found in tap water, and the temperature of the water matters, too, as cold water can shock plants. Did you know that the time of day you choose to water your garden can also have an impact on your plants’ health? Here’s everything you need to know about the best time to water plants, and why it matters.
The best time to water outdoor plants

The best time to water your outdoor plants is early to mid-morning. This leaves plenty of time for the water to soak into the soil and for your plants to begin absorbing it themselves. It also allows for any water left on the plants’ leaves to evaporate or drip away before it gets too hot. While you should try your best to avoid getting your plants’ leaves wet when watering them, it isn’t always possible if you’re watering a large garden. Watering during the morning helps mitigate some of the problems associated with wet foliage, although fungal infections can still be an issue.

Read more
Is banana water for plants a good idea? Here’s what you should know
All your questions answered here
Bundle of bananas on a wooden cutting board

There are many popular gardening trends that take off through the internet, ranging from fun and interesting ways to improve your garden to some more bizarre trends. If you’ve heard about the recent trend of using banana water for plants, you might wonder which category this trend falls into. What is banana water, and why are people giving it to their plants? Does it actually benefit your plants at all, or are there better alternatives? We’ll answer all your questions in this simple guide to using banana water for plants.
What is banana water?

Banana water is exactly what it sounds like -- banana peels and water. The process is simple and requires little prep. Take your banana peels and cut them into smaller pieces. Soak them in water for a few days, then use the water to feed your plants. The idea behind this trend is that the nutrients in banana peels will come out of the banana peels and into the water.

Read more
How to get rid of scale on plants: Everything you need to know about these pests
Use these methods to get rid of scale insects fast
Scale insects on a stem

There are many common garden pests that can damage your plants. While some are relatively harmless, others can do quite a bit of damage. Of course, some of the largest danger to your plants comes from pests that travel in groups. Scale insects are one such pest, frequently seen in clusters along plant stems. If you want to know how to recognize this pest and learn how to get rid of scale on plants, this is the guide for you. We’ll explain how to identify scale insects and go over several methods to eliminate them.
Identifying scale on plants

Scale insects are related to aphids and mites, but they're easy to tell apart from other pests, because they don’t move much. You’re unlikely to see the scale insects as they arrive at the plant. Instead, look for a series of bumps or lumps on your plants’ stems or the undersides of their leaves. These bumps can be black, green, brown, yellow, or white, often appearing in rows or clusters. Scale insects can range in size, depending on the species, with some scale insects staying quite small. Scale insects are soft when young, and some species stay soft for their entire lives. However, many species develop a waxy cover that hardens as they age.

Read more