The honest answer
No weed killer is entirely risk-free near food, but some approaches carry much less risk than others. In a vegetable garden the safest options are usually not sprays at all. If you do use a product, choose one whose label explicitly allows use around edible crops, follow it exactly, and apply it so it does not touch the plants you plan to eat.
Why vegetable gardens are different
Most weed killers are designed to kill plants, and a vegetable is a plant. Many broadleaf herbicides can distort or kill tomatoes, beans, peppers and other crops from a small amount of spray drift or vapor. Some products also leave residues in soil or have waiting periods before you can plant or harvest. Because you are eating what grows there, label directions take on extra importance.
Non-chemical options first
These carry no spray risk and work well in vegetable beds:
- Mulch. Straw, shredded leaves, grass clippings (free of herbicide) or wood chips between rows suppress many weeds. See is mulch an effective weed control for what to expect.
- Hoeing and hand weeding. Small, frequent sessions are more efficient than occasional big clean-ups.
- Close spacing. Crops that shade the soil leave less room for weeds.
- Cardboard or sheeting in paths and fallow beds, which smothers weeds without chemicals. Some details are in does cardboard work as a weed barrier.
- Drip irrigation that waters crops rather than the entire bed.
- Soil solarization of empty beds in hot, sunny weather.
For more ideas see how do I control weeds in my garden and the broader overview of whether there is organic weed control.
If you want a spray
If you decide to use a spray, a few product types are labeled for limited use in or around gardens. Which ones are allowed depends on your country and region, so the product label is the authority.
- Organic-approved contact sprays (such as those based on acetic acid, pelargonic acid or clove oil) burn the leaves they touch. They tend to be used for spot treatment of young weeds and in paths, and they will also damage vegetable foliage on contact.
- Glyphosate products are sometimes used in beds before planting or in non-crop areas, but they are non-selective and can injure or kill any plant they contact. Many labels set conditions on use around food crops and waiting periods. A related question is covered in can you spray Roundup in your vegetable garden.
Selective lawn herbicides, including broadleaf killers, are generally not for use in vegetable beds, and clippings from treated lawns should not be used as mulch unless the label says it is fine.
Reducing risk when spraying
- Treat only the weeds, using a shield or a paintbrush or wipe-on method rather than a broad spray.
- Choose a calm, dry day to limit drift.
- Do not spray when crops are close, in flower or about to be harvested unless the label permits it.
- Keep sprayers dedicated to herbicides and labeled, to avoid cross-contamination with other sprays.
- Wear gloves and eye protection and follow label instructions for pets and children.
Products and mixes to avoid in beds
- Concentrated salt or salt-based mixes, which can damage soil structure and harm plants for a long time.
- Residual or soil-active herbicides, which can persist and affect future plantings.
- Homemade recipes with uncertain effects. The popular vinegar, dish soap and salt blends are discussed in does vinegar and dawn really kill weeds.
Reading the label
The label tells you which plants and sites the product is for, how much to use, how long to wait before planting or harvesting, and what protective gear to wear. If the label does not mention vegetable gardens or edible crops, treat that as a reason to look for a different product or method. When in doubt, a local extension service can give advice that fits your area.