What to Put in Garden to Keep Squirrels Out
In this article
The most effective things to put in your garden to keep squirrels out are physical barriers (like wire mesh or netting), natural scent repellents (such as capsaicin or predator urine), and removing food sources (like fallen nuts or birdseed). No single method works forever—squirrels are persistent and adaptable—so a combination of tactics gives the best results.
Why Squirrels Invade Gardens
Squirrels are driven by two basic needs: food and shelter. Your garden offers both. They dig up bulbs and seeds for the calories they store, nibble on ripening fruits and vegetables for moisture and nutrition, and may chew through plastic or soft materials to build nests. In urban and suburban areas, squirrel populations are often dense because humans provide abundant food—bird feeders, pet food left outdoors, and compost piles. Understanding this motivation helps you target the root cause: if you remove the easy meals, squirrels lose interest in your yard.
Physical Barriers That Actually Work
Barriers are the most reliable defense because they don't rely on smell or taste. The key is to install them correctly, as squirrels can squeeze through surprisingly small gaps.
- Wire mesh or hardware cloth: Use 1/4-inch or 1/2-inch galvanized mesh. Bury it at least 6 inches deep and extend it 2 feet above ground to prevent digging and climbing. This works well for vegetable beds and around young trees.
- Bird netting: Drape netting over fruit trees or berry bushes. Secure the edges so squirrels can't push underneath. Choose netting with holes small enough (1/4 inch) to exclude them.
- Metal collars on trees: Wrap a 2-foot-wide sheet of smooth metal (like aluminum flashing) around tree trunks at least 5 feet off the ground. This stops squirrels from climbing up to reach fruit or nests.
- Row covers or cloches: For small plants, use floating row covers or individual wire cloches. These are easy to remove and replace.
Scent and Taste Repellents
Repellents work by making plants or areas smell or taste unpleasant. They require reapplication after rain or as new growth appears.
- Capsaicin (hot pepper): Spray a solution of water, cayenne pepper, and a few drops of dish soap on plants. Reapply weekly and after rain. Capsaicin irritates squirrels' mouths and eyes but does not cause lasting harm. You can also buy commercial capsaicin sprays.
- Predator urine: Fox or coyote urine granules or liquids are sold at garden centers. Sprinkle them around the perimeter. The scent signals danger, but it fades and needs frequent renewal.
- Garlic or peppermint oil: Some gardeners report success with these strong scents. Soak cotton balls in oil and place them near entry points. Effectiveness varies, so consider them a supplementary measure.
Removing Food Sources
If your garden is a buffet, squirrels will keep coming. Eliminate what attracts them:
- Pick up fallen fruit, nuts, and seeds daily.
- Use squirrel-proof bird feeders (caged or weight-activated) and place them at least 10 feet from trees or roofs.
- Store pet food indoors or in metal containers.
- Compost bins should have tight-fitting lids and be made of sturdy material—squirrels can chew through plastic.
- Remove birdbaths or other water sources if you notice squirrels drinking from them (though they usually get water from food).
How to Choose the Right Method
Your choice depends on what you're protecting and how determined the squirrels are. For a small flower bed, a wire mesh fence is simple and effective. For a large vegetable garden, combine barriers with scent repellents. If you have fruit trees, metal collars and netting are essential. If squirrels are digging up bulbs, plant daffodils or alliums—these are naturally unappealing to squirrels—or cover the soil with a layer of sharp gravel. Assess the damage first: if they only steal birdseed, focus on the feeder; if they're eating your tomatoes, netting is your best bet.
Common Mistakes and Misconceptions
One common mistake is using only a scent repellent. Squirrels quickly get used to smells, especially if the food reward is high. Another is installing barriers too loosely—squirrels can squeeze through gaps larger than 1 inch. Also, many people think mothballs or ammonia will work, but these are ineffective and can be toxic to pets and children. Another misconception is that ultrasonic devices repel squirrels; there is no reliable evidence they work, and many squirrels ignore them. Finally, do not use glue traps or poisons—they cause prolonged suffering and can harm non-target wildlife.
Cost and Safety Considerations
Costs vary widely. Wire mesh and netting are inexpensive (a few dollars per roll) and last for years. Commercial repellents cost more but are easy to apply. Homemade capsaicin spray costs pennies per batch. Safety is paramount: if you use capsaicin, avoid spraying on windy days and wear gloves; it can irritate your eyes and skin. Keep all repellents away from edible parts of plants until you've washed them thoroughly. Never use rodenticides—they are dangerous to pets, children, and beneficial wildlife. Always read and follow label instructions on any commercial product.
Frequently Asked Questions
Will coffee grounds keep squirrels away?
Coffee grounds have a strong smell that some gardeners claim deters squirrels, but there is no scientific proof. They may work temporarily, but they break down quickly and lose potency. They can also attract other pests like ants. Use them as a mild deterrent, but don't rely on them alone.
Do ultrasonic devices work for squirrels?
Most ultrasonic repellents have not been proven effective in controlled studies. Squirrels can habituate to the sound, and the devices have limited range. They may work for a few days, but squirrels often return. Physical barriers are more reliable.
What plants do squirrels hate?
Squirrels tend to avoid plants with strong odors or fuzzy textures, such as daffodils, marigolds, alliums, and hyacinths. They also dislike the taste of certain herbs like mint and rosemary. Planting these around your garden can help, but they are not a complete solution—hungry squirrels may still sample other plants.
Is it safe to use capsaicin spray on vegetables?
Yes, capsaicin is safe for edible plants, but you must wash the produce thoroughly before eating. The spray can irritate your skin and eyes, so apply it carefully and avoid spraying on windy days. Reapply after rain.
How do I stop squirrels from digging up my bulbs?
Plant bulbs that squirrels dislike, like daffodils or alliums. Alternatively, cover the soil with wire mesh or gravel after planting. You can also sprinkle cayenne pepper on the soil surface, but it needs reapplication after rain.
Will mothballs repel squirrels?
Mothballs are not effective against squirrels and are toxic. They contain naphthalene or paradichlorobenzene, which can harm pets, children, and beneficial insects. Avoid using them in gardens.