Garden Advice Guide
Home › Guides

Deer Resistant Vegetable Garden

Updated August 2026 · Garden Advice Guide

Deer Resistant Vegetable Garden
Want your number first? Open the free Growing Zone Lookup, or read on for how it works.

You cannot build a deer proof vegetable garden out of plant choices alone. A hungry deer eats nearly every vegetable you can grow, and the short list it genuinely avoids (alliums, strong herbs, rhubarb, mature asparagus ferns, hot peppers, and most nightshade foliage) is not a garden anyone actually wants to eat from all season. The real answer for vegetables is a fence, and the plant choices are what you use to shrink the area you have to fence and to buy protection for the beds outside it.

Not sure what will mature in your season? Check your USDA zone with our free growing zone lookup before you plan the beds. There's no point fencing a crop that won't finish.

Here's what usually happens. You read a "vegetables deer won't eat" list, plant half of it, and lose the beans and lettuce anyway because those weren't on the list and they're what deer wanted. This guide gives you both halves: the plant choices that genuinely reduce pressure, and the fencing specs that end the problem.

Why a Deer Resistant Vegetable Garden Is Harder Than Ornamentals

An ornamental border can be planted entirely from the resistant list and still look like a garden. A vegetable garden can't, because the things you grow to eat are the things deer evolved to eat: soft, water-rich, low-fiber, high-sugar, high-protein growth with no toxins in it.

Three things make vegetable beds worse than a flower border:

  1. Everything is young. Deer prefer new growth, and a vegetable garden is nothing but new growth from April onward. A transplant is more attractive than the same species mature.
  2. It's irrigated. In a dry July your watered garden is the only hydrated food in the neighborhood, and deer will cross a road for it.
  3. Deer learn routes. One successful visit turns into a nightly patrol. Prevention is much easier than breaking an established habit.

The seasonal pattern matters too. Pressure peaks twice: spring, when transplants go in and natural browse is still thin, and fall, when deer are packing on calories before winter and your late brassicas and greens are the softest thing standing.

Deer Resistant Vegetable Plants: What Deer Usually Avoid

"Usually" is doing real work in that heading. Under heavy pressure or in a drought, deer sample everything on this list. But these are the crops that survive an unfenced garden more often than not.

Crop Why deer avoid it Reliability
Garlic Sulfur compounds (allicin) that deer find repellent Very high
Onions, shallots Same allium chemistry, top to bottom Very high
Leeks Same, and the tough leaves add nothing Very high
Chives, garlic chives Strong onion scent, and they double as an edging Very high
Rhubarb Leaves carry oxalic acid and are genuinely toxic Very high
Hot peppers Capsaicin. Deer taste it the way we do High
Asparagus (mature ferns) Fibrous, bitter fronds. Spring spears are browsed, so protect those High after spear season
Potato foliage Solanine in the leaves and stems High
Tomato foliage Tomatine and solanine in leaves. Deer still eat ripe fruit and will browse foliage under pressure Moderate to high
Eggplant Nightshade foliage, prickly calyx Moderate to high
Cucumber Bristly, scratchy leaves and stems Moderate
Winter and summer squash Prickly hairy foliage and stems Moderate. Young plants get eaten
Fennel, dill Strong volatile oils Very high

Two important qualifications. First, tomatoes are not deer proof. The foliage deters casual browsing, but deer eat ripe fruit readily and will strip foliage in a bad year. Second, squash and cucumber protection depends on maturity. The prickles that deter deer only exist on established plants. A week-old transplant is undefended, which is why so many gardeners report "deer ate my squash" and then read a list that says squash is resistant.

Deer Proof Herbs: The One Category That Really Works

Herbs are the most reliably avoided edible group in the whole garden, and it isn't close. If you want something you can plant unfenced and forget about, this is it.

The reason is chemistry. Culinary herbs concentrate essential oils (camphor, thujone, menthol, carvone, thymol) in their leaves as a defense against being eaten. Deer find safe food by smell, and a bed of rosemary and sage overwhelms that sense. The oils also taste bitter and can upset a deer's rumen, so the avoidance is learned as well as instinctive.

Herb USDA zones Sun Defense Reliability
Rosemary (Salvia rosmarinus) 7-10, annual colder Full sun Piney resins, stiff needles Very high
Lavender (Lavandula) 5-9 by species Full sun Camphor oils, gray fuzz Very high
Sage (Salvia officinalis) 4-8 Full sun Thujone, pebbly furry leaves Very high
Thyme (Thymus) 4-9 Full sun Thymol, tiny tough leaves Very high
Oregano (Origanum) 4-9 Full sun Pungent carvacrol Very high
Mint (Mentha) 3-8 Sun to part shade Menthol. Plant it in a pot, it runs Very high
Chives (Allium schoenoprasum) 3-9 Full sun Onion compounds Very high
Dill (Anethum) Annual Full sun Strong oils, ferny foliage High
Fennel (Foeniculum) 4-9 Full sun Anise oils High
Cilantro (Coriandrum) Annual, cool season Sun to part sun Sharp scent High
Lemon balm (Melissa) 4-9 Sun to part shade Citrus oils. Also spreads High
Tarragon (Artemisia dracunculus) 4-8 Full sun Anise oils, artemisia bitterness High
Basil (Ocimum) Annual Full sun Mild oils only Moderate. Deer do eat it
Parsley (Petroselinum) Biennial, 5-9 Sun to part sun Almost none Low. Treat it like lettuce

Basil and parsley are the exceptions that catch people out. Both are soft and mild, and deer eat them. Keep those two in containers near the door or inside the fence with the lettuce.

Herbs also earn their place because zone matters more than deer resistance for the woody ones. Rosemary is a perennial shrub in zone 8 and a replace-it-every-spring annual in zone 5, so check your growing zone before you build a permanent rosemary hedge.

Vegetables Deer Target Hardest

Plant these outside a fence and you're feeding wildlife. They're listed roughly in order of how fast they disappear.

Crop What gets eaten Notes
Lettuce and salad greens Everything, to the crown Water, sugar, zero fiber. The first thing to go
Beans (bush and pole) Foliage, flowers, pods High-protein legume. Deer walk past other crops to reach beans
Peas Vines, tendrils, pods Same legume appeal, and they climb to browse height
Sweet corn Silks, ears, whole young stalks Deer pull down stalks to reach ears. Total loss is common
Sweet potato vines All the top growth Soft, sugary trailing foliage
Strawberries Fruit and foliage The fruit goes the night before it's ripe
Brassicas (broccoli, cabbage, kale, Brussels sprouts) Whole transplants in spring, leaves in fall Fall pressure on kale and cabbage is severe
Beets and Swiss chard Leaf tops, repeatedly They regrow, so deer come back on a route
Young transplants of anything Whole plant The single biggest loss category. Even "resistant" crops are vulnerable for the first 3 weeks

That last row is the one to internalize. A resistant crop is only resistant once it's grown its defenses. Every transplant, including squash, peppers, and tomatoes, needs protection for the first two to three weeks in the ground.

For the ornamental side of this problem, our guide to plants deer love covers hostas, roses, and hydrangeas, which are the flower-bed equivalent of lettuce, and our main deer resistant plants guide has the full category-by-category swap list.

Fencing: The Part That Actually Works

Every extension service that studies this reaches the same conclusion. Penn State Extension and the wildlife agencies in most deer states publish the same core spec: 8 feet for a single upright deer fence. An adult whitetail clears 7 feet from a standing start and can manage more under pressure.

But height isn't the only trick available, because of a quirk in deer physiology: deer jump high but not wide, and they judge depth poorly. A barrier that is both tall and deep reads as unjumpable even when it's only 6 feet high. That's what makes slanted and double fences work.

Design Real spec Best for Relative materials load, 100 ft
8 ft woven wire 8 ft galvanized woven wire on 10 ft posts set 2 ft deep, posts every 8-10 ft Permanent, high-pressure sites The most expensive by far. Heavy wire plus set wood posts
8 ft poly deer mesh Heavy UV-stabilized polypropylene mesh on wood or metal posts Most home gardens. Nearly invisible from 30 ft Roughly half the woven wire build
6 ft outward slant 6 ft welded wire leaned 30 degrees away from the garden, top edge about 4 ft outside the base HOA height limits, or where you have room About the same as poly mesh
Double fence Two 4-5 ft fences, 4-5 ft apart, outer one can be a single wire Suburbs with height rules. The gap can be a path Slightly above poly mesh, since you buy two runs
Electric, baited 3-4 poly wire strands at 10, 20, 30, 40 in, low-impedance energizer, peanut butter on flagging tape at nose height every 15 ft Seasonal gardens, large areas, tight budgets The cheapest complete perimeter
Individual cages 5 ft welded wire cylinders, 18-24 in wide, staked New transplants, single squash hills, young fruit trees Priced per plant, trivial for a few, silly for a whole garden
Bed netting Deer netting or floating row cover on 6 ft hoops One or two beds, spring transplant season Priced per bed, cheapest way to protect one or two

Three details decide whether any fence actually works:

Rather run your own numbers? Open the free Growing Zone Lookup.

Strategy: Fence Less, Protect Smarter

Fencing your entire property is the dream. Fencing the right 600 square feet is the plan that actually gets built.

1. Fence the high-value core only

Put the lettuce, beans, peas, corn, brassicas, chard, and strawberries inside one fenced block. That's typically 60 to 70 percent of your yield and 95 percent of your deer risk in a fraction of the fence line. A 20 by 30 foot enclosure needs 100 feet of fence. Fencing a half acre needs 590.

2. Grow the resistant crops outside the fence

Garlic, onions, leeks, shallots, rhubarb, asparagus (after spear season), hot peppers, and the entire herb bed can live outside the fence in an unprotected plot. That's real square footage you don't have to pay to enclose. Our guide to when to plant garlic covers the fall timing that makes an outside garlic bed work.

3. Build an allium and herb perimeter as a scent barrier

Ring the outside of the fenced garden with a continuous 2-foot band of chives, garlic chives, sage, oregano, thyme, and lavender. This won't stop a determined deer, and anyone who tells you it will is overselling it. What it does is mask the smell of the beans and lettuce behind it, so fewer deer identify your garden as food in the first place. Fewer visits means fewer probing attempts at the fence and the gate.

Keep the band unbroken. A 3-foot gap in an aromatic perimeter is where the deer walks in. Our companion planting chart has spacing and pairing details if you want that perimeter to earn its keep as a pest barrier too.

4. Cage the transplants, every time

Even inside a fence, and especially outside one, put a 5-foot wire cylinder over every new transplant for its first three weeks. This is the cheapest insurance in the garden, a few feet of welded wire and a stake per plant, and the cages last a decade.

5. Time your defenses to the pressure peaks

Worked Example: Fencing a 20 x 30 Vegetable Garden

Here are real quantities for a 600 square foot garden, which is a typical serious home plot. The perimeter is 100 feet.

What you lose without a fence

One bad deer year in a garden this size, measured as food that never reached the kitchen:

Crop What the deer take How complete the loss is
30 ft bush beans Around 25 lb of pods Repeated grazing, the row never recovers
24 heads lettuce plus a greens bed The entire planting Total, and usually overnight
30 ft peas Around 12 lb of pods Total, vines browsed to the trellis
12 broccoli and cabbage transplants Every transplant Total, and too late in the season to replant
20 ft chard and beets The tops, repeatedly Roots survive, the harvest does not
25 sweet corn plants The whole stand Total, usually at tasseling
50 strawberry plants The fruit, not the crowns Fruit only, plants return next year
Seeds and transplants that never produced The whole spring order Total, and it is the line people forget

Add it up in grocery terms and one bad deer year in a plot this size costs more than a poly mesh fence for the same perimeter. That comparison is conservative, because it counts only the food and ignores the season of work behind it.

Build A: budget poly mesh fence

Item Qty Share of the materials bill
7.5-8 ft poly deer mesh, 100 ft roll 1 The largest single line
8 ft steel T-posts 14 Close behind the mesh, and it scales with post spacing
Post caps, zip ties, ground staples Small, but do not skip the ground staples
Simple gate frame (2x4s plus mesh) 1 Small if you build it, much more if you buy one

One weekend of work, roughly 8 hours for two people. The whole build costs less than one bad deer year, so it pays for itself in year one.

Build B: permanent woven wire fence

Item Qty Share of the materials bill
8 ft galvanized woven wire, 100 ft 1 Nearly half the build on its own
10 ft treated 4x4 posts, set 2 ft deep 12 The other big line, and treated lumber prices swing hard
Gravel and concrete Modest, but it is what makes the posts permanent
Hardware, staples, ground pins Small
Built gate with hardware 1 Modest, and the hinges are worth buying well

Roughly three times the poly mesh build. It pays back over about three deer seasons, then costs nothing for 20 years.

Build C: 6 ft outward slant

Item Qty Share of the materials bill
6 ft welded wire fencing, 100 ft 1 Roughly half
8 ft T-posts plus slant brackets 14 Roughly half, brackets included
Hardware and ground staples Small

Lands about where the poly mesh build does. Use this where a tall vertical fence isn't allowed. It needs about 4 extra feet of clearance outside the fence line, so it doesn't work on a tight lot line.

Build D: baited electric

Item Share of the materials bill
Low-impedance energizer (solar or plug-in) Half the build, and the one part not to cheap out on
Poly wire, 1,320 ft Small
Step-in posts, 25 Small
Insulators, gate handles, flagging tape Small

Cheapest and fastest to install, and it comes down for winter. It requires the two-week baiting period and monthly weed clearing under the wires, or the charge shorts out and the training stops working.

The comparison

Option Relative cost Payback against a year of losses Lifespan
No fence, repellent only A recurring bill every season, forever Never fully. 30-50% of damage still happens Ongoing
Build A, poly mesh Cheap for a full perimeter Year 1 7-10 years
Build C, 6 ft slant About the same as poly mesh Year 1 10-15 years
Build B, woven wire Roughly triple the poly mesh build Year 3 20+ years
Build D, electric The cheapest perimeter of the four Year 1 10 years, seasonal setup

For most home gardens, Build A is the right call: it stops the losses immediately, costs less than one season of damage, and you can upgrade to woven wire later on the same post line.

What to Do If You Can't Fence At All

Rentals, HOAs, and community plots make fencing impossible sometimes. Ranked by how much they actually help:

  1. Motion-activated sprinklers. The most effective non-fence tool. One unit covers roughly 1,000 square feet, and 600 square feet of garden usually needs one or two aimed at the deer approach trails. They stay effective all season because the trigger is unpredictable.
  2. Individual cages on everything valuable. Not elegant, extremely effective, and a few feet of welded wire per plant.
  3. Repellent rotation. Alternate two products, reapply every 2 to 3 weeks and after rain, and start before damage begins. Egg-based repellents test best. Use only products labeled for edible crops, and follow the pre-harvest interval on the label.
  4. Grow the resistant list only. Alliums, herbs, rhubarb, hot peppers, potatoes, tomatoes, and mature asparagus. It's a real garden, just not a salad garden.
  5. Move the salad crops to containers by the door. Lettuce, basil, and parsley in pots on a deck or patio are the simplest fix in this whole article.

FAQ

Is there such a thing as a deer proof vegetable garden?

Not through plant choice. Deer eat nearly every vegetable, and the handful they avoid (alliums, strong herbs, rhubarb, hot peppers, nightshade foliage) won't fill a garden. A genuinely deer proof vegetable garden means a fence: 8 feet upright, or 6 feet slanted outward at 30 degrees, sealed to the ground with the gate closed.

What vegetables will deer not eat?

The most reliable are garlic, onions, leeks, shallots, chives, rhubarb, hot peppers, mature asparagus ferns, and most strong herbs. Potato, tomato, and eggplant foliage is usually skipped because of the alkaloids, though deer eat ripe tomato fruit. Cucumber and squash get moderate protection from their prickly leaves once they're established.

Are herbs really deer proof?

Herbs are the most reliably avoided edible group, but "deer proof" overstates it slightly. Rosemary, lavender, sage, thyme, oregano, mint, dill, and fennel are avoided almost everywhere because of their essential oils. Basil is moderately browsed and parsley is eaten readily, so keep those two protected or in containers.

Do deer eat tomato plants?

They eat the fruit readily and will browse the foliage under pressure, even though tomato leaves contain tomatine and solanine. Tomatoes are best described as moderately resistant, not resistant. Ripe fruit at browse height is the main loss, so caging the lower 4 feet of the plants solves most of it.

Will a 6 foot fence keep deer out of a vegetable garden?

Only if it's slanted or doubled. A vertical 6-foot fence is inside a deer's normal jumping range and gets cleared regularly. Lean that same 6-foot fence 30 degrees outward and it works, because deer judge height and depth together poorly and won't attempt a barrier that reads as both tall and wide.

Does planting garlic or marigolds around the garden keep deer away?

It reduces visits, it doesn't prevent them. An unbroken 2-foot band of alliums and aromatic herbs around the garden masks the scent of the crops behind it, so fewer deer identify the garden as food. A determined deer walks straight through it. Use a scent perimeter as a supplement to a fence, never as the fence.

When is deer pressure on vegetables worst?

Twice a year. Spring, when transplants go in and natural browse is still thin, and fall, when deer are building winter fat and your late greens and brassicas are the softest food available. Drought summers are a third risk window, because an irrigated garden becomes the only green food for a long way around.

Are deer repellents safe to use on food crops?

Some are, some aren't. Use only products specifically labeled for edible crops, and follow the pre-harvest interval printed on the label. Many effective landscape repellents are labeled for ornamentals only. As a practical matter, spray the perimeter plants and the foliage of crops you don't eat the leaves of, and rely on physical barriers for lettuce, greens, and herbs.


Updated August 2026

A note on numbers. This page gives you heights, spacings, quantities and specs, not dollar figures. Fencing material, posts and hardware are priced by your region, your supplier and the season, and we do not set any of it. Work out what you need here, then price the list at two or three farm and fence suppliers.

Get the exact figure for your project with the free Growing Zone Lookup.

More guides

See all