Plant combinations that work in raised beds

Certain plants grow better when planted near each other because they help with pest control, use different soil depths, or improve each other's flavor and growth. Companion planting means choosing plants that benefit from proximity — one plant might repel insects that damage its neighbor, or their root systems might work at different levels so they don't compete for water and nutrients.

In a raised bed, space is limited, so pairing plants strategically lets you grow more food in the same footprint. A tomato plant with basil nearby, for example, uses vertical space while basil stays low, and basil's smell deters some tomato pests. The same bed can hold lettuce underneath, which tolerates partial shade from the tomato's leaves.

The combinations that work best depend on what you're growing and how much sun your bed gets. Full-sun beds (six or more hours) support different pairings than partial-shade beds. Timing also matters — some plants are ready to harvest before others, so you can succession-plant in the same space.

Key Takeaways

  • Tomatoes pair well with basil, carrots, and parsley because basil repels pests and the other plants use different root depths.
  • Lettuce, spinach, and other leafy greens grow under taller plants like tomatoes or peppers and tolerate the shade they create.
  • Beans and peas fix nitrogen in the soil, so planting them with heavy feeders like squash or corn improves growth without extra fertilizer.
  • Avoid planting fennel, dill, or garlic near most vegetables because they inhibit growth in neighboring plants.
  • Succession planting — sowing lettuce or radishes every two weeks — lets you harvest early crops and replant the space before summer heat arrives.

Tomatoes with herbs and shallow-rooted crops

Tomatoes are tall and need full sun, so they're ideal anchor plants in a raised bed. Plant basil directly at the base of tomato stems — basil repels spider mites and whiteflies that damage tomatoes, and the two plants are often paired in cooking anyway. Parsley and chives also grow well at tomato height without competing for root space because their roots stay shallow.

Underneath tomatoes, plant lettuce, spinach, or arugula. These leafy greens tolerate the partial shade created by tomato foliage and won't shade the tomato's lower leaves enough to cause disease. Carrots can also grow under tomatoes; their roots go deep while tomato roots spread sideways, so they occupy different soil zones. Space carrots about three inches apart and thin seedlings as they grow.

Avoid planting brassicas (cabbage, broccoli, kale) near tomatoes — they compete for the same nutrients and attract overlapping pests. Keep fennel away from tomatoes as well; fennel releases compounds that slow tomato growth.

Peppers with onions and marigolds

Peppers grow similarly to tomatoes — tall, sun-loving, and slow to mature — but they pair with different companions. Onions and garlic planted around pepper plants deter spider mites and some beetles. Space onions four to six inches apart; they'll be ready to harvest before peppers reach full size, freeing up space.

Marigolds are often recommended near peppers because they attract beneficial insects and may reduce nematode damage in soil. Plant marigolds at the bed's edge so they don't shade the peppers. Spinach and lettuce again work well underneath, using the shade and not competing for nutrients.

Don't plant peppers near fennel, kohlrabi, or other brassicas. Peppers also dislike being crowded, so give each plant at least 12 inches of space in all directions.

Beans and peas with heavy feeders

Nitrogen-fixing plants like beans and peas have a special relationship with soil bacteria that convert atmospheric nitrogen into a form other plants can use. When beans or peas finish growing, they leave nitrogen in the soil for the next crop. This makes them ideal companions for heavy feeders like squash, corn, and cucumbers.

Plant beans or peas along the edge or trellis of a raised bed, then plant squash or cucumbers in the center. By the time the squash vines spread, the beans will be flowering and fixing nitrogen, which the squash will use as it grows. Succession-plant beans every two weeks if your growing season is long enough; each planting adds nitrogen for later crops.

Avoid planting onions or garlic near beans — they inhibit bean growth. Fennel also slows bean development, so keep it out of beds with legumes.

Root vegetables and leafy greens in succession

Radishes, beets, turnips, and carrots all grow well together because they mature at different rates and use different soil depths. Radishes are ready in three to four weeks, so plant them densely and harvest them to make room for slower crops. Beets take six to eight weeks, and carrots take eight to ten weeks. In a single raised bed, you can plant all three at once, knowing radishes will be gone before beets need the space.

Lettuce, spinach, and arugula can be succession-planted every two weeks throughout spring and fall. As soon as you harvest one round, sow the next. These crops are shallow-rooted and won't compete with root vegetables below. In summer heat, they bolt quickly, so stop planting them once daytime temperatures regularly exceed 75°F.

Pair root crops with herbs like dill, cilantro, and chives. These herbs stay small and don't shade the vegetables. Avoid planting fennel near root crops; it inhibits their growth.

Squash and cucumbers with supporting plants

Squash and cucumbers spread horizontally and need full sun, so they work best in larger raised beds or at the edge where they can sprawl without shading other plants. The "three sisters" method — corn, beans, and squash planted together — works in raised beds if you have the space. Corn provides a trellis for beans, beans fix nitrogen for squash, and squash leaves shade the soil to retain moisture and suppress weeds.

If you're not planting the full three sisters, pair squash with basil, nasturtiums, or marigolds. Nasturtiums attract aphids away from squash (they act as a trap crop), and marigolds may reduce pest pressure. Plant these companions at the base of squash plants before the vines spread.

Keep squash away from potatoes and fennel. Potatoes attract similar pests, and fennel inhibits squash growth. Squash also competes heavily for nutrients, so plant it with nitrogen-fixing beans or add compost before planting.

Plants to keep separate in raised beds

Fennel is the most problematic companion plant — it inhibits growth in most vegetables and herbs. Keep it out of vegetable beds entirely, or grow it in a separate container. Garlic and onions can slow the growth of beans, peas, and some other legumes, though they pair well with peppers, tomatoes, and root crops. Potatoes attract similar pests to squash and eggplant, so space them far apart or grow them in different beds.

Brassicas (cabbage, broccoli, kale, cauliflower) are heavy feeders and attract overlapping pests, so avoid planting multiple brassicas in the same small raised bed. If you grow one brassica, pair it with shallow-rooted herbs and leafy greens instead. Dill can inhibit carrot growth, so plant them separately if you want both in the same bed.

Allelopathic plants — those that release growth-inhibiting compounds — are best grown alone or with plants known to tolerate them. When in doubt, check seed packet information or local gardening resources for your region's specific growing conditions.

Timing and spacing for maximum yield

Raised beds warm up faster in spring than ground soil, so you can plant earlier. Start cool-season crops (lettuce, peas, spinach) as soon as soil is workable. Succession-plant every two weeks until late spring, then stop until late summer when temperatures cool again. Warm-season crops (tomatoes, peppers, squash) go in after the last frost date in your area.

Space plants according to their mature size, not seedling size. A tomato seedling looks tiny next to a lettuce seedling, but the tomato will eventually need 18 to 24 inches of space. Crowding reduces air circulation, which invites disease. Use the spacing on seed packets as your guide, and thin seedlings as they grow rather than waiting until they're large.

Keep a straightforward record of what you planted where and when. This helps you plan next year's bed and rotate crops — avoid planting the same family of vegetables in the same spot two years running, as this depletes specific nutrients and builds up pests and diseases in the soil.

Frequently Asked Questions

Can I plant tomatoes and peppers in the same raised bed?

Yes, if the bed is large enough. Both need full sun and similar watering, but they attract different pests and don't compete for nutrients if spaced properly. Give each plant at least 12 to 18 inches of space, and plant basil or herbs between them. A 4-by-8-foot bed can hold two tomatoes and two peppers comfortably.

What should I plant after I harvest early crops like radishes and lettuce?

Remove spent plants and add a thin layer of compost to replace nutrients. Then plant warm-season crops like beans, squash, or cucumbers if there's still time before your first fall frost. In fall, replant cool-season crops like spinach and kale. Check your local frost dates to know how many weeks remain in your growing season.

Do I need to add fertilizer if I'm planting beans with heavy feeders?

Beans add nitrogen over time, but squash and corn are heavy feeders that may deplete soil faster than beans can replenish it. Add compost or a balanced fertilizer at planting time, then side-dress (add fertilizer around the base of plants) mid-season if leaves look pale or growth slows. Beans alone don't eliminate the need for soil preparation.

Can I plant garlic and onions near tomatoes?

Yes. Garlic and onions deter many tomato pests and don't compete for nutrients. Plant them around the base of tomato plants in fall (for spring harvest) or early spring (for summer harvest). They'll be gone before tomatoes reach full size, freeing up space.

What's the best way to use a small raised bed with limited space?

Focus on one tall plant (tomato or pepper), surround it with shallow-rooted herbs, and fill the remaining space with succession-planted lettuce or spinach. Harvest lettuce before it shades the main plant, then replant. This approach yields lettuce, herbs, and a tomato or pepper from a single bed without crowding.