Skip to content
Free · Instant · In-browser

Companion Planting Checker & Friends & Foes

Pairs up tomato & basil

63 plantsBest companionsRelationship mapPair checker

Your 5-star review is a signal. Your 2-star review is a gift.

See the best companions and the plants to keep apart for any vegetable — or check any two plants to find out if they're a good pair, an antagonist, or neutral, with the reason.

What are you planting?

Selected plant
🍅 Tomato
Pick any plant from the browser below.

Companion relationships follow traditional practice & observation — helpful guidance, not strict rules.

Your result
🍅

Tomato

18 good companions · 10 to avoid

━ plant together ┄ keep apart🧅Onion🧄Garlic🧅Shallot🌿Chives🥕Carrot🌿Asparagus🥬Celery🌿Basil🌿Parsley🌿Cilantro🌿Mint🌿Oregano🌿Thyme🌼Marigold🌺Nasturtium💙Borage🍅Tomato
Plant near 🍅 Tomato
🧅 Onion🧄 Garlic🧅 Shallot🌿 Chives🥕 Carrot🌿 Asparagus🥬 Celery🌿 Basil🌿 Parsley🌿 Cilantro🌿 Mint🌿 Oregano🌿 Thyme🌼 Marigold🌺 Nasturtium💙 Borage🌼 Calendula🌿 Garlic Chives
Keep away from Tomato
🥔 Potato🥬 Kale🥬 Cabbage🥦 Broccoli🥦 Cauliflower🥬 Brussels Sprout🥬 Kohlrabi🌽 Corn🌿 Fennel🌿 Dill
Pick a plant63 plants
What this means
Across 63 plants, Tomato has 18 good companions and 10 to avoid. Carrots love tomatoes; basil deters hornworms while fennel and potato share blight and stunt growth.

Next: interplant the good companions in the same bed or adjacent rows, put antagonists in a separate block, and rotate plant families each season to keep soil-borne pests down.

Companion relationships are based on traditional practice and observation — treat them as helpful guidance, not strict rules. Local conditions vary.

Companion planting — key facts

Tomato loves
basil, marigold, carrot, onion
Tomato avoids
potato, cabbage, fennel
Three sisters
corn + beans + squash
Legumes
fix nitrogen for heavy feeders
Onions & beans
do not mix
Marigold
all-round pest deterrent
Fennel
keep on its own
Privacy
Runs in your browser; nothing uploaded

How companion planting helps

Plants interact below and above ground. Legumes such as beans and peas fix atmospheric nitrogen that nearby heavy feeders can use; strong-smelling alliums and herbs mask the scent pests hunt by; flowers like marigold pull in hoverflies and ladybirds that prey on aphids; and tall crops shelter or support shorter ones. The flip side is competition and shared enemies — tomato and potato both carry blight, sprawling squash crowds out potatoes, and fennel chemically suppresses most neighbours.

This checker turns that knowledge into two quick answers: the companions to group around a crop, and a yes/no verdict for any pair with the reason behind it. Use it to lay out beds so friends sit together and antagonists stay apart, then pair it with crop rotation so the benefits carry across seasons rather than letting pests build up in one spot.

Plan a bed

Pick a crop and group its good companions in the same bed or adjacent rows.

Check a pair fast

Test any two plants for a good/avoid/neutral verdict before you sow.

Deter pests naturally

Use companions like marigold, basil and onion to cut pest pressure without sprays.

Pair with rotation

Combine with the Crop Rotation Planner so beds stay healthy year after year.

Frequently Asked Questions

What is companion planting?+

Companion planting is growing certain crops near each other because they help one another — by deterring pests, attracting beneficial insects, fixing nitrogen, providing shade or support, or simply using space and light efficiently. Some pairs, by contrast, compete or share pests and are best kept apart.

What grows well with tomatoes?+

Tomatoes pair famously with basil and marigold (which repel their pests), along with carrots, onions, garlic and lettuce. Keep them away from potatoes (shared blight), brassicas like cabbage, and fennel. Use the checker to see the full list for tomato or any other crop.

What are the 'three sisters'?+

The three sisters is a classic Native American companion grouping of corn, beans and squash: corn gives the beans a pole to climb, beans fix nitrogen for the corn, and sprawling squash shades the soil to suppress weeds and keep it moist. The checker marks corn–bean and corn–squash as good pairs.

What should you not plant together?+

Avoid pairing crops that compete heavily or share pests and diseases — for example tomato with potato, onions or garlic with peas and beans, and fennel with almost everything (it's allelopathic). The checker flags these as antagonists with the reason.

Why do onions and beans not mix?+

Alliums such as onion and garlic release compounds that inhibit the growth of legumes like peas and beans, so the legumes grow poorly nearby. Plant the onion family in a separate bed from your peas and beans.

Does companion planting really work?+

Some effects are well supported — nitrogen fixing by legumes, pest confusion from strong-smelling alliums and herbs, trap cropping with radish, and habitat for beneficial insects from flowers like marigold. Others are traditional lore with mixed evidence, so treat the guide as a helpful starting point rather than a guarantee.

How does marigold help the garden?+

Marigolds are an all-round helper: their roots release compounds that suppress soil nematodes, and their flowers attract hoverflies and other predators that eat aphids. That's why the checker lists them as good companions for tomato, potato, squash, beans and peppers.

Can I plant the same crop in a block together?+

Yes — growing one crop in a block is fine and often practical. The key companion rule is to rotate that family to a different bed each year, because soil-borne pests and diseases build up where the same crop grows repeatedly.

How far apart should antagonists be?+

There's no exact distance, but keeping antagonistic crops in separate beds or on opposite sides of the plot is usually enough to avoid root competition and reduce shared-pest spread. The more vigorous the plant (like sprawling squash or potato), the more separation helps.

Does this replace crop rotation?+

No — companion planting and rotation work together. Companions optimise who grows beside whom this season; rotation changes what grows in each bed across seasons. Use our Crop Rotation Planner alongside this checker for a complete plan.

Related farming tools

Explore the toolkit

1900+ free tools, zero sign-up

Calculators, developer & SEO utilities, data, content, hardware and farming — all instant, private and in your browser.

Browse all tools
Calculator

Cooking Ingredient

Pick an ingredient, choose a region, drag the measuring cup or enter grams, and read every culinary unit.

Open
Farming

Seed Germination Test Calculator

Free seed germination test calculator. Enter seeds tested and seeds sprouted to get the germination percentage

Open
Dev & SEO

Can You Legally Ship This Dependency Tree?

Paste package.json, package-lock.json, yarn.lock, requirements.txt, composer.lock, Gemfile.lock or Cargo.lock

Open
Niche

PCI DSS Cost Calculator

Diamond-grade PCI DSS v4.0 cost calculator with a 4-level merchant pyramid (Level 1 >6M transactions through L

Open
Content

SERP Preview

Preview your Google snippet exactly as it truncates: canvas-measured pixel widths (Arial 18px/13px), query-ter

Open
Hardware

Hardware Specifications Explorer

Faceted CPU & GPU specification explorer: filter by type, brand, process node, release year and TDP, then read

Open
Productivity

Password Strength Tester

Open
Pro

Guided Practice

A distraction-free guided meditation session for any Vigyan Bhairav Tantra dharana — breath-paced timer, optio

Open
Calculator

Data Storage

Bespoke data-storage converter with file-manager widget, photo/song/movie fit calculator, and 26 units across

Open
Farming

Seed Lot Blending Calculator

Free seed lot blending calculator. Enter the weight and germination of two seed lots to get the weighted-avera

Open
Dev & SEO

What Does This npm Package Really Install?

Type any npm package or paste your package.json and resolve the full transitive dependency tree live from the

Open
Niche

SOX Cost Calculator

Diamond-grade Sarbanes-Oxley cost calculator with a 3-section circular control wheel covering §302 (CEO/CFO ce

Open
Content

XML Sitemap Studio

Generate protocol-correct XML sitemaps from a URL list, validate any sitemap against the full sitemaps.org spe

Open
Hardware

CPU & GPU Tier List Pro

The hardware hierarchy measured five ways: 130+ CPUs & GPUs (2015–2025) ranked into live S–D tiers by performa

Open
Productivity

Password Tools

Test password strength against real standards (NIST 800-63B, OWASP ASVS), check against known breaches via k-a

Open
Pro

Read the Full Text

Read the Vigyan Bhairav Tantra (Vijñāna Bhairava) verse by verse — Sanskrit (Devanagari), IAST transliteration

Open
Calculator

Data Transfer

Bespoke data-transfer converter with animated pipe-flow widget, 24 units across SI/IEC/SONET/T-carrier and a d

Open
Farming

Seed Pelleting Calculator

Free seed pelleting calculator. Enter your seed weight and pelleting ratios to get the filler, binder and fini

Open
Dev & SEO

Regex Tester & Builder

Free online regex tester with real-time match highlighting, capture-group inspection, replace/substitution, a

Open
Niche

Advertising ROI Calculator

Diamond-grade advertising ROI calculator with a PPC scoreboard (CPC, CPM, CTR, Conv-rate, ROAS, blended CAC) a

Open
Content

Image to AI Converter

Convert images to AI, the Adobe Illustrator format for editable, scalable vector artwork.

Open
Hardware

Silicon Architecture Explorer

Explore CPU and GPU silicon: group every part by microarchitecture (Zen, Ada Lovelace, RDNA, Ampere, Blackwell

Open
Pro

Settings

Choose your theme, reading size, and script (Devanagari / IAST), and export, import, or clear your private pra

Open
Calculator

Degree to mrad

Interactive rifle scope reticle converting between degrees and milliradians, with MOA cross-reference and a sh

Open