Enclosed Raised Garden Beds: Hoops, Cages and Wire to Keep Out Rabbits, Squirrels, Birds and Bugs
An enclosed raised garden bed is a bed with a barrier around it, over it or under it. Which one you need depends on what’s eating your plants. Hoops with a fabric cover handle insects and frost. Squirrels need a wire cage with a lid, rabbits need wire sides at least 2 ft tall, birds need netting held off the plants, deer need a woven wire cage or a fence, and gophers need wire laid under the bed before you fill it.

Key points
- Start from the animal or problem, then pick the enclosure (table below).
- Use metal mesh against anything with teeth. Plastic netting is for insects and birds.
- Squash and cucumbers need bees. Open the cover or cage while they flower. Greens, beets and beans can stay covered until harvest.
- Put the cover on at planting, with the edges sealed, or the pests are already inside.

What are you keeping out?
| Keeping out | Enclosure | Mesh or size | Source |
|---|---|---|---|
| Insects (cabbage worms, flea beetles, squash bugs) | Hoops + lightweight row cover or insect netting, edges buried | Lightweight cover is about 0.45 oz/sq yd. Flea beetles got through 0.95 mm netting in one study; 0.35 mm netting cut their numbers | UMD, UW–Madison, Losekamp et al. |
| Frost | Hoops + medium or heavy row cover, or clear plastic | Medium cover: 4 to 6°F of protection. Heavy: up to 8°F | UMD |
| Birds | Netting on a frame, held off the plants | 1/4 in or smaller, every edge fixed to the ground | WSU EB1641 |
| Cottontail rabbits | Wire sides at least 2 ft tall, or a cage | Poultry wire or hardware cloth, tight to the ground, buried 1 to 2 in or pinned | Iowa State, Arizona |
| Jackrabbits | Wire sides 3 ft tall | Buried at least 6 in | Arizona |
| Squirrels, woodrats | Full cage with a lid: they climb and dig | Poultry wire at least; many gardeners use 1/4 to 1/2 in hardware cloth | Arizona, r/gardening (gardeners’ reports) |
| Gophers | Wire under the whole bed, before filling | Hardware cloth or 3/4 in poultry wire | UC IPM |
| Deer | A woven wire cage over the bed (our extension of Arizona’s cages for single plants), or a fence: 8 ft, or 4 to 6 ft around a small area | Woven wire; deer don’t like jumping into small enclosed spaces | Arizona |
| Cats | Any lid that covers the soil: netting on hoops or a wire cage | Our reading: cats dig in loose, bare soil, so covering it is the fix | — |
Got more than one problem? Combine them. A common setup is wire under the bed for gophers, then a cage on top for squirrels and rabbits.
The three ways to enclose a raised bed
1. Hoops and a cover (insects, frost, birds)
This is a low tunnel over the bed. The cover can be fabric row cover, insect netting, bird netting or clear plastic, depending on the job.
- Hoops: galvanized conduit, galvanized wire or PVC, 6 to 8 ft long, pushed at least 6 in into the soil so the top stands 2 to 3 ft high (Oregon State EM 9333). Maryland gives 15 to 30 in high, with hoops 2 to 4 ft apart (UMD).
- Cover weight: lightweight lets through 90 to 95% of the light and works as an insect barrier. Medium lets through 70 to 85%; heavy only 30 to 50%, so save it for cold snaps (UMD). Maryland recommends hoops for medium and heavy covers.
- Edges: for insects, bury the edges completely (UW–Madison). For frost, sod pins (UMD) or boards or rebar along the edge (UW–Madison) are enough.
- Slack: leave enough loose cover for the plants to grow into (UW–Madison).
Row cover can be cut with scissors and reused for 2 to 3 years (UMD).
2. A wire cage with a lid (squirrels, rabbits, deer, cats, birds)
The cage is a wooden frame that sits on top of the bed, wrapped in metal mesh, with a lid that opens. Squirrels and woodrats climb as well as dig, so Arizona Extension says they may need complete enclosure: sides and a top.
On Reddit, a gardener who topped a bed with green plastic netting got the same answer from almost everyone: squirrels and rabbits chew through plastic, use metal hardware cloth. Another reported rabbits chewing through plastic “chicken wire” in one season (r/gardening). Those are gardeners’ reports, not tests, but they match the Extension advice to use metal.
Birds need the mesh held away from the plants. Otherwise they stand on it and pick the fruit through the holes (WSU).

3. Wire under the bed (gophers)
Lay hardware cloth or 3/4 in poultry wire across the bottom of the bed before you add soil (UC IPM). Arizona Extension calls wire under a raised bed “very effective” as long as gophers can’t climb over the sides. It adds that gophers rarely climb more than about 1 ft. Our DIY raised bed plan shows where the wire goes relative to the cardboard.
Materials for an enclosed 4×8 bed
These quantities are our own math for a bed 4 ft wide and 8 ft long. Check them against your own bed before you buy.
Hoop tunnel
- Hoops: 3 for an 8 ft bed, one at each end and one in the middle, so they sit 4 ft apart (Oregon State says 4 to 5 ft). With 3 hoops at 4 ft you already meet Oregon State’s spacing for snow. Add a 4th or 5th for Maryland’s 2 to 4 ft, or for heavy snow (our suggestion).
- Hoop length: 6 to 8 ft each (Oregon State).
- Cover width: run a tape over one hoop from soil to soil and add about 1 ft per side for anchoring.
- Cover length: about 14 ft for a tunnel 2 ft high. That’s 8 ft of bed, 2 ft down each end, and 1 ft to anchor at each end.
- Anchors: sod pins, or soil along the edges if the cover is for insects (UW–Madison).
Wire cage, 2 ft tall
- Frame: about 40 linear ft of 2×2 lumber, or five 8 ft pieces (buy a sixth to allow for cuts). That covers a 4×8 lid (two 8 ft sides plus three 4 ft cross pieces) and six 2 ft posts (four corners, one mid-side on each long side).
- Mesh for the sides: 24 ft of 24 in wide hardware cloth, which wraps the 24 ft around the bed.
- Mesh for the lid: 8 ft of 48 in wide hardware cloth.
- Hardware: 2 or 3 hinges along one long side, a latch, galvanized staples or screws with washers.
Gopher wire (if you need it)
- Bottom: 8 ft of 48 in wide hardware cloth, plus a little extra to run up the inside of the frame.
Build steps for a caged 4×8 bed
- If you have gophers, lay the wire first. Stretch it across the ground inside the bed frame, then fill the bed (UC IPM).
- Fill and plant the bed. Setting up the plants first is easier with nothing overhead.
- Build the lid frame from 2×2s: two 8 ft sides and three 4 ft cross pieces.
- Screw the six posts to the inside of the bed frame so they stand 2 ft above the top edge.
- Wrap the sides in hardware cloth, stapled to the posts and to the bed frame, with no gaps at the bottom.
- Cover the lid frame in hardware cloth and hinge it along the back so it opens toward the path.
- Add a latch. Some gardeners add an opening side panel too, which makes harvesting easier.
Want the bed itself? Our DIY plan has the cut list for a 4×8. For other bed shapes, see raised garden bed ideas.
What can stay enclosed, and what needs bees
The cover keeps bees out too. That’s fine for crops you eat as a leaf or root, and a problem for fruit that comes from a flower.
Can stay covered until harvest: spring leafy greens and green beans (UMD). Beets, snap beans and salad greens can go from seeding to harvest under the cover (UMD). In a Kentucky study, fine-mesh covers on bok choy and napa cabbage cut flea beetle damage compared with uncovered plants (Losekamp et al.).
Need insects at flowering: cucumbers and squash. UW–Madison says to take the cover off during bloom. A University of Kentucky trial on acorn squash compared ways of doing it. Opening the tunnel ends at flowering and closing them again afterwards gave the most consistently high yields over two years (Fiske Pulliam et al., 2025). Keeping the cover on all season meant less bee activity.
Tomatoes and peppers: heat is the bigger problem. Their blossoms may drop when it gets above 86°F under the cover (UW–Madison). Maryland adds that summer temperatures under a row cover can run 5 to 15°F above the outside air (UMD).
In a wire cage: we found no study on bees and hardware cloth. One gardener on Reddit reported that bumblebees “could barely get thru” 1 in mesh and thought 1/2 in was too small (r/OntarioGardeners). Our cautious choice, not a tested rule: open the lid while squash and cucumbers flower, the way the Kentucky trial opened the tunnel ends.
When to cover and when to open, through the year
- Spring planting: put the insect cover on at planting and seal it (UW–Madison). Covers can also give 2 to 8°F of frost protection on spring and fall nights (UMD).
- Summer: watch the heat. Swap fabric for netting or open the ends on hot days, and uncover squash and cucumbers while they flower.
- Fall: switch to a medium or heavy cover, or clear plastic, to keep greens going into the cold. Oregon State’s tunnels gave a longer season into late fall. Our fall vegetable garden guide covers what to plant.
- Cage: it can stay on all year. Open it for flowering crops and for harvesting.
When to plant under a cover depends on your frost dates. Your USDA hardiness zone gives a rough idea of your winters; your state’s Cooperative Extension planting calendar gives the dates.
Common mistakes
- Plastic netting against animals with teeth. Gardeners report squirrels and rabbits chewing through it (r/gardening).
- Netting resting on the plants. Birds pick fruit through it (WSU).
- Loose edges. For insects the edges must be buried completely (UW–Madison). For birds, every edge is fixed to the ground (WSU).
- Covering after the pests arrive. The cover goes on at planting (UW–Madison). Flea beetles and root maggot flies can come up out of the soil and end up trapped under the cover (UMD, UW–Madison). UW–Madison’s answer is crop rotation: don’t follow related crops in the same bed.
- No slack. The plants push the cover up as they grow (UMD, UW–Madison).
- Squash covered through bloom. Without bees you get few fruits (UW–Madison).
- Heavy cover in summer. It blocks up to 70% of the light (UMD) and traps heat.
FAQ
What is an enclosed raised garden bed?
A raised bed with a barrier: a hoop tunnel with a cover, a wire cage with a lid, wire under the soil, or a combination.
What mesh size keeps squirrels out of a raised bed?
Arizona Extension says squirrels may need complete enclosure with poultry wire. Gardeners on Reddit recommend metal hardware cloth, 1/4 to 1/2 in, over plastic netting.
How tall should the sides be for rabbits?
At least 2 ft for cottontails, with the bottom buried or pinned (Iowa State, Arizona). Jackrabbits need 3 ft, buried at least 6 in (Arizona).
Can I leave a cover on all season?
Yes for greens, beets and beans (UMD). Not for squash and cucumbers while they flower (UW–Madison), and watch the heat with tomatoes and peppers.
How many hoops for a 4×8 raised bed?
3 at 4 ft apart, which already meets Oregon State’s spacing for snow. Add a 4th or 5th for Maryland’s 2 to 4 ft spacing (UMD), or for heavy snow (our suggestion).
Does an enclosed bed keep cats out?
In our reading, a lid over the soil stops digging, and either a hoop tunnel with netting or a wire cage gives you one.
Sources
- Traunfeld, J. Vegetable Garden Weather and Pest Protection. University of Maryland Extension, updated August 25, 2026. https://extension.umd.edu/resource/row-covers/
- Mahr, S. Floating Row Cover. University of Wisconsin–Madison, Wisconsin Horticulture. https://hort.extension.wisc.edu/articles/floating-row-cover/
- Fernandez-Salvador, J., Chernoh, E., Pheil, A., Poblador, K., Barker, T. Low Tunnels for Season Extension in Oregon: Design, Construction and Costs (EM 9333). Oregon State University Extension, October 2021, reviewed 2025. https://extension.oregonstate.edu/catalog/em-9333-low-tunnels-season-extension-oregon-design-construction-costs
- Fiske Pulliam, K., Brockman, R., Avery, C., Gauger, A., Williams, M., Bessin, R., Gonthier, D. Balancing row cover pest and pollination management in organic cucurbit production. Renewable Agriculture and Food Systems 41, e1, 2025. https://scholars.uky.edu/en/publications/balancing-row-cover-pest-and-pollination-management-in-organic-cu/
- Losekamp, E., Fiske Pulliam, K., Siddens, T., Cherian, Y., Cassone, G., Reyes-Castillo, M., Bessin, R., Gonthier, D. Integrated Pest Management Strategies with Fine-Mesh Row Covers Increase Yield and Quality of Organic Bok Choy and Napa Cabbage. HortScience 61(8), 2026. https://scholars.uky.edu/en/publications/integrated-pest-management-strategies-with-fine-mesh-row-covers-i/
- University of Arizona Cooperative Extension, Yavapai County. Managing Critters in Vegetable Gardens: Summary Information. May 5, 2025. https://www.extension.arizona.edu/sites/default/files/2025-05/Managing-Critters-in-Vegetable-Gardens.pdf
- Iowa State University Extension and Outreach. How do I prevent rabbits from damaging plants in the vegetable garden? Updated January 7, 2025. https://yardandgarden.extension.iastate.edu/faq/how-do-i-prevent-rabbits-damaging-plants-vegetable-garden
- Baldwin, R. A. Pocket Gophers (Pest Notes 7433). UC IPM, updated June 2025. https://ipm.ucanr.edu/home-and-landscape/pocket-gophers/
- Askham, L. R. Protecting Strawberries from Birds with Netting and Mylar Tape (EB1641). Washington State University Cooperative Extension, revised March 1992. https://wpcdn.web.wsu.edu/wp-extension/uploads/sites/2056/2023/05/Protecting-Strawberries-from-Birds.pdf
- USDA Agricultural Research Service. Plant Hardiness Zone Map. https://planthardiness.ars.usda.gov/
- Gardeners’ reports: r/gardening, “Built a squirrel proof topper for my raised garden bed”, February 2026, https://www.reddit.com/r/gardening/comments/1r8lagb/built_a_squirrel_proof_topper_for_my_raised/ ; r/OntarioGardeners, “Garden bed cover to allow for pollinators?”, March 2023, https://www.reddit.com/r/OntarioGardeners/comments/11fpl7j/garden_bed_cover_to_allow_for_pollinators/