Companion planting
Basil Companion Plants (What Works and What's a Myth)
Basil grows well next to tomatoes, peppers, eggplant, and most summer vegetables, and its flowers draw pollinators when it blooms. The popular "improves tomato flavor / repels pests" claims are mostly traditional, not proven. Here is what the evidence actually supports.

The short answer
Basil grows well alongside tomatoes, peppers, eggplant, and most summer vegetables, and its flowers draw pollinators and beneficial insects when it blooms. The popular "improves tomato flavor" and "repels pests" claims are traditional, not proven. The real value is simple: basil thrives in the same warm, sunny, well-watered bed, and you will use it.
The honest version of basil companion planting is shorter than the charts make it look. Basil is an easy bed partner because it likes the same conditions as your summer crops. The famous magic, less so.
This guide separates the two. What the research backs, what is folklore, and how to set basil up so it actually earns its spot.
Plant basil with these
Basil belongs next to the warm-season vegetables because it wants what they want: at least six to eight hours of sun, warm soil, and deep, steady water. University of Minnesota Extension puts basil at six to eight hours of bright light and a deep soak every seven to ten days. That profile matches a tomato bed almost exactly.
So the best companions are not magic pairings. They are plants that share the same bed without fighting over light or water.
| Plant basil with | Why it works |
|---|---|
| Tomatoes | Same sun, warmth, and water. Some studies show basil masks tomatoes from thrips and may aid growth |
| Peppers | Identical warm-season needs, similar height and spacing |
| Eggplant | Shares the bed and conditions. Basil may deter hornworm egg-laying nearby |
| Squash and cucumbers | Pollinator-hungry crops benefit when nearby basil flowers feed bees |
| Lettuce and leafy greens | Low and shallow-rooted, they use the ground basil does not |
| Marigolds | Flowers add pollinator and beneficial-insect draw to the same bed |
None of these need basil to survive. They simply make good neighbors because their needs line up. That is the whole point of a companion that actually works.
What basil does NOT do (myth check)
Most of what you read about basil is repeated, not tested. Penn State Extension is direct: herbs "don't repel insect pests but rather confuse them." That is a real mechanism, but it is not the force field the charts imply.
| The claim | What the evidence actually says |
|---|---|
| Basil improves tomato flavor | Traditional folklore. No research supports a flavor change on the vine |
| Basil repels pests in general | Overstated. Herbs confuse pests, they do not repel them, per Penn State Extension |
| A basil plant keeps mosquitoes away | Not supported. No reliable garden evidence for this |
| Basil masks tomatoes from some pests | Partly supported. A few studies show reduced thrips and hornworm pressure |
| You need just one or two basil plants to protect a crop | Unlikely. Illinois Extension notes you may need many companion plants for any lasting effect |
University of Minnesota Extension sums up the broader problem with companion charts: the long lists of pest-repelling plants online "are not always accurate or backed by research." Treat the chart as a starting point, not a rule.
The mechanisms that are real
Two benefits hold up, and both are worth planting for.
The flowers feed pollinators and beneficials. Once basil blooms, the flowers pull in bees. Penn State Extension notes that the flowers of basil, along with rosemary, oregano, and thyme, "will attract various species of sweat bees." Bees and other beneficial insects passing through your bed help the fruiting crops around it.
Some pest-masking is documented. This is the strongest evidence in basil's favor. University of Minnesota Extension reports that "a few studies show that basil and marigolds can be effective at reducing thrip populations in tomatoes in both field and greenhouse conditions," and that intercropping with basil "may even help to promote tomato growth." Penn State adds that basil can mask tomatoes from hornworms and deter the moths from laying eggs.
That is real, but read it carefully. It is masking and confusing, not repelling, and it took research plots to measure. A few plants in a backyard bed will not match a controlled trial.
Note
Be honest with yourself about why you are planting basil. The flavor-boost and bug-repellent stories are folklore. Plant basil because it thrives in the same warm, sunny bed as your tomatoes and peppers, because the flowers help pollinators, and because you will actually use it in the kitchen. Those are good enough reasons. You do not need the magic.
How to set basil up so it pays off
Good spacing does more for your basil than any companion theory. Basil's worst enemy is downy mildew, which University of Minnesota Extension calls the most common basil problem, and it spreads fastest in still, humid, crowded plantings.
Give every plant room to breathe. UMN puts basil at 6 to 12 inches apart. That spacing keeps air moving through the leaves and the soil from staying wet against the stems. Choose a mildew-resistant variety if you have had trouble before.
Common mistake
Two common basil mistakes cancel out its benefits. Crowding the plants kills airflow and invites downy mildew, the disease that wipes out whole rows. Keep them 6 to 12 inches apart. The second is a trade-off, not a flat error: letting basil bolt and flower drops your leaf harvest. UMN warns that flowering basil "will become woody" with "more bitter flavors" and lower yields. Pinch the flower buds if you want leaves. Let some plants bloom if you want the pollinators. You usually cannot have both from one plant.
Get the spacing right
The single best thing you can do for basil and its bed-mates is space them correctly from the start. Crowded beds trap humidity, starve plants of light, and undo any companion benefit before it begins.
Set basil at 6 to 12 inches, and give the tomatoes and peppers around it their own room too. The plant spacing chart has the full crop list, and the Plant Spacing Calculator shows how many plants fit your bed without crowding.
Try it — Plant Spacing Calculator
Full calculatorExtra to cover losses (10% is typical).
You can plant
32plants
- Per row
- 8
- Rows
- 4
- Buy (incl. spare)
- 36 plants
Basil is one piece of a summer bed. The same shared-conditions logic drives tomato companion plants and pepper companion plants, since all three want the same sun and water.
Your next step
Plant basil with your tomatoes, peppers, and eggplant because they share the same warm, sunny, well-watered bed, not because of flavor or pest magic that the research does not back. Let some plants flower for the bees, pinch the rest for leaves, and keep everything spaced so air moves.
Setting up the bed now? Open the Plant Spacing Calculator and space your basil at 6 to 12 inches so it grows clean and disease-free.
Common questions
Does basil really repel pests?
Not the way the folklore says. Penn State Extension is blunt about it: herbs "don't repel insect pests but rather confuse them." A few studies do show basil interplanted with tomatoes can mask the tomatoes from thrips and tomato hornworms and cut egg-laying by adult moths, in field and greenhouse trials. But there is no good evidence that a basil plant on the patio keeps mosquitoes or flies away. Plant it for the kitchen, not as bug spray.
Can basil and tomatoes be planted together?
Yes, and it is a sensible pairing. They want the same things: full sun, warm soil, and steady water, so one bed suits both. Some research even shows basil can mask tomatoes from thrips and may help tomato growth. Just give each plant room. Basil wants 6 to 12 inches of space so air moves through and downy mildew stays away.
What should not be planted with basil?
There is no major vegetable that basil actively harms. The real limit is shared needs and space. Keep basil out of deep shade and away from drought-tolerant herbs like rosemary that prefer dry feet, since basil wants regular water. The bigger mistake is crowding it next to anything that blocks airflow, which invites disease.
Does basil improve tomato flavor?
This is the classic claim, and it is not supported by research. The idea that a basil plant changes how a tomato tastes is traditional folklore, not a tested result. University of Minnesota Extension notes that many companion-planting claims "are not always accurate or backed by research." Basil makes your tomatoes taste better on the plate, not on the vine.
Do basil flowers attract pollinators?
Yes. Penn State Extension notes that if you let basil bloom, the flowers "will attract various species of sweat bees." That is a real, useful benefit for the garden. The trade-off is that flowering basil turns woody and the leaves get bitter, so you cannot have a heavy leaf harvest and a pollinator patch from the same plant.
Sources
Agronomic claims in this guide are checked against these primary sources.
- Companion planting in home gardens — University of Minnesota Extension
- Growing basil in home gardens — University of Minnesota Extension
- Herbs Make Good Plant Partners and Companions — Penn State Extension
- Companion Planting: Anecdotal or Tried and Tested? — University of Illinois Extension
Keep reading
Tomato Companion Plants (and What to Keep Apart)
Good tomato companions include basil, marigold, nasturtium, garlic, onion, lettuce, and carrots. Keep tomatoes away from brassicas, fennel, potatoes, and black walnut. The proven wins are pollinator support and spacing, not magic flavor changes.
Read →Pepper Companion Plants (and What to Keep Apart)
Good neighbors for peppers include basil, onions and garlic, carrots, lettuce and spinach, nasturtium, and tomatoes. Keep fennel and heavy-feeding brassicas apart. The reliable wins are spacing, pollinator support, and not crowding, not flavor magic.
Read →Cucumber Companion Plants (and What to Keep Apart)
Good cucumber companions are beans and peas for nitrogen and vertical layering, corn or sunflowers for support, and flowers like nasturtium and dill to draw pollinators. The honest win is anything that brings bees, since most cucumbers need them to set fruit.
Read →Zucchini Companion Plants (and What to Keep Apart)
Good zucchini companions are flowers like nasturtium and borage that pull in the bees zucchini needs to set fruit, plus beans and corn. Keep zucchini away from other squash and cucumbers, which share its pests. Most "avoid" charts are folklore.
Read →Spinach Companion Plants (and What to Keep Apart)
Good spinach companions are tall shade-givers like beans and corn, quick neighbors like radishes and lettuce, and flowers for pollinators. Keep spinach from chard and beets, which share leaf miners. Most pairing rules are folklore, so plant for shade, spacing, and pest sense.
Read →Pea Companion Plants (and What to Keep Apart)
Good pea companions are carrots, lettuce, spinach, radishes, and a tall crop like corn for support. The old rule keeps peas away from onions and garlic. The honest win is cool-season timing and ground cover, not a same-season nitrogen gift to the neighbors.
Read →