What Containers Are Safe to Grow Vegetables In?

Decode plastic codes and identify toxic materials. Choose safe containers to prevent chemical leaching into your home-grown vegetables.

Most containers you can buy at a garden center are perfectly safe for growing vegetables, as long as you steer clear of a few well-known problem materials. The short list of what to avoid is more useful than the list of what works: PVC plastic, old chromated-copper-arsenate (CCA) pressure-treated lumber, and ceramics with lead-based glazes are the main culprits. Everything else, from food-grade plastic buckets to untreated cedar planters to plain terra cotta pots, is fair game with a little common sense about drainage, soil quality, and sun exposure.

Plastic Containers and Recycling Codes

Plastic is probably the most common material people reach for when setting up a container garden, and the recycling number stamped on the bottom is a decent first filter. Codes #1 (PET), #2 (HDPE), #4 (LDPE), and #5 (PP) are all considered food-safe by regulatory standards. These plastics are chemically stable under normal outdoor conditions and are the same materials used for milk jugs, yogurt tubs, and food storage bins. HDPE (#2) and polypropylene (#5) are especially popular for commercially sold garden containers because they hold up well to UV light and temperature swings.

The codes to watch out for are #3 (PVC) and #6 (polystyrene). PVC is the bigger concern for vegetable gardening. It contains phthalate plasticizers, particularly DEHP, that can leach into surrounding water and soil. Research on PVC microplastics has shown that environmental conditions like temperature, water flow, and the chemistry of the surrounding solution all affect how much DEHP migrates out of the plastic, with warmer and more agitated conditions speeding leaching considerably. Phthalates are endocrine disruptors, and while the amounts that actually make it into a vegetable grown in a PVC pipe are debated, there is no good reason to use PVC when safer alternatives cost the same or less. White PVC drain pipes are sometimes repurposed into vertical garden planters on social media, but food-grade HDPE buckets are a better choice.

Code #7 is a catch-all for “other” plastics and includes polycarbonate, which historically contained bisphenol A (BPA). Most newer #7 containers are BPA-free, but because the category is so broad, it is hard to know what you are getting. If you cannot confirm what a #7 container is made of, it is simpler to pick a labeled #2 or #5 container instead.

How Plastic Breaks Down Over Time

Even safe plastics do not last forever outdoors. UV radiation and temperature cycling cause plastics to become brittle and crack, eventually shedding tiny fragments. Polypropylene geotextile fabric, for example, lost roughly 30 percent of its tensile strength after two years of outdoor exposure, with visible microscopic cracks forming across the fibers. That kind of degradation applies to any plastic container sitting in full sun year after year.

The fragments plastics shed as they break down, broadly called microplastics, can accumulate in soil and be taken up by plant roots. Research has documented multiple pathways for microplastics to enter the soil environment, including the breakdown of plastic mulch films and containers used in agriculture. For a home gardener, the practical takeaway is to replace plastic pots once they start cracking or flaking rather than letting them slowly disintegrate into the soil. A container that is obviously deteriorating is doing its worst work right at the root zone.

Wood Containers

Untreated wood is one of the most popular and genuinely safe materials for raised beds and planter boxes. Cedar, redwood, and black locust are naturally resistant to rot and insects, making them good choices for direct soil contact without any chemical treatment. They will still break down over years, but they add nothing harmful to the soil in the process. Pine and fir are cheaper but rot faster, often lasting only three to five seasons in wet climates.

The concern with wood has always been about chemical treatments. Older pressure-treated lumber (sold before 2004 in the United States) used CCA, a preservative containing chromium, copper, and arsenic. CCA-treated wood is no longer sold for residential use, but you can still find it in old decks and fences. Do not repurpose it for a vegetable garden. Modern pressure-treated lumber uses different formulations, the most common being alkaline copper quaternary (ACQ) and copper azole. These are copper-based rather than arsenic-based, and they are generally considered acceptable for use around edible gardens.

That said, copper does leach from ACQ-treated wood, and how much leaches depends heavily on the pH of the surrounding soil and the specific chemistry of the preservative. Research has found that at higher pH levels, substantially more copper migrates out of ACQ-treated wood compared to near-neutral conditions. Copper is an essential plant nutrient in small amounts, but excess copper can build up in soil over many years. If you are using ACQ-treated lumber for a raised bed, lining the interior with heavy-duty landscape fabric or food-grade plastic sheeting creates a barrier between the treated wood and your soil. That eliminates the question entirely while still getting the structural benefits of the treated lumber.

Metal Containers

Galvanized steel stock tanks and troughs have become trendy raised beds, and they work well. The zinc coating on galvanized steel does slowly corrode, releasing zinc into the soil. Zinc, like copper, is a plant micronutrient, and the amounts released by a galvanized container under normal garden conditions are generally small. The bigger practical issue with metal containers is heat: they absorb and conduct heat from the sun, which can overheat roots in summer. In hot climates, placing a metal container where it gets afternoon shade, or insulating the interior with a layer of cardboard or straw, keeps soil temperatures from climbing into the danger zone for roots.

Aluminum containers are inert enough to be used for food and beverage cans, so they are not a chemical concern. Stainless steel is similarly safe. The one metal to avoid is lead-soldered containers. Old washtubs and antique metal planters sometimes have lead solder at the seams. If you are not sure what the solder is made of, either skip the container or line it with plastic sheeting.

Terra Cotta, Ceramic, and Concrete

Unglazed terra cotta is about as safe as a container gets. It is just fired clay, with no coatings or chemical treatments. Its porosity is actually a feature for many plants, allowing air exchange through the walls and making overwatering harder. The downsides are weight and fragility, not safety.

Glazed ceramics are a bit more complicated. Modern commercial pottery sold for garden or kitchen use in the United States and Europe is typically lead-free. The risk comes from imported decorative pottery, antique pots, and handmade ceramics from regions where lead-based glazes are still used. Lead glazes give a particular glossy, richly colored finish, and they have a long history in traditional pottery worldwide. Even in areas with significant glazed ceramic production, research has found that lead levels in soil and vegetables can still fall within regulatory limits, with the risk from eating locally grown vegetables rated as negligible in at least one assessment. Still, the safest approach for a container garden is to buy pots labeled as food-safe or lead-free, or simply use unglazed terra cotta and skip the question.

Concrete and hypertufa (a lightweight concrete mix) are both safe for vegetable gardening. Fresh concrete is highly alkaline, and that high pH can temporarily affect soil chemistry if the container is brand new. Curing or weathering the container for a few weeks by filling it with water and letting it sit, or rinsing it with a mild vinegar solution, brings the pH down. After that initial period, concrete is chemically inert for all practical purposes. Cinder blocks, which are sometimes used to build raised beds, are similarly safe. Older blocks occasionally contained fly ash, which can carry trace heavy metals, but modern cinder blocks are made with lightweight aggregate and are not a meaningful source of contamination.

Fabric Grow Bags

Fabric pots and grow bags, typically made from a nonwoven polypropylene felt, have become popular for balcony and patio gardens. Polypropylene is the same #5 plastic used in food containers, and the fabric form does an excellent job of air-pruning roots and preventing circling. These containers are lightweight, cheap, and easy to store off-season.

The trade-off is durability. Because the material is thin and exposed to UV on all sides, fabric bags degrade faster than rigid plastic pots. You can expect two to four good seasons from a quality grow bag before it starts to weaken and tear. As noted earlier with rigid plastic containers, replacing bags once they start to visibly deteriorate is better than letting them slowly shed fibers into the soil. Some manufacturers add UV stabilizers to extend the life of their bags, which is worth looking for if you plan to leave them outdoors year-round.

Repurposed Containers and Common Mistakes

The internet is full of creative container garden ideas, and many of them are fine. Food-grade five-gallon buckets from bakeries and restaurants are among the best cheap containers you can get. Wine barrels, once the interior char is intact or lined, work well. Wooden crates, old wheelbarrows, and even ceramic sinks can make perfectly good planters.

But a few commonly repurposed items are genuinely worth avoiding:

  • Tires: Rubber tires contain a complex mix of chemicals including zinc, cadmium, and polycyclic aromatic hydrocarbons. As the rubber breaks down in sunlight and heat, those compounds leach into the surrounding soil. Some gardeners insist the leaching rate is negligible, and it may be for a single season, but over multiple years the accumulation is hard to predict and the risk is not worth it when a $5 HDPE bucket does the same job.
  • Painted containers: Old painted furniture, vintage buckets, and decorative items may carry lead-based paint, especially if they predate the late 1970s when lead paint was phased out for residential use. Even newer painted containers can shed paint chips into the soil. If you love the look of a painted planter, paint only the exterior and line the interior.
  • Industrial drums and barrels: Unless you know exactly what was stored in a barrel, do not plant food in it. Chemical residues can persist in plastic and metal even after washing.

Tires are probably the single most controversial item on this list. You will find gardeners who have used them for decades without apparent problems. The challenge is that “apparent problems” is doing a lot of work in that sentence, since heavy metal contamination in vegetables is invisible and cumulative. Given the cheap and abundant alternatives, there is no compelling reason to gamble on a tire planter for edible crops.

Which Vegetables Absorb the Most Contamination

Even if a container itself is safe, the soil you fill it with matters. And interestingly, not all vegetables absorb contaminants equally. Research on vegetables grown in contaminated soil has found that some species accumulate heavy metals well within safe limits while others concentrate metals in their tissues above what international guidelines consider acceptable. In one study, cucumbers, peppers, lettuce, squash, and several herbs all remained within the limits set by the Food and Agriculture Organization, while tomatoes and eggplant exceeded those limits for multiple heavy metals and showed elevated bioconcentration factors.

That does not mean tomatoes are dangerous to grow in containers. It means that if you are uncertain about your soil quality or container material, leafy greens and fruiting crops like peppers and cucumbers are inherently lower-risk choices than tomatoes or eggplant. Root vegetables like carrots and beets are also worth being cautious with, since they are in direct contact with the soil for the entire growing season. For container gardening specifically, the easy fix is to use a high-quality potting mix from a reputable supplier rather than filling your containers with backyard soil of unknown history.

How Soil Amendments Reduce Risk

Even when soil does contain low levels of heavy metals, whether from the container itself, from airborne deposition in an urban environment, or from unknown history, the soil chemistry has a big influence on whether those metals actually make it into your vegetables. Organic matter plays a particularly important role. Compost amendments have been shown to increase plant yields while simultaneously reducing plant uptake of metals, in part by raising soil pH and improving nutrient availability so plants are less likely to pull up metals as substitutes for missing nutrients.

This is relevant for container gardening because the potting mix you choose is entirely within your control. A mix rich in compost and organic matter creates a more favorable chemical environment in the container, one where heavy metals are more likely to bind to organic particles and stay put rather than dissolving into the soil solution where roots can absorb them. For anyone growing food in an urban balcony or rooftop setting, where background lead from decades of leaded gasoline can be present in dust and rainfall, a compost-rich growing medium acts as a meaningful buffer.

Drainage, Liners, and Other Practical Details

Whatever container you choose, a few universal principles apply. Drainage holes are essential. Waterlogged soil creates anaerobic conditions that can change the chemistry of metals in the soil, making some of them more mobile and available to roots. A container with no drainage is a bigger practical risk to your plants than the container material itself.

Liners are worth mentioning because they solve problems across multiple container types. A sheet of food-grade polyethylene (the same plastic used in pond liners and vapor barriers) placed inside a questionable container creates a barrier between the container wall and your growing medium. You can line a concrete block raised bed, a galvanized trough, a pressure-treated lumber box, or a recycled barrel with the same material. Poke drainage holes through the liner at the bottom, and the growing medium never contacts the container walls directly. It is an inexpensive insurance policy that lets you use containers you might otherwise skip.

Container color also matters more than people realize, though not for chemical safety reasons. Dark-colored containers absorb significantly more heat than light-colored ones. In summer, a black plastic pot in full sun can raise soil temperatures high enough to stress or kill roots on the sun-facing side. Light-colored or reflective containers keep root-zone temperatures closer to ambient air temperature. If you are gardening in a hot climate, white or tan containers, or fabric bags with their natural air circulation, will produce healthier plants than dark pots baking in direct sun.

Size is another consideration that interacts with safety in a subtle way. A very small container dries out fast, which means you water more frequently, which means more water is cycling through the growing medium and past the container walls. If the container has any tendency to leach (as copper-treated wood or galvanized steel might, very slowly), more water movement means more cumulative leaching over the season. Larger containers hold more soil, dry out more slowly, need less frequent watering, and dilute any trace contaminants across a bigger volume. For food crops, containers of at least five gallons are a good baseline for most vegetables, and bigger is generally better for both plant health and peace of mind.