What to Plant Next to Garlic (and What to Keep 3 Feet Away)
Garlic’s sulfur compounds protect roses, carrots, and potatoes from aphids — but plant it within 18 inches of your target crop or the effect disappears.
Garlic is one of the most-cited companion plants in vegetable gardening — but that reputation often comes without the fine print. Grow it next to the right crops, at the right distance, and you’ll reduce aphid pressure, deter carrot rust fly, and suppress some fungal diseases. Grow it in the wrong company — or too far away — and none of those benefits materialize.
This guide covers the companion plants with the strongest evidence behind them, the crops garlic actively harms, and the one spacing rule that determines whether the whole thing works. For a full introduction to growing garlic, see the complete growing guide.

How Garlic’s Sulfur Compounds Protect Your Garden
Garlic’s pest-repelling reputation is built on a real mechanism, but most sources treat it as magic. The active agents are diallyl polysulfides (DAPS) — volatile sulfur compounds that make up around 94% of garlic’s aromatic emissions. The most abundant are DAS2 and DAS3, accounting for roughly 60% of the total [2].
These compounds work in two ways. First, they volatilize into the air and physically adhere to the surfaces of neighboring plants, masking the chemical signals that aphids and other insects use to locate host plants [1]. Second, at higher concentrations, they’re directly insecticidal — disrupting cellular processes in small arthropods through multiple biochemical pathways that make resistance difficult to develop [2].
Here’s where most companion planting guides get it wrong: the effect is spatial. A field study intercropping garlic with tobacco found that winged green peach aphids arrived later and in lower numbers across the entire growing season — but only in plots where garlic was grown in alternating rows at close range [1]. Kansas State University Extension is direct about the limitation: garlic’s sulfur compounds “do repel some pests,” but the effect is “centralized to the garlic itself — and only with certain pests” [9].
In practice, a garlic plant 3 or more feet from a rose bush offers little protection. The same plant at 12–18 inches is where the research-documented effect actually operates [1]. That proximity rule governs everything else in this guide.
For a broader look at how plant relationships work across your kitchen garden, the complete companion planting guide covers the full system.
The Best Companion Plants for Garlic
| Plant | Distance | Primary Benefit | Notes |
|---|---|---|---|
| Roses | 12–18 in | Aphid and spider mite deterrence | Most evidence-backed ornamental pairing |
| Carrots | 6–12 in | Carrot rust fly deterrence | Alternating rows effective |
| Beets | 6–8 in | Space efficiency, compatible roots | Excellent timing sync at harvest |
| Brassicas | 12–18 in | VOC cabbage pest deterrence | Harvest timing compatible |
| Tomatoes | 12–18 in | Spider mite deterrence | Avoid competing central root zones |
| Potatoes | 6–12 in | Fungal disease reduction | Best at inter-row spacing |
| Nasturtiums | 18–24 in | Trap crop (diverts aphids) | Perimeter planting only |

Roses and Ornamental Beds
Planting garlic at the base of roses puts the VOC effect exactly where rose aphids (Macrosiphum rosae) concentrate — on new shoot growth at the branch tips. At 12–18 inches from the crown, garlic’s sulfur volatiles mask the chemical identity of the rose shoots, disrupting aphid host-finding before the insects land [1].
Garlic also deters spider mites on roses, a particular problem in hot, dry conditions. A Brazilian study found garlic intercropping reduced two-spotted spider mite populations by up to 52% — though it did not eliminate the pest [8].
For strawberries, the evidence is more mixed. A UK tunnel trial (AHDB Project SF 156) found that garlic cloves planted in the growing medium — with leaves broken every two weeks to release fresh volatiles — significantly reduced strawberry aphid (Chaetosiphon fragaefolii) numbers compared to untreated plants [4]. However, a separate Egyptian study found strawberry yields were reduced when garlic was combined in the same bed [8]. The practical approach: interplant garlic at bed edges, 12 inches from strawberry crowns, and monitor whether fruiting is affected in year one before committing to the combination.
Root Vegetables: Carrots and Beets
Garlic is one of the strongest companions for carrots because carrot rust fly (Psila rosae) locates its host by smell. The fly detects volatile compounds released by carrot foliage to find where to lay eggs at the soil surface. Garlic planted alternately with carrots floods the area with competing sulfur volatiles, interfering with that detection [1].
For best effect, plant garlic cloves 3–4 weeks before carrot seedlings go in. By the time the carrots are large enough to emit host-recognition signals, garlic is already several inches tall and emitting volatiles at full concentration.
Beets share garlic’s preferred soil pH (6.0–7.0) and have a compatible root architecture — garlic’s narrow cloves sit 2–3 inches deep, while beet roots develop slightly differently in the upper soil zone. Plant both in alternating rows 6–8 inches apart. As garlic tops fall over before harvest in early summer, they create a temporary natural mulch over adjacent beet rows, reducing moisture loss during beet bulb development. In my experience, this is one of the cleanest space-use combinations in a kitchen garden — two harvests from the same bed with no real competition between them.
Brassicas: Cabbage, Kale, and Broccoli
Cabbage loopers, diamondback moths, and imported cabbageworms all use airborne odor cues to locate brassica hosts. Garlic rows at the edges of a brassica bed — or in alternating columns — disrupt those cues through VOC masking at close range [1].
Stop guessing if your garden pays.
Log what you grow and harvest — see total yield weight, estimated retail value, and season-on-season progress in one place.
→ Track My Harvest



The pairing also works well from a practical standpoint: garlic matures and is harvested in early summer while brassicas like kale and broccoli continue growing into fall. There’s no competition for nutrients during either crop’s bulking phase, and the harvested garlic space can be back-planted with a fall brassica succession.
Tomatoes and Peppers
Garlic reduces spider mite pressure on tomatoes — a meaningful benefit in hot, dry spells when mite populations spike. Plant garlic within 12–18 inches of the tomato drip line, not in the crowded central root zone where both plants compete heavily for phosphorus during bulb and fruit development.
Tomatoes return a secondary benefit: the afternoon shade from taller tomato plants on garlic’s south side reduces soil temperature and moisture stress during garlic’s final bulbing phase in late spring, when heat stress can cause premature splitting.
Potatoes: Fungal Disease Suppression
This is where garlic companion planting has some of its strongest field evidence. A study conducted in Ethiopia’s central highlands found that intercropping potatoes with garlic at a 3:1 ratio (75% garlic, 25% potato) significantly reduced Phytophthora infestans (late blight) development and improved tuber yield compared to sole potato plots [10].
Two mechanisms drive this. Garlic’s antifungal sulfur compounds are active against Botrytis cinerea and Fusarium oxysporum [2], and the physical presence of garlic plants between potato rows slows the wind and rain-splash dispersal of fungal spores [10].
Home gardeners can’t easily replicate a 3:1 ratio — you’d harvest very few potatoes. A practical adaptation: grow a garlic row between every two potato rows, harvest the garlic by mid-summer, and leave the plant residue on the soil surface to decompose. The sulfur compounds continue releasing as the tops break down.
Plants That Support Garlic’s Growth
Most companion planting articles focus only on what garlic does for others. These plants return the favor.
Chamomile is widely claimed to improve essential oil production and flavor intensity in garlic grown nearby. The honest status: no peer-reviewed research confirms this. The Alabama Cooperative Extension notes that garlic companion planting in general has had “very little research done to substantiate” its effects [7]. Treat chamomile as a pleasant, low-risk garden companion — the anecdotal backing is strong even if the science isn’t yet.
Nasturtiums serve as a sacrificial trap crop. Their bright flowers and high glucosinolate content attract aphids that might otherwise move toward garlic, brassicas, or roses in the same bed. Plant nasturtiums at the perimeter, 18–24 inches from garlic rows, to intercept aphid pressure without risking overflow onto your main crops.
Beets and spinach as space-fillers between garlic rows are one of the most efficient intercropping arrangements in the vegetable garden. Both crops are shallow-rooted and harvest-compatible with garlic’s schedule. Spinach matures by early summer — exactly when garlic tops fall over to signal harvest is near — so both crops exit the bed at the same time, clearing space for a summer succession planting.
Plants to Keep Away from Garlic
Beans and Peas: The Biggest Incompatibility
This is one of the few garlic incompatibilities with a clear biochemical explanation. Allicin — the compound released when garlic tissue is damaged — is exuded into the soil from garlic’s root zone and disrupts Rhizobium bacteria. Rhizobium bacteria are the microbes that colonize legume roots to form nitrogen-fixing nodules.
The practical consequence is significant: common beans already fix less than 50 pounds of nitrogen per acre — below what they need for their own growth [6]. Most of the nitrogen they fix goes to the bean plant itself. Disrupting even that limited fixation capacity by planting garlic nearby reduces bean yield directly.
Virginia Tech VCE SPES-620 explicitly lists the garlic, onion, leek, and chive family as incompatible with beans and English peas [5]. Keep them at least 18–24 inches apart, or grow them in entirely separate beds.
Asparagus
Asparagus is a perennial with a shallow, sensitive crown root system that doesn’t tolerate annual disturbance. Virginia Tech VCE SPES-620 lists garlic as incompatible with asparagus [5]. Garlic is planted in fall and harvested in early summer — both operations disturb the surface soil zone where asparagus crown roots run horizontally. A damaged asparagus crown can take two to three seasons to recover full spear production.
Other Alliums: Onions, Leeks, and Shallots
Garlic, onions, leeks, and shallots share the same disease susceptibilities — white rot (Sclerotium cepivorum), downy mildew, and onion fly. Planting them together concentrates the exact pathogens and insects you’re trying to manage.
There’s also a counter-intuitive finding worth knowing: a 2021 Frontiers in Plant Science study found that leek volatile compounds — chemically similar to garlic’s — disrupted aphid feeding behavior (a 50% reduction in sustained phloem ingestion), but simultaneously increased aphid fecundity by 20% and survival rates from 65% to 91% in laboratory conditions [3]. The researchers described this as a “hormetic effect” — low-dose exposure to a stressor that paradoxically stimulates reproduction. The clip-cage experiments may not reflect open-field conditions, but it’s a reason to avoid assuming that clustering alliums together delivers double the protection.
Spacing and Timing Rules
Two rules govern whether companion planting with garlic actually works:
The 12–18 inch rule: Garlic’s volatile sulfur compounds reach effective concentrations for VOC masking within 12–18 inches. At 3+ feet the effect is negligible [1]. Every companion you’re relying on garlic to protect needs to be within that radius. For a 4×8 raised bed, plant garlic along the bed’s long edges at 4–6 inch spacing — this covers the interior with overlapping VOC zones.
The timing rule: Plant garlic 3–4 weeks before transplanting the companions you want to protect. Garlic cloves need time to establish and reach several inches of foliage height before they emit meaningful volatile concentrations. Garlic planted simultaneously with companions provides minimal protection in the critical early weeks when transplants are most vulnerable to aphid colonization.
For fall-planted garlic (the standard in most US zones), this timing aligns naturally with the spring planting calendar: cloves go in during October, and by the time tomato and pepper transplants are hardened off in May, garlic is already 8–10 inches tall. The year-round planting calendar can help map the exact window for your zone.

Frequently Asked Questions
Does garlic repel all garden pests?
No. K-State University Extension specifies that garlic’s sulfur compounds repel “some pests” and the effect is centralized to the garlic plant itself, not broadcast across a wide area [9]. Garlic has documented effect against aphids and spider mites at close range; it has limited or no effect on soil-dwelling pests, beetles, or caterpillars that don’t rely on airborne odor cues.
Can I plant garlic and onions in the same bed?
They’ll grow, but you’re concentrating identical pest targets and disease risks in one location. Plant them in separate beds, or at minimum in rows 24+ inches apart with adequate air circulation.
How many garlic plants do I need for companion planting to work?
For a 4×8 raised bed, plant garlic every 4–6 inches along both long edges — typically 12–16 cloves per edge. This creates the density needed for VOC concentration to cover the bed interior effectively.
What about garlic and strawberries?
Plant garlic at bed edges (12 inches from strawberry crowns) and monitor fruit set in year one. The aphid reduction evidence is positive [4], but yield impacts are uncertain [8], so it’s worth testing before committing your whole strawberry bed to the combination.
Does garlic companion planting work in containers?
Yes — containers concentrate VOC compounds more than open beds, so the 12–18 inch proximity rule is easier to satisfy. A garlic pot placed within 12 inches of a container rose or tomato delivers effective VOC masking without shared root competition.
Sources
- Ben-Issa R, Gomez L, Gautier H. Companion Plants for Aphid Pest Management. Insects. 2017;8(4):112.
- Gruhlke MCH, Slusarenko AJ. Think Yellow and Keep Green — Role of Sulfanes from Garlic in Agriculture. PMC. 2017.
- Larbat R et al. Leek as companion plant and aphid hormetic effect. Frontiers in Plant Science. 2021.
- Aphids on Strawberry: Cultural and Natural Control. AHDB, Project SF 156.
- Companion Planting in Gardening. Virginia Tech VCE SPES-620. Githinji L, Virginia Cooperative Extension.
- Common Beans. NMSU Extension A129.
- Horticulture Notes: Add Garlic to Your Garden. Alabama Cooperative Extension System.
- Garlic — the King of Companion Planting? Garden Myths.
- Companion Planting. Kansas State University Extension.
- Potato Late Blight: The Pathogen, the Menace, the Sustainable Control. DYSONA Life Science (citing Kassa & Sommartya 2006).




