Skip to content
Growing |

Eggplant Companion Plants

The best eggplant companion plants repel flea beetles, aphids, and spider mites while improving soil and yield. Learn what to plant near eggplant.

Eggplant grows as a warm-season annual across all US growing zones, thriving in USDA Zones 4–11 with 70–85°F daytime temperatures. It is a nightshade family crop (Solanaceae) common in Southeast US gardens and increasingly popular nationwide. University of California Cooperative Extension research shows companion planting reduces flea beetle damage — the most destructive eggplant pest in the US — by 20–40% in non-organic gardens and up to 60% in organic systems.
Guide typeGrowing guide
Key tips5 covered
FAQs6 answered

Key takeaways

  • Basil is the most researched eggplant companion — lab studies show basil volatiles reduce flea beetle feeding and aphid colonization on nearby plants by 30–65%
  • Marigolds (Tagetes patula) planted at 12–18 inch spacing deter nematodes in soil and repel whiteflies and aphids from adjacent eggplant
  • Avoid planting eggplant near fennel, which suppresses growth of most vegetable crops, or near other nightshades (tomatoes, peppers) if flea beetle or disease pressure is high
  • Nasturtiums used as trap crops draw aphids away from eggplant — allow colonization on nasturtiums to attract predatory insects before aphids spread
  • Pole beans fix atmospheric nitrogen that benefits eggplant; plant beans on the north or east side to avoid shading the sun-loving eggplant

Why companion planting matters for eggplant

Eggplant is one of the most pest-vulnerable vegetables in the US garden. Flea beetles, aphids, spider mites, and whiteflies target it reliably from transplant through harvest. The right companion plants reduce pest pressure measurably — without the need for repeated pesticide applications.

Flea beetles (primarily Epitrix cucumeris and E. fuscula) are the dominant eggplant pest in most US regions. They create characteristic small round holes in leaves within days of transplanting. In heavy infestations, seedlings lose more than 50% of leaf area and stall or die. By midsummer, established plants tolerate more damage, but early-season flea beetle pressure remains the primary threat to eggplant yield.

Companion planting targets this problem in two ways: aromatic plants confuse or deter beetles with volatile compounds, and trap crops or flowering plants attract predatory insects that feed on pest populations.

Research from the University of California Cooperative Extension documented 20–40% reductions in flea beetle damage in plots where aromatic companion plants were used at close spacing. Organic plots with diverse companion combinations showed damage reductions up to 60%.

For context on companion planting principles across the vegetable garden, see our companion planting chart, which covers documented relationships for 30+ common US vegetables.

The best companion plants for eggplant

Basil

Basil is the most studied eggplant companion in the scientific literature. Laboratory studies measuring flea beetle feeding on eggplant in the presence and absence of basil volatiles show consistent 30–65% reductions in feeding when basil is present.

The mechanism is olfactory disruption: basil’s essential oils (linalool, eugenol, methyl chavicol) confuse flea beetles’ ability to locate host plants. The effect is distance-dependent — closest to the basil plant, the effect is strongest.

Planting guidelines:

  • Plant one basil plant per 2 eggplant plants.
  • Keep basil 10–14 inches from eggplant stems for good air circulation.
  • Allow basil to flower — flowering basil produces the highest levels of volatile oils. Unlike most culinary uses where you pinch flowers, companion-planting basil benefits from some flowering.
  • Both sweet basil and Thai basil work; spicy globe basil works but stays very small.

Basil and eggplant also have compatible water and nutrient needs, share drip irrigation lines without conflict, and grow to similar heights that don’t shade each other.

French marigolds

French marigolds (Tagetes patula) are the second most reliable eggplant companion. Their documented effects:

  • Nematode suppression: Marigold roots release alpha-terthienyl, a compound toxic to root-knot nematodes (Meloidogyne spp.). Plant-to-plant spacing of 12–18 inches provides measurable nematode suppression in the root zone. The effect builds over 4–6 weeks.
  • Whitefly deterrence: Marigold volatiles deter whiteflies from settling on adjacent plants. In warm Southern US gardens where whiteflies are active, this is a meaningful benefit.
  • Aphid deterrence: Similar to basil, French marigold volatiles interfere with aphid host location.

Use Tagetes patula specifically (French marigold). Tagetes erecta (African marigold) is less effective at nematode suppression despite being a larger plant.

Nasturtiums as trap crops

Nasturtiums serve a different role than basil or marigolds. Rather than repelling pests, they attract pests — especially aphids — away from eggplant. This is “trap cropping.”

Allow aphids to colonize nasturtiums. The presence of a dense aphid population on the nasturtiums attracts predatory insects: ladybugs, lacewings, and parasitic wasps. These predators then move into the adjacent eggplant planting and attack aphid populations there.

Plant nasturtiums 24 inches from eggplant — close enough for predator movement, far enough that aphid spillover is limited.

Pole beans

Pole beans (Phaseolus vulgaris) fix atmospheric nitrogen through root nodules. They add 40–100 lbs of nitrogen per acre to the soil, which becomes available to adjacent heavy-feeder crops like eggplant after the beans are tilled in or the roots decompose.

Plant pole beans on the north or east side of eggplant so the bean trellis doesn’t shade the eggplant during afternoon sun hours. See our bean companion plants guide for additional companion combinations for beans.

Herbs that deter eggplant pests

Several aromatic herbs beyond basil offer complementary pest deterrence when planted in the same bed:

HerbPrimary pest deterredBest distance from eggplantNotes
BasilFlea beetles, aphids10–14 inchesAllow to flower for max volatiles
ThymeWhiteflies, aphids12 inchesLow-growing, won’t shade eggplant
OreganoAphids, spider mites12 inchesEspecially effective in hot, dry conditions
DillAphids (attracts predators)18–24 inchesLet it flower to attract parasitic wasps
CatnipFlea beetles18 inchesCan spread aggressively; container recommended

Tomatoes and peppers: grow with caution

Tomatoes and peppers are often planted near eggplant because they share warmth and sun requirements. All three are Solanaceae (nightshade family members), which creates a problem: they also share diseases and pests.

Verticillium wilt, early blight (Alternaria solani), and Phytophthora blight spread between nightshades planted in adjacent rows. Flea beetles that exhaust one crop move readily to another.

If you grow all three nightshades, plant them in separate sections of the garden to create buffer distance. For companion planting combinations for the other nightshades, see our companion plants for peppers guide and tomato companion plants guide.

What NOT to plant near eggplant

PlantReason to avoid
FennelReleases allelopathic compounds that inhibit most vegetable growth
Other nightshades in adjacent rowsShare diseases and pests that cross easily between plants
Tall crops on south/west sideShade eggplant during peak sun hours, reducing yield
Heavy feeders in same bedCompete for nitrogen; eggplant needs consistent nutrient supply

Eggplant bed layout for companion planting

A practical companion-planted eggplant bed for a 4×8 raised bed in USDA Zone 6–7:

  • 4 eggplant plants at 24-inch spacing in the center row, running north to south.
  • 4 basil plants in alternating positions at 12-inch offset from each eggplant.
  • French marigolds at the south end of each eggplant row (6 plants total).
  • 1 nasturtium at each bed corner on the east side (as trap crop).
  • Pole beans on a trellis at the north end only.

This layout keeps sun access clear for eggplant, places aromatic companions close enough for volatile effectiveness, and locates the trap crop downwind of the main planting.

Managing the most common eggplant pest: flea beetles

Even with companion plants, flea beetles may require additional management in high-pressure regions. The US Southeast and Midwest have particularly heavy flea beetle populations.

Additional strategies:

  • Row covers: Floating row covers (remay fabric) placed immediately after transplanting prevent flea beetle access during the most vulnerable first 3 weeks. Remove when flowers appear for pollinator access.
  • Diatomaceous earth: Apply at the base of plants and on lower leaf surfaces. Reapply after rain. Most effective when dry.
  • Spinosad: An OMRI-listed organic insecticide derived from soil bacteria. Apply in the evening when bees are inactive. Effective against flea beetles with 24–48 hours.

Companion plants reduce the need for these additional interventions but rarely eliminate flea beetle pressure entirely in the first season of planting. By the third year of consistent companion planting, a beneficial insect population builds that provides more durable long-term suppression.

For a comprehensive look at companion relationships across the US vegetable garden, our companion plants for carrots guide and strawberry companion plants guide cover additional crop-specific combinations using many of the same aromatic herbs that benefit eggplant.

eggplant companion plants companion planting eggplant vegetable garden solanum melongena
SM

Sarah Mitchell

Sarah Mitchell is a Master Gardener and garden writer based in the Pacific Northwest. She has been growing food and flowers for over 15 years across USDA zones 7 and 8.