The Wild

How to Deter Squirrels From Your Garden

· 6 min read · Mammals

In this article
  1. Why Squirrels Invade Gardens
  2. Physical Barriers That Actually Work
  3. Repellents: Scents and Tastes
  4. Removing Food Sources and Attractants
  5. Habitat Modification and Exclusion
  6. Common Mistakes and Misconceptions
  7. Costs and Environmental Considerations
  8. Frequently Asked Questions

The most effective way to deter squirrels from your garden is to combine physical barriers (like fencing and netting) with taste and scent repellents, while removing food sources and trimming tree branches that give them access. No single method works forever, so a layered approach is essential.

Why Squirrels Invade Gardens

Squirrels are opportunistic foragers with a diet that changes with the seasons. In spring and summer, they dig up bulbs and eat tender shoots; in late summer and fall, they harvest nuts, seeds, and fruits; and in winter, they may gnaw on bark when food is scarce. Gardens offer a reliable buffet of exactly what they need. They are also highly agile—able to leap up to 10 feet horizontally and 6 feet vertically—and can climb almost any surface, including brick, wood, and metal poles, especially if the surface is slightly rough. Understanding their behavior is the first step: if you remove the easy food and make access difficult, they will move on to an easier yard.

Physical Barriers That Actually Work

Barriers are the most reliable deterrent because they don't rely on the squirrel being scared or disliking a smell. The key is to install them correctly, as squirrels are persistent and will test for weaknesses.

  • Fencing: Use 1-inch mesh hardware cloth or chicken wire. Bury the bottom at least 6–12 inches deep and bend it outward in an L-shape to stop digging. The fence should be at least 3 feet tall, but since squirrels can climb, consider adding an electric wire or a roller bar at the top.
  • Netting: For individual plants or beds, drape bird netting over hoops or stakes. Secure the edges tightly so squirrels can't push under. Leave enough slack for plants to grow, but not so much that a squirrel can get trapped (check daily).
  • Row covers: Floating row covers are lightweight and can be placed directly over crops, but they must be anchored well. They also protect against insects and frost, making them a multi-purpose tool.
  • Tree guards: Wrap metal flashing or a plastic tree guard around trunks to prevent climbing. Make sure the guard is at least 2 feet wide and placed at chest height.

Repellents: Scents and Tastes

Repellents work by making plants or areas smell or taste unpleasant. They are not a one-time fix; they must be reapplied after rain and as new growth appears.

  • Capsaicin sprays: These contain hot pepper extract and are effective because squirrels (like most mammals) are sensitive to the heat. You can buy commercial sprays or make your own by steeping hot peppers in water with a little dish soap. Apply to plants, bulbs, and bird feeders. Reapply after rain.
  • Predator urine: Products containing fox or coyote urine can signal danger. They are available in granular or liquid form. However, they wash away easily and may need frequent reapplication. Some gardeners find them only temporarily effective.
  • Garlic and egg-based repellents: These are often sold as “animal repellents” and work by taste and smell. They are safe for plants but need reapplication.
  • Homemade sprays: A mixture of water, hot sauce, and a few drops of dish soap can be sprayed on plants. Always test on a small area first to ensure it doesn't damage foliage.

Removing Food Sources and Attractants

If your garden is a food court, squirrels will keep coming. Eliminating easy meals is a long-term solution that reduces the need for constant deterrence.

  • Bird feeders: Use squirrel-proof feeders with weight-activated mechanisms or cages. Place feeders on poles with baffles (metal cones that prevent climbing) at least 5 feet off the ground and 10 feet from trees or structures.
  • Fallen fruit and nuts: Pick up fallen fruit, acorns, and nuts daily. These are a major attractant.
  • Compost bins: Keep compost covered and avoid adding food scraps that are high in fat or protein (like meat or cheese). Turn the pile regularly to discourage nesting.
  • Pet food: Don't leave pet food outside for more than a few minutes.
  • Bulbs: When planting bulbs, dip them in a repellent or cover them with wire mesh before covering with soil. Daffodils and alliums are naturally less appealing to squirrels.

Habitat Modification and Exclusion

Squirrels use trees, fences, and structures as highways. By altering these, you can make your garden less accessible.

  • Trim branches: Cut tree branches that overhang your garden or house. Aim for a gap of at least 6–8 feet between branches and your roofline or fence.
  • Install baffles: Place metal baffles on poles that support bird feeders or on tree trunks. Baffles should be dome-shaped or cone-shaped and positioned so squirrels can't jump over them.
  • Seal entry points: If squirrels are getting into sheds, attics, or under decks, seal gaps with heavy-duty wire mesh or metal flashing. Ensure vents are covered with hardware cloth.
  • Use motion-activated sprinklers: These startle squirrels with a burst of water. They are effective but only work when the sensor is triggered. Place them near vulnerable areas.

Common Mistakes and Misconceptions

Many gardeners try a single method and give up when it fails. Here are common pitfalls:

  • Using only repellents: Repellents wash off and lose potency. They are best used as a supplement to barriers.
  • Not burying fences: A fence that doesn't go underground is useless because squirrels will dig under it.
  • Leaving gaps in netting: Squirrels can squeeze through holes larger than 1 inch. Use 1-inch or smaller mesh.
  • Believing mothballs work: Mothballs are not registered for outdoor use and can be toxic to pets and children. They are not an effective squirrel deterrent.
  • Assuming ultrasonic devices work: There is little scientific evidence that ultrasonic repellents affect squirrels. They may ignore the sound or get used to it.

Costs and Environmental Considerations

Deterrent costs vary widely. A simple homemade capsaicin spray costs pennies. A roll of hardware cloth (25 feet) is around $15–$20. A motion-activated sprinkler can be $40–$60. Squirrel-proof bird feeders range from $20 to $60. The most cost-effective approach is often prevention: removing food sources and trimming branches costs nothing. Environmentally, most barriers and repellents are safe, but be cautious with chemical repellents—always follow label instructions and avoid contaminating water sources. Live trapping and relocating squirrels is generally not recommended because it is stressful to the animal, often illegal without a permit, and other squirrels will move into the vacated territory.

Frequently Asked Questions

Will coffee grounds keep squirrels away?

Coffee grounds are sometimes cited as a deterrent, but there is little evidence they work reliably. They may mask scents temporarily, but they are not a proven repellent. Use them as compost instead.

Do ultrasonic squirrel repellents work?

Most experts and gardeners find them ineffective. Squirrels quickly habituate to the sound, and the devices have limited range. Physical barriers are far more reliable.

What plants do squirrels hate?

Squirrels tend to avoid plants with strong scents like alliums (onions, garlic, chives), daffodils, marigolds, and mint. However, they may still dig around them if other food is present.

How do I keep squirrels out of my potted plants?

Place wire mesh or stones over the soil surface to prevent digging. You can also apply a capsaicin spray to the soil and the pot rim. Moving pots to a location that is hard to access (like a balcony) helps.

Is it safe to use poison to kill squirrels?

No. Poison is dangerous to pets, children, and non-target wildlife. It can also cause suffering to the squirrel. Most areas have regulations against it. Use humane deterrents instead.

Will a fake owl scare squirrels away?

Fake owls and hawks may work for a few days, but squirrels quickly realize they are not a threat. Move the decoy regularly to prolong its effect, but do not rely on it as a long-term solution.