Updated November 2026

Companion planting in a square foot garden means grouping compatible crops in each one-foot square so they share space, deter pests, and make better use of soil. By the end of this guide, you will know how to map a bed, choose pairings that actually work, avoid the combinations that backfire, and set up a simple chart you can reuse every season.

What Companion Planting Means in a Square Foot Layout

Square foot gardening divides a bed into a grid of 1-foot squares, and each square holds a set number of plants depending on the crop. Companion planting adds a second layer of thinking: which plants sit next to each other, and what that neighborhood does for them. Some pairings help through shade, pest confusion, or pollinator attraction. Others simply prevent overcrowding by matching crops with similar root depths and feeding habits. If you are new to the concept in general, What Does Companion Planting Mean? Pairings and Pitfalls covers the basics before you start mapping.

Shopping for one? See our guide: 6 Best Garden Layout Free Printable Printable Companion Planting Charts (2026): Our Picks.

In a square foot bed, the grid makes companion decisions easier because you are working in discrete units. You are not guessing about spacing between rows. Each square is a small decision, and the neighbors on all four sides matter.

Step 1: Plan Your Bed Size and Grid

Most square foot beds are 4 feet by 4 feet (16 squares) or 4 feet by 8 feet (32 squares). Narrower beds, around 3 feet wide, are easier to reach across without stepping on the soil. Mark the grid with string, wood strips, or a square foot grid frame. Keep the bed in full sun, which generally means at least 6 to 8 hours of direct light for fruiting crops like tomatoes and peppers.

Before you place a single seed, sketch the bed on paper. Use one box per square foot. This takes ten minutes and prevents the most common layout problem: putting a tall crop where it shades three smaller ones.

Tools and Materials Checklist

  • Measuring tape and string or a square foot grid frame
  • Graph paper or a printable square foot planning sheet
  • Compost and a balanced organic fertilizer
  • Seeds or transplants, labeled by crop and planting date
  • Plant markers or a garden journal
  • Mulch such as straw or shredded leaves

Step 2: Set Your Spacing Rules First

Square foot gardening uses fixed plant counts per square. Before choosing companions, know how many plants each crop needs. Spacing guidelines commonly used in square foot gardens look like this:

Crop Plants per square Height and shade role
Carrots 16 Low, fills gaps, loose soil needed
Bush beans 9 Low to medium, fixes nitrogen
Lettuce 4 Low, cool-season, shade tolerant
Basil 1 to 2 Low to medium, repels some pests
Marigold 1 to 4 Low, attracts beneficial insects
Tomato (staked) 1 Tall, casts shade, needs support
Cucumber (trellised) 1 Vining, climbs on north or east side
Radish 16 Very low, quick harvest

These counts are common starting points. Check your seed packet, since varieties differ. The point of the table is to show that tall and short crops need to be placed deliberately, not randomly.

Step 3: Choose Companions by Function

Good companion choices usually serve one of four purposes: pest management, pollinator support, shade or height management, or soil benefit. Think about which problem you want to solve in your bed.

Pairings That Commonly Work Well

  • Tomatoes with basil: Many gardeners plant them together for pest confusion and a shared kitchen harvest. Keep basil at the tomato’s base, not shaded out by it.
  • Carrots with onions or garlic: Alliums are often cited as deterring carrot rust fly. Plant them in alternating squares.
  • Beans with carrots or radishes: Low-growing root crops share space well with bush beans, which fix nitrogen in the soil.
  • Marigolds around the edges: Their scent is widely believed to deter some soil pests, and they attract hoverflies and other beneficial insects. For specifics, see Marigold for Companion Planting: A Step-by-Step Guide for Better Gardens.
  • Lettuce in the shade of taller crops: Lettuce bolts in heat, so placing it on the shadier side of a trellis or tomato can extend the harvest.

Pairings to Keep Apart

  • Tomatoes and potatoes: Both are susceptible to blight and share pests, so separate them across the bed.
  • Beans and onions: Onions can stunt bean growth, so keep them in different squares.
  • Carrots and dill: Dill can cross-pollinate and stress carrots nearby, so grow dill in its own corner.
  • Cucumbers and aromatic herbs like sage: Sage is often reported to slow cucumber growth, so keep them apart.

Herbs deserve special care. Parsley works well near tomatoes in many gardens, and Tomatoes and Parsley Companion Planting: 5 Best Picks for 2026 goes into the details. Rosemary pairs with cucumbers in some layouts, as explained in Rosemary and Cucumber Companion Planting: A Step-by-Step Guide.

Step 4: Build a Layout Using Height and Light

Place tall crops on the north side of the bed (in the Northern Hemisphere) so they do not shade shorter plants to the south. A staked tomato or a trellised cucumber in the north row keeps the rest of the bed in light. Medium plants like peppers and basil go in the middle rows, and low crops like lettuce, radish, and carrots fill the south edge.

For a worked example, a 4 by 4 bed might look like this: tomato in the north-center square with basil on its south side; beans in the two northeast squares; carrots in the middle-east; onions and garlic in the middle-west; lettuce along the south row; marigolds in the southwest corner. You do not need this exact pattern, but the logic of height and shade should guide any version you make.

If you want a visual reference, Layout Companion Planting Square Foot Gardening Chart: How to Build One (2026) shows how to turn your sketch into a reusable chart. For larger beds, Companion Planting 4×8 Raised Bed Vegetable Garden Layout: A Practical Guide (2026) applies the same principles to a longer footprint.

Step 5: Plant, Water, and Monitor

  1. Sow or transplant according to your region’s frost dates. Cool-season crops like lettuce and peas go in early spring; warm-season crops like tomatoes and peppers wait until nighttime temperatures stay above about 50°F.
  2. Water at the base of plants in the morning. Companion layouts can make it harder to reach every square, so a soaker hose laid along the grid helps.
  3. Mulch between plants to hold moisture and suppress weeds.
  4. Check the bed weekly for pests and signs of stress. Pulling a yellowing leaf early is often more effective than treating an entire bed later.
  5. Rotate crops next season. Move the plant family that occupied a square to a different square, so soil-borne problems do not build up.

Common Mistakes to Avoid

  • Planting too densely. Companion benefits do not replace proper spacing. Crowded squares compete for water and nutrients.
  • Ignoring mature size. Plant the tomato at its final shade footprint in mind, not its seedling size.
  • Treating companion claims as guarantees. Evidence for many pairings is mixed. Use them as one tool alongside good soil, watering, and monitoring.
  • Forgetting succession. A lettuce square harvested in June can take a bush bean crop in July.
  • Mixing herbs carelessly. Mint spreads aggressively. Keep it in a container or a corner square.

A sturdy grid frame makes square foot spacing easy to maintain season after season, since you can see each square at a glance. Look for one with 1-foot dividers.

View on Amazon

A soaker hose helps you water the bed evenly without disturbing neighboring plants, which matters when squares are packed tightly.

View on Amazon

A tomato cage or trellis supports the tall crops that anchor your layout, keeping them upright and out of neighboring squares.

View on Amazon

Tips for Better Results

  • Start a planting journal the first season. Record what worked, what got shade, and where pests showed up.
  • Use the same grid map each year and simply shift crops by family for rotation.
  • Plant a few flowers for pollinators in the outer squares, not in the middle where they may crowd vegetables.
  • Test your soil every few years and amend with compost to keep the bed productive.

FAQ

Does companion planting really work in a square foot garden?

Some pairings have reasonable support for pest deterrence or pollinator attraction, while others are based mainly on gardening tradition. Companion planting works best as one part of good spacing, watering, and crop rotation.

How many plants go in each square?

It depends on the crop. Radishes and carrots may take 16 per square, while a staked tomato takes one. Always check seed packets, since varieties vary.

Can I plant tomatoes and basil in the same square?

Many gardeners place basil next to tomatoes rather than sharing a single square, giving each plant room to grow. Keep basil in the sunnier side of the tomato’s shadow.

What should I never plant next to onions?

Beans and peas are commonly kept apart from alliums because onions can slow their growth. Keep them in separate squares.

How often should I rotate crops in a square foot bed?

Rotate each plant family to a different square every season, ideally with a gap of two to three years before returning the same family to the same spot.

Do marigolds have to be planted in every bed?

No. Marigolds are a helpful option for pest and pollinator support, but the bed can perform well without them if other practices are sound.

Is a raised bed required for square foot gardening?

A raised bed is not required, but it makes the grid easier to maintain and usually provides better drainage and soil control. For related planning, see Companion Planting for Raised Garden Beds: A Step-by-Step Guide.

Conclusion

Companion planting in a square foot garden comes down to matching plant height, spacing, and function within a simple grid. Start with a sketch, set your spacing rules, pair crops by purpose, and place tall plants where they will not shade the rest. Track results each season, and your layout will improve with every harvest.

Ethan Brooks

About Ethan Brooks

Ethan Brooks is part of our editorial team and reviews and edits our vegetable & edible gardening guides, checking product details against manufacturer specifications and owner feedback.