Kale in trough
UC Marin Master Gardeners

Preparing: Beds, Containers, Soil, Irrigation

How to Prepare an Edible Garden

Few areas of the garden benefit from detailed preparation like the edible garden. The two most important components are putting the infrastructure in place (beds and irrigation) and using healthy soil. Although this can take time and work, it's worth making the investment upfront so you can enjoy years of successful growing and harvests.  

Build healthy soil 
Healthy vegetable garden soil allows water, air, roots, and microorganisms to move easily. Gabriel Jiminez, Unsplash
Healthy vegetable garden soil allows water, air, roots, and microorganisms to move easily. Gabriel Jiminez, Unsplash

Whether you choose to plant in the ground or in raised beds or containers, soil is the key to success.  The majority of edible plants grow best in loamy soils, a mixture of clay, sand, silt, and organic matter. Since Marin’s soil is predominately clay, it retains water and nutrients but needs to be amended for improved aeration, drainage, and replacing nutrients that have been used or leached out. 

To grow edibles:
Start with healthy soil that has a pH between 5.5 and 7.5, depending on what different plants need:

  • Acid soil (pH 5.5) – berries
  • Alkaline soil (pH up to 7.5) – asparagus, beans
  • Wide-ranging soil pH – carrots, cucumbers, garlic, parsley, peppers, pumpkins, strawberries, and tomatoes

Evaluate your soil
Simple tests for drainage, texture, pH, and the primary macronutrients – nitrogen, phosphorus, and potassium -- will help you determine what type of planting situation (in-ground or raised beds) would work best. Learn how to evaluate your soil.   

Address soil nutrient problems
Edible plants provide clues when there is too much or too little of one or more of the six macronutrients. Here's how to recognize and address soil nutrient problems in the vegetable garden

HOW TO BUILD SOILS FOR EDIBLES
1. Start with compost: Add 1 to 2 inches of compost twice a year, for example in spring and fall, about two weeks before planting. This replaces nutrients, restores microbiological activity, and maintains soil health.

2. Test and add amendments as needed and according to directions on the product. Add amendments 1 to 2 weeks before planting.

3. Grow cover crops in winter and dig the plants into the soil in spring. 

4. Add a layer of mulch in summer (leaves, rice straw, or another layer of compost) to retain moisture, minimize weeds, and provide habitat for soil organisms that positively affect plant health. 

5. Add organic matter such as compost, leaves, and aged manure. 

6. Consider sheet mulching(also known as sheet composting)This is a process to eliminate lawns and weedy areas while building healthy soil. It is best started in the fall to prepare for a spring garden, but it can be done anytime. Within six months, the sheet-mulched area will have decomposed to about half its height and will be ready to plant.

MAKE YOUR OWN SOIL MIX
The most reliable and cost-efficient soil mix for your garden beds and seed flats may be one you blend at home. Some soil mixes actually contain no “soil” and are instead a blend of amendments. Soil mixes should be light in texture, hold water, drain well, be weed and pest free, and provide proper nutrients for the application. If you purchase potting or soil mix, be sure to do so from a reputable manufacturer that discloses the contents and nutrient value of materials. =

Soil mix for starting seeds 
• 1 part coco peat or peat moss 
• 1 part perlite 
• 1 part vermiculite 
• 1 part potting mix (optional) 
• Shake of local soil 

Soil mix for containers
• Use high-quality potting mix. 
• Do not use garden soil. 
• Water well before planting and let it sit for a day to dampen and settle. 

Soil mix for in-ground and raised beds 
This makes about 1 wheelbarrow. Note: a #10 can is a 3-pound coffee can.
• 15 gallons sifted compost (about 1/2 wheelbarrow) 
• 2 gallons sifted peat moss 
• 2 gallons perlite 
• 2 gallons vermiculite 
• 2 gallons worm castings 
• 1/4 #10 can kelp meal 
• 1/4 #10 can gypsum 
• 1/4 # 10 can bone meal 

Follow these guidelines for beds and paths

To keep your garden accessible and well-organized, use these general guidelines when laying out your planting beds.

Width and length 
• Keep beds a maximum 4 feet wide so you can access them from both sides. 
• If accessible from only one side, limit to 2 to 3 feet wide. 
• Beds/rows may be as long as space and irrigation system allows. 

Depth
• Prepare beds to a minimum depth of 6 inches. 
• 12 inches is better for drainage, aeration, and root development. 

Orientation
• In large gardens there may be advantages for directional orientation of rows and beds, but this is not usually the case in smaller backyard settings. 
• Orient planting beds to suit your personal preference and plant your tallest plants on the northern side. 

Path width
• Keep paths minimum 2 to 3 feet wide to accommodate wheelbarrow, ease of movement, etc.

Care
• Don’t walk on garden beds or they will become compacted and not drain. 

Decide on types of beds
Building raised beds is work, but it offers many long-term benefits. Gael Perrin
Building raised beds is work, but it offers many long-term benefits. Gael Perrin

In-ground raised beds and rows
• Inexpensive way to create a healthy spot for growing your favorite fruits and vegetables
• Easier and less costly to construct than boxed raised beds
• Easier to turn over
• Offer growing spaces in gardens where boxes do not fit 
• Build in-ground raised beds where there is at least one-foot of soil with no underground limitations  

Boxed raised beds
• Help with tunneling pests, poor drainage, poor soil, and underground rock
• Reduce the possibility of erosion by containing soil
• Warm up earlier in the spring 
• Can be built to heights that limit bending
• Reduce soil compaction
• More expensive to build but are a more permanent option 
• Some types of raised beds are portable

Containers
• Easy and convenient 
• No digging and the container may be placed right outside the kitchen door 
• Terrific for patio gardens, accent plantings and for plants that may be invasive such as mint 
• May be placed on wheels and if tall enough, may be wheelchair accessible 
• Most any container made of a material that holds up well when wet and left outdoors will do 
• Be creative and take a trip to a salvage yard or hardware store for inspiration
• Learn more about growing edibles in containers

Visit our Edible Demonstration Garden in Novato to learn how to grow edibles in soilless straw bales.
Visit our Edible Demonstration Garden in Novato to learn how to grow edibles in soilless straw bales.

Straw bales: 
While most gardeners grow crops using soil or raised beds, it's possible to grow vegetables without soil using straw bales.

• Readily available material for soilless gardening that will provide compost as a byproduct 
• Allow gardeners to avoid growing in poor soils or locations where plant diseases may already be present
• Requires additional water and fertilizer to prepare them for gardening 
• Have been used as a growing medium for vegetables for at least half a century in Europe
Learn more about growing edibles in straw bales 

Clear and clean your planting site
Once cleared and prepared, in-ground raised beds can be effective growing areas. Photo: Benyamin Mellish, Pexels
Once cleared and prepared, in-ground raised beds can be effective growing areas. Photo: Benyamin Mellish, Pexels

Once you've selected and assessed your site, evaluated your soil, and know what type of beds you want, you're ready to get going. 

• If you discovered any hazards or limitations above or below the site, (electrical wires, limbs, plumbing, rocks, high water table, easements etc.) begin by addressing these issues. 
• If you are unsure of the location of underground utilities, check with your utility company. 
• If your site is sloping, construct terraces or level planting boxes to minimize runoff and erosion. 
• If your site includes ornamental vegetation that shades garden beds or competes for irrigation, consider removing it. 
• If your site is covered in weeds, remove them when soil is damp and appropriately discard invasive weeds such as Bermuda grass, purslane, morning glory, and Scotch broom. 

Construct planting beds

In-ground raised bed: 
• Remove weeds when soil is damp but not wet 
• Use a digging fork to loosen soil to a depth of 6 inches 
• Spread 2 inches of compost on top 
• Add other organic matter such as straw and dried leaves 
• Evenly scatter amendments such as blood meal, kelp meal, rock phosphate etc., to adjust nutrients as indicated by soil test 
• Alternatively, premix compost with amendments and spread the premixed blend over the raised bed 
• With a shovel or digging fork, blend the compost and amendments into the bed to a depth of 6 inches 
• Mound soil above the height of the ground into rows 30 to 36 inches wide 
• Build rows 2 to 3 feet apart and do not step on the beds 

Boxed above-ground raised beds solve many problems.

Boxed raised beds
• Often made of 2-inch by 6-inch or 2-inch by 12-inch preservative-free redwood or fir
• Boxes are made in a variety of sizes; multiples of 4 are efficient as they reflect the 8-foot standard length of lumber 
• Reinforce corners with 4-inch by 4-inch wooden posts or metal corner brackets
• Install half-inch hardware cloth on the bottom to deter gophers 
• Once in place, fill boxes with potting mix or amended local soil 

Build an irrigation system for edibles
Build flexibility into your edible garden's irrigation system. Photo: Courtesy UC Regents
Build flexibility into your edible garden's irrigation system. Photo: Courtesy UC Regents

Irrigation systems in edible gardens need to be flexible because crop locations change from season to season and water requirements differ based on what's growing and whether plants are grown from seeds or starts. It's tedious and time-consuming to change drip emitter locations every season. Overhead or micro-sprayers are good for starting seeds, but not always a good choice for established plants such as tomatoes, which don't appreciate wet foliage. In addition, it is important that the gardener can easily amend beds without having to navigate around irrigation tubing, emitters, etc.

HOW TO BUILD A FLEXIBLE DRIP IRRIGATION SYSTEM for an edible garden bed:

Follow these instructions to create an irrigation system that allows you to irrigate your edible crops with drip (for starts and established plants) or spray (for seeds). Because this system only connects to ONE point, it can be "lifted" to allow unimpeded access to the bed for amending soil. 

1. Identify one point of connection (to water) for a garden bed. 

2. Starting and ending at that one point of connection, build a perimeter 'loop" using 5/8-inch irrigation tubing. It should outline the bed and only be "connected" at the one place. 

3. Run 1/4-inch or 5/8-inch emitter lines from one end of the perimeter tubing to the other, 6 to 8 inches apart. Be sure to tap into the perimeter line at both ends. This should allow you to plant anywhere in the bed and access drip irrigation. 

4. Install adjustable micro-spray risers to the perimeter tubing so that it's possible to "spray" the entire bed if necessary OR turn one or more off when not needed. (This is helpful when starting seeds outdoors.)

Rules of thumb for irrigating edible crops: 
• Use a drip system if possible. 
• Begin the season with a garden bed moist to a minimum of 12 inches deep. 
• Check moisture content of soil with your finger several times per week.
• Water when the top 1 to 2 inches of soil is dry. 
• Avoid wet/dry cycles and keep your garden consistently moist. 
• Occasionally check 8 to 12 inches deep to ensure that the deeper soil is also moist. 
• Irrigate early in the day. 
• Observe plants for feedback. Yellowing of lower leaves provide evidence of over watering. Wilting and browning at edges indicates under-watering.
• When hand watering, apply water directly to the bed until the soil “shines” for 10-15 seconds.
• Plants need approximately 1 gallon of water per week in peak heat so if you are hand watering 3 times a week, apply about 1/3 of a gallon per plant per watering.
• Shallow rooted plants such as lettuce and other greens may require frequent shallow watering while plants with deeper roots, such as tomatoes, may be irrigated less often. 
Learn more about irrigation

BACK TO EDIBLES
> What Edible Gardens Need
> Best Choices for Marin
> How to Prepare
> How to Plant
> Edibles in Containers
> Planting Calendar
> Grow & Care Sheets for Vegetables, Herbs & Fruits
> Tips & Techniques
> How to Maintain
> Fruit Trees
> Top 20 Edible Garden Problems
> Cover Crops & Soil Enhancements in the Off-season
> Conserving Water

•••••••••

Visit our EDIBLE DEMO GARDEN at IVC Organic Farm & Garden
Primary Image
A harvest of crisp, bright green lettuce is satisfying anytime of the year
UC Marin Master Gardeners: Article

Growing Lettuce Year-Round

December 3, 2025
Lettuce is generally considered to be a cool-season annual, but with a little advanced planning and some judicious plant selection, Marin gardeners can enjoy home-grown lettuce throughout the year. Our temperate climate makes it possible to modify the growing conditions for lettuce and enable the plants to…
View Article
Primary Image
Bank vole
UC Marin Master Gardeners: Article

July 2025: Vole Invasion

July 16, 2025
July 2025: Vole Invasion Protecting the growing plants from hungry critters is an ongoing challenge in the Edible Demo Garden. Wire mesh is used extensively under planting beds and around the straw bales to discourage gophers. Yards of protective netting keep the birds and rabbits from eating young…
View Article
Primary Image
Patio gardening
UC Marin Master Gardeners: Article

June 2025: Patio Gardening

May 26, 2025
By Melissa McLean
 This past month EDG volunteers created a small “patio” in the garden to demonstrate how edibles can be successfully grown in limited space. Too often gardeners are discouraged from growing edibles, believing that it takes a large back yard with room for long rows of plants. However, with the…
View Article
Primary Image
Plastic tubbing of drip irrigation system
UC Marin Master Gardeners: Article

May 2025: Drip Irrigation Troubleshooting

April 29, 2025
By Melissa McLean
 When the winter rains end, it’s time for gardeners to focus on providing spring and summer edibles with the water they need to grow and produce. While hand watering may be the simplest way to adjust watering to the needs of individual plants, it’s not the most efficient means for getting the right…
View Article
Primary Image
Seed packets
UC Marin Master Gardeners: Article

April 2025: The Joys of Selecting and Planting Seeds

March 24, 2025
By Melissa McLean
 It’s hard to find a gardener who doesn’t love checking out new seed varieties and anticipating the abundant and tasty harvest they promise. The photos and descriptions are tantalizing and the names intriguing. Who wouldn’t be curious about a pumpkin variety called ‘Abominable’, a pepper named ‘Frodo’,…
View Article
Primary Image
There are many choices in by-pass pruners with models that fit different hand sizes.
UC Marin Master Gardeners: Article

February 2025: Choosing the Right Garden Tools

January 25, 2025
In January, the 2025 Marin Master Gardener training class was welcomed into the Edible Demonstration Garden for a discussion and demonstration on the use and care of garden tools. The right tools make the difference between gardening that is pleasurable and gardening that is a struggle.
View Article

January 2025: Natives in the Edible Garden

Primary Image
Ceanothus blossoms attract native California bumble bees.
Body

natives 1
Natives are welcome in the Edible Demo Garden. As a joint project with the Native Plant Guild in October 2021, garden volunteers planted a variety of sun-loving, drought tolerant California natives in a corner of the garden area. Some have flourished and some have not, but that’s what happens in a demonstration garden. It’s all about learning what plants need and the conditions that suit them best. The primary goals of the project were to provide year-round beauty and attract pollinators. It turns out that there are even more reasons why native plants benefit an edible garden.

Native Plants Attract Pollinators and Invite Beneficial Insects

natives 3
The blooming periods of native plants coincide with the times when pollinators are most active, and these can overlap with the flowering times of vegetable plants. Native plants that flower in early spring can bring in pollinators before vegetable blossoms emerge. This is particularly important for native bees who are even more efficient pollinators than honeybees. Fall blooming native plants help to create a steady supply of food and resources to keep the pollinators around and encourage them to overwinter in the garden.

Native plants also invite beneficial insects that are natural enemies of vegetable garden pests. Beneficials such as hoverflies, lady beetles, and lacewings go where they find the herbivorous insects they like to eat. It doesn’t matter to them whether their prey is on an edible plant or a native. The natives keep the beneficial insects nearby, so they are there to control pests when the vegetable crops are planted.

natives 2

Native Plants Improve Soil Health

Native plants support soil biodiversity by providing habitat for beneficial microorganisms like fungi and bacteria. Some can act as nitrogen-fixers to improve soil fertility. Natives with deep root systems can improve soil structure by creating channels through which water and nutrients can penetrate. When the roots and leaves of the native plants die back, they add organic matter to the soil reducing the need for soil amendments.

Native Plants are Low Maintenance

Natives don’t need fertilizing and require little watering once they are established. While some need deadheading and cutting back, it’s best to minimize the kind of tidying up that’s done in the edible garden. The native plants can offer a refuge for beneficial populations, providing them with undisturbed nesting and overwintering sites. Ideally the native plants attract enough beneficial insects and other natural enemies to maintain a healthy balance so that pests are kept in check.

natives 4
Occasionally a native plant can require more severe pruning. Recently a Coyote Brush, Baccharis pilularis, adjacent to the Edible Demo Garden, grew too large and began to produce an abundance of the fluffy white seeds typical of the female flowering plant. Although some classify Coyote Brush as a weed, it is a keystone plant which has significant value in a habitat garden. Armed with saws and pruning tools, the volunteers cut the overly ambitious native down to a manageable size.

Native Plants Add Beauty and Interest

Native plants bring unique beauty to the garden. The natives planted in the Edible Demo Garden were initially chosen to provide blooms throughout the year. Some flower early and bring color into the winter garden and others extend their blooming period into late fall. They add contrast to the flowering of the vegetables and fruit trees. Ceanothus ‘Concha’ now masks the compost bins with its copious cobalt blue flowers in early spring.  Coast Aster, Aster chilensis, provides bright, daisy-like blossoms throughout summer and fall. Bees and hummingbirds enjoy the showy red tubular blooms of California fuchsia, Epilobium, into late fall. The goal to bring native plants into the Edible Demo Garden to provide year-round beauty has been achieved.

For more information on growing native plants, click here.

UC Marin Master Gardeners

December 2024: Giving the Garden a Rest

Primary Image
Fava beans are an attractive and popular cover crop due to their nitrogen-fixing effects in the soil. Photo: Flickr
Body

Covercrop 1
After an especially busy summer and fall harvest season, it was time to consider what to plant next in the Edible Demo Garden. In Marin it’s possible to grow vegetables year-round and there are plenty of winter crops such as cabbage, cauliflower, and onions to select. However, another option is to not plant anything during the winter months and give the garden beds some time to rest and rejuvenate. This puts the focus on caring for the soil so that when it comes time for spring planting, the garden will be ready. With this plan in mind, the recent off-season activities for the Edible Demo Garden volunteers have concentrated on methods for giving the garden time to rest. The primary options for resting the garden are planting cover crops and allowing some beds to be fallow for a season.

Planting cover crops

There are many advantages to planting cover crops. Cover crops, sometimes referred to as “green manure”, are an excellent way to protect and improve soil. They increase organic matter, suppress weeds, prevent damage from wind and water erosion, and support beneficial insects and earthworms. Plus, they can look attractive while nurturing the garden.

Covercrop 2
Cover crops are divided into two main categories: legumes, such as clover and fava beans, and non-legumes, like rye and buckwheat. Legumes have the added benefit of fixing nitrogen by taking it from the air and converting it into a form to be used by plants. Cover crops are turned over when they start to flower and allowed to decompose prior to spring planting.

Two different cover crops were chosen for the Edible Demo Garden. Fava beans were planted in several of the garden beds and in the straw bales used for the summer crops. The latter is an experiment to determine if there is sufficient residual fertility in the straw bales to support another crop. In order to aid in germination and enhance their nitrogen fixing effects, the fava bean seeds were soaked in an inoculant containing rhizobacteria prior to planting. As an alternative cover crop, a green manure mix of bell beans, field peas, and purple/hairy vetch was planted in some of the raised beds. Past experience with crows eating the sprouting seeds necessitated the use of compost, straw, and protective netting to give the cover crop seedlings a fighting chance. The effectiveness of the different cover crops will be tested in spring when it is time to plant again.

Allowing beds to remain fallow

Covercrop 3
Taking a garden plot out of the crop rotation for a season can give the soil time to naturally replenish nutrients. It can also be a way to discourage pests, prompting them to move on once their food source is gone. However, fallow garden beds can also invite weeds and leave the soil exposed to the elements. In the Edible Demo Garden, layers of compost and straw were added to suppress weeds and protect the soil in the beds designated to be fallow. The winter rains will keep the soil moist and provide a habitat for earthworms and beneficial microbes.

Click here for more information on cover crops and soil enhancement in the off-season.

UC Marin Master Gardeners

November 2024: Experimenting with Different Tomato Varieties

Primary Image
Seven tomato varieties were included in the Edible Demo Garden “Tomato Experiment”. Four are pictured here. Photo by Jenny Chan.
Body

Tomatoes 1

Tomatoes are among the top summer crops in the Edible Demo Garden and each year there are decisions to be made about which varieties to grow. Since there are reported to be over 10,000 varieties of tomatoes, it’s important to narrow down the selection considerably and plant only those varieties that grow well in Marin and are appealing to consumers. However, even within those broad parameters, many choices can be made. The Marin Master Gardeners typically offer sixteen varieties in their annual tomato plant sales. These are the varieties that have proven over the years to be the most popular with customers. Each year one or two new varieties may be offered to replace some that have not fared so well in terms of sales or customer reviews. Choices about new varieties are usually based on members’ recommendations.

The Tomato Experiment

This spring the Edible Demo Garden and the Edibles Guild launched a collaborative experiment to determine which of seven tomato varieties not previously sold in the tomato market, would be most successful in Marin’s different growing conditions. The experiment involved adopting out 132 plants grown in the Indian Valley Organic Farm & Garden greenhouse to 37 Marin Master Gardeners willing to try growing them in their own gardens. The seven varieties were:

Tomatoes 2

  • Costoluto Genovese – a classic red Italian heirloom
  • Bicolor Marvel Stripe – a marbled red and gold heirloom
  • Moonglow – a bright orange heirloom
  • Mortgage Lifter – a large meaty red heirloom
  • Magic Bullet – an elongated cherry-sized open pollinated variety
  • Pink Berkeley Tie Dye – a wine-colored open pollinated variety with green stripes and pink flesh
  • Amish paste – a small bright red heirloom best used for sauces

The tomato adopters agreed to submit data describing their experiences growing the trial tomatoes. They recorded the garden type, location, and microclimate, when the tomatoes were planted, how they were cared for, and when the first tomato was harvested. Then they subjectively rated the tomatoes on yield and taste. Finally, and most importantly, they answered the question – “would you grow this variety again?”.

Which varieties had the best results?

Tomatoes 3
Tomato season isn’t completely over in some areas of Marin and the data are still being collected. However, there are some interesting early results. Magic Bullet, the most unique variety in terms of the appearance of the fruit, had high ratings for yield and taste. It was a big producer in the Edible Demo Garden and sold out quickly at the IVC Farm Stand. Mortgage Lifter also stood out due to the beauty and size of the fruit, one tomato weighing over 1.5 pounds. That variety reportedly earned its name after it was so successful that the original developer was able to pay off his mortgage in six years (that was back in the 1930s). Amish Paste, was a disappointment, ending up at the bottom of the list for yield and taste. The other varieties were rated somewhere in the middle. So far, the majority of the Master Gardeners who grew Bicolor Marvel Stripe, Mortgage Lifter, Magic Bullet, or Pink Berkeley Tie Dye, responded either “yes” or “maybe” to the question about whether they would grow that variety again.

What matters most when choosing tomatoes to plant

One of the most important factors to consider when choosing a tomato variety is the microclimate in the growing location. Tomatoes need sunshine and warm soil. All the experimental tomatoes required temperatures above 65 degrees and some preferred 75 degrees. During a typical spring, in most areas of Marin, around May 1st is when the temperatures are best for planting tomatoes. Tomatoes planted before the air and soil are sufficiently warmed, will sit idly by until the conditions are right. Conversely, tomatoes don’t like extreme heat and will stop production during heat waves like those experienced in parts of Marin this summer.

Linked to microclimate are days to maturity. This is the average time it takes for the first ripe fruit to develop in ideal heat conditions. Magic Bullet, Pink Berkely Tie Dye, and Costoluto Genovese are considered mid-range, requiring 70 to 80 days to mature. The others are late maturers, needing more than 80 days to produce ripe fruit. Bicolor Marvel Stripe takes 95 days to mature. In cool areas of Marin, there may not be enough warm days for some late maturing tomato varieties to reach full production.

Click here for more advice on selecting and growing tomatoes. 

UC Marin Master Gardeners
Primary Image
Italian parsley is a popular biennial herb that grows well in sunny, moist garden conditions.
UC Marin Master Gardeners: Article

October 2024: Herbs Among the Edibles

September 25, 2024
Herbs may not be the stars in the Edible Demonstration Garden, but they are notable members of the supporting cast. Its hard to imagine a flourishing vegetable garden without a few culinary herbs as companions.
View Article