Physical barriers stop squirrels before they dig
The most reliable way to keep squirrels out of raised beds is to block them physically. A hardware cloth cage — half-inch mesh stapled to a wooden frame that sits over your bed — prevents digging and eating. Squirrels cannot chew through hardware cloth the way they can through chicken wire or plastic netting. The cage needs a lid if you want to protect seedlings; an open-top cage stops ground-level damage but allows squirrels to reach plants from above.
If a full cage is impractical, hardware cloth buried six inches deep around the perimeter of your bed stops burrowing. Squirrels dig down before they dig across, so the cloth must extend below the soil surface and bend outward at the bottom in an L-shape. This method takes time to install but works year-round without blocking sunlight or access to your plants.
Row covers and netting work only if they are installed before squirrels arrive and checked daily for holes. Squirrels will tear through them to reach food, and a single gap defeats the barrier. These are better suited to protecting individual plants or sections of a bed rather than the whole space.
Key Takeaways
- Hardware cloth cages or buried barriers are the only methods that reliably stop squirrels, because they cannot chew through the material.
- Squirrels dig down first, so any buried barrier must extend at least six inches below soil and bend outward at the base.
- Repellents, netting, and motion-activated devices slow squirrels temporarily but do not stop determined ones for long.
- Removing food sources nearby — fallen nuts, bird seed, and unsecured compost — makes your bed less attractive than other yards.
- A combination of barriers and habitat management works better than any single method alone.
Repellents and deterrents have limited staying power
Capsaicin sprays (the compound that makes peppers hot) and predator urine products irritate squirrels but do not stop them permanently. Squirrels become accustomed to the smell or taste within days to weeks, especially if they are hungry. These products must be reapplied after rain and throughout the growing season, making them a recurring expense and effort.
Ammonia-soaked rags, mothballs, and garlic sprays work the same way — they are unpleasant enough to send squirrels elsewhere temporarily, but they fade or lose effect as the squirrel learns the smell is not a real threat. They are most useful as a short-term measure while you install a permanent barrier, not as a standalone solution.
Motion-activated sprinklers and lights startle squirrels but lose effectiveness quickly. Squirrels learn the pattern of set up and either time their visits between sprays or straightforward ignore the device. These work better in combination with barriers than alone.
Remove the food sources that attract squirrels to your yard
Squirrels visit raised beds because they are looking for seeds, nuts, bulbs, or newly sprouted plants. If your yard offers easier food elsewhere, your bed becomes less valuable. Rake up fallen nuts and acorns regularly, especially in fall. find bird feeders in squirrel-proof cages or remove them during the growing season — spilled seed is a constant draw.
Unsecured compost piles attract squirrels because they contain seeds and food scraps. Use a sealed bin or a compost tumbler rather than an open heap. If you have nut-bearing trees on your property, you cannot eliminate the food source, but you can make the raised bed less appealing by using a barrier.
Newly planted bulbs and seeds are especially attractive because squirrels can smell them and dig them up easily. If you plant in fall, install your barrier before you plant, not after squirrels discover the bed. Spring planting is less problematic because squirrels are less focused on digging when natural food is abundant.
Choose plants and planting methods that discourage digging
Squirrels dig in loose, freshly turned soil more readily than in established beds. If you plant in spring into soil that has been undisturbed for weeks, you will see less digging activity than if you plant in fall into newly prepared beds. The difference is not enough to eliminate the problem, but it reduces the initial damage.
Certain plants are less attractive to squirrels than others. Alliums (onions, garlic, chives), herbs like rosemary and sage, and mature tomato and pepper plants are less likely to be dug up or eaten. Squirrels prefer tender seedlings and bulbs, so protecting these early stages is more important than protecting established plants.
Planting densely so that soil is covered by foliage makes digging less rewarding — squirrels have less bare soil to work with. This is a minor deterrent and works best alongside a physical barrier.
Install barriers before squirrels establish a pattern
Once squirrels begin visiting your bed regularly, they return to the same spot. Installing a barrier after damage has started is harder because you must work around established plants and the squirrels are already invested in the location. The best time to install protection is before planting or when ready after you notice the first signs of digging.
If squirrels have already damaged your bed, clear away the damage, install your barrier, and replant. The squirrels will test the barrier once or twice and move on if they cannot access the soil. This takes patience — they may return several times before accepting the barrier is permanent.
Combine methods for the best results
A single deterrent rarely works long-term, but a combination of barriers, habitat management, and repellents is more effective. For example: install hardware cloth around the perimeter, remove fallen nuts from your yard, and explore a capsaicin spray to new seedlings. When one method fails or wears off, the others keep squirrels out.
The most reliable combination is a physical barrier (hardware cloth cage or buried mesh) plus removal of competing food sources nearby. Repellents and deterrents can supplement this approach but should not be your only defense.
Frequently Asked Questions
Will chicken wire work instead of hardware cloth?
Chicken wire stops some squirrels temporarily, but determined ones will tear through it or push it aside. Hardware cloth is much stronger and squirrels cannot chew or claw through it. If cost is a concern, bury chicken wire six inches deep as a barrier to digging, but use hardware cloth for any cage or above-ground protection.
Can I use a fence around my raised bed instead of a cage?
A fence around the bed does not stop squirrels because they jump over it or dig under it. Squirrels can jump three to four feet horizontally and climb down the outside of a fence. A cage with a lid or a buried barrier works; a fence alone does not.
What if I only want to protect certain plants?
You can cover individual plants or sections with row covers or hardware cloth cages. Check these covers daily for holes and repair them when ready. This method requires more maintenance than protecting the whole bed but works if you have only a few valuable plants.
Do ultrasonic devices keep squirrels away?
Ultrasonic repellent devices have not been shown to work reliably on squirrels. Squirrels either do not hear the frequency or become accustomed to it quickly. Save your money and invest in a physical barrier instead.
Is it legal to trap and relocate squirrels?
Trapping and relocation laws vary by state and county. Some areas require a permit, some prohibit relocation, and some allow it only during certain seasons. Contact your local wildlife agency or animal control office to learn what is permitted in your area before you trap.