How to Keep Squirrels Out of Your Garden
In this article
To stop squirrels from entering your garden, you need a combination of physical barriers, deterrents, and removing food sources. No single method works forever—squirrels are persistent and adaptable—so a layered approach gives the best results. This guide covers practical, humane steps to protect your plants and vegetables without harming the animals.
What You'll Need
- Chicken wire or hardware cloth (1/2-inch or 1/4-inch mesh)
- Metal or plastic bird netting
- Garden stakes or U-pins
- Wire cutters or heavy scissors
- Spray bottle
- Hot pepper flakes or cayenne pepper
- Dish soap
- Garlic cloves or garlic powder (optional)
- Motion-activated sprinkler (optional)
- Ultrasonic animal repeller (optional)
Step-by-Step
- Remove all food sources. Squirrels enter gardens primarily for food. Pick up fallen fruit, nuts, and birdseed. If you feed birds, use a squirrel-proof feeder or place feeders at least 10 feet away from garden beds. Do not leave pet food outside.
- Install physical barriers around the garden perimeter. Bury 1/2-inch or 1/4-inch hardware cloth at least 6 inches deep along the garden edge, extending it 2 feet above ground. Squirrels can dig under fences, so the buried portion stops them. Use U-pins to secure the mesh to the ground.
- Cover vulnerable plants with netting. Drape bird netting over low-growing crops like strawberries, lettuce, or flower beds. Secure the edges with stakes or rocks. For taller plants, build a simple frame of PVC pipes or wooden stakes and drape the netting over it.
- Protect individual plants with cages. For young trees or prized shrubs, wrap the trunk with a 2-foot-wide metal collar (smooth metal prevents climbing). For vegetable plants, create wire cages around each plant using chicken wire.
- Use scent deterrents. Mix 1 tablespoon of cayenne pepper or hot pepper flakes with 1 quart of water and a few drops of dish soap in a spray bottle. Shake well and spray on plant leaves, soil, and garden borders. Reapply after rain. Alternatively, place crushed garlic cloves or sprinkle garlic powder around the garden edge.
- Set up motion-activated sprinklers. Place a motion-activated sprinkler near the garden entrance or along the perimeter. When a squirrel approaches, the sudden water spray startles it and teaches it to avoid the area. This works well as a non-harmful deterrent.
- Install ultrasonic repellers. If you prefer a high-tech option, place an ultrasonic animal repeller in the garden. These emit high-frequency sounds that squirrels find unpleasant, but they are inaudible to most humans. Follow the manufacturer's instructions for placement and range.
- Trim tree branches. Squirrels often enter gardens by jumping from overhanging tree limbs. Trim any branches that come within 8–10 feet of your garden or roof. This eliminates easy access points.
- Maintain a clean garden. Regularly remove weeds, tall grass, and debris where squirrels might hide or nest. Keep compost bins covered and avoid adding food scraps that attract them.
- Rotate deterrents. Squirrels get used to a single deterrent after a few weeks. Switch between scent sprays, sprinklers, and ultrasonic devices every 2–3 weeks to keep them guessing.
Common Mistakes
- Using only one method. Squirrels are smart; a single barrier or repellent will eventually be ignored. Combine at least two or three strategies.
- Not burying the fence deep enough. If the wire isn't buried at least 6 inches, squirrels will simply dig under it. A shallow fence is useless.
- Leaving gaps in netting. Even a small hole or loose edge lets squirrels squeeze through. Secure netting tightly and check for tears regularly.
- Applying repellent only once. Rain and watering wash away scent sprays. Reapply after every rain or every few days.
- Ignoring bird feeders. Birdseed is a major attractant. If you feed birds, use a squirrel-proof feeder or place it far from the garden.
Tips
- Plant squirrel-repellent flowers like marigolds, daffodils, or alliums around the garden edge. Their strong scents can discourage squirrels.
- Use a combination of cayenne and garlic in your spray for a stronger effect. Test on a small leaf first to ensure it doesn't damage your plants.
- For raised beds, consider adding a wire bottom to prevent digging from below.
- If you have a compost pile, turn it regularly and keep it covered with a lid or wire mesh.
- Install a fence that is at least 3 feet tall with an outward-angled top section (like a floppy wire overhang) to prevent climbing.
Troubleshooting
Squirrels are still getting in despite fences and netting. Check for gaps: look for holes under the fence, loose netting, or branches touching the garden. Reinforce these areas immediately. Also, consider that squirrels may be entering from a neighboring property—coordinate with neighbors if possible.
Repellents seem to stop working. Squirrels can become accustomed to scents. Switch to a different type of repellent (e.g., from cayenne to garlic) or combine with a physical barrier. Also, reapply more frequently.
Squirrels are digging up bulbs or newly planted seeds. Cover the soil with a layer of chicken wire or netting until seeds germinate. For bulbs, plant them deeper (at least 3–4 inches) and place a wire mesh over the planting area for the first few weeks.
Motion-activated sprinkler is going off too often. Adjust the sensitivity and aim it away from walkways. Place it so it covers only the garden perimeter, not the whole yard.
Ultrasonic repeller isn't working. Check the battery and placement. These devices have a limited range—move it closer to the garden. Also, some squirrels may be less sensitive to sound; combine with other methods.
Frequently Asked Questions
Will mothballs keep squirrels away?
Mothballs are not recommended. They contain chemicals that are toxic to humans and pets, and they are not an effective or safe squirrel deterrent. Avoid using them in gardens.
Do coffee grounds repel squirrels?
Coffee grounds can help as a mild deterrent because of their strong smell, but they are not reliable on their own. Sprinkle them around plants, but combine with other methods for best results.
Is it legal to trap and relocate squirrels?
Laws vary by location. Many areas require permits, and relocating squirrels can be harmful to the animal and illegal. It's better to use exclusion and deterrent methods rather than trapping.
Will a fake owl scare squirrels away?
Fake owls can work temporarily, but squirrels quickly learn they are not a real threat. Move the owl every few days to make it seem more realistic, but don't rely on it long-term.
Can I use human hair or predator urine?
Human hair and predator urine (like fox or coyote) can be effective scent deterrents. Place hair clippings in mesh bags around the garden, or apply predator urine near entry points. Reapply after rain.
How long does it take to get rid of squirrels?
There is no fixed timeline. With consistent use of multiple deterrents and barriers, you may see a reduction within a few weeks. However, squirrels are persistent, so you'll need to maintain the measures indefinitely.