
How to Keep Raccoons Out of Garden: Fencing & Deterrent Tactics

Raccoons are highly intelligent, dexterous, and adaptable omnivores that view unprotected vegetable patches as all-you-can-eat buffets. When homeowners search for how to keep raccoons out of garden spaces, they are often met with ineffective folk remedies like cayenne pepper or ultrasonic sound emitters. The reality of mammal deterrence requires a strategic, multi-layered approach combining physical exclusion, psychological barriers, and habitat modification. According to the University of California Agriculture and Natural Resources (UC ANR), raccoons can cause devastating losses to sweet corn, melons, and strawberries, while their foraging habits tear up turf and garden edges in search of grubs.
This guide bypasses the gimmicks and provides exact specifications, product models, and structural frameworks required to permanently secure your garden perimeter against raccoon intrusion.
The Raccoon Threat Profile: Anatomy of a Garden Raid
To effectively exclude raccoons, you must understand their physical capabilities and foraging psychology. Raccoons possess incredible tactile sensitivity in their front paws, allowing them to manipulate latches, untie knots, and peel back protective netting.
Key Physical Metrics for Exclusion Planning:
• Reach: Can extend 12 to 18 inches laterally through fence gaps to harvest crops.
• Climbing: Expert climbers capable of scaling wooden posts and chain-link without top support.
• Digging: Can excavate soil rapidly to create 4-inch gaps under barriers.
• Memory: Will remember food sources and return nightly if a route remains viable.
Because they are nocturnal and neophobic (fearful of new objects) initially, sudden changes to their environment can cause temporary avoidance. However, they habituate quickly to static deterrents, making dynamic or physical barriers mandatory for long-term control.
Physical Exclusion: Fencing Materials That Actually Work
Standard poultry netting (chicken wire) is entirely inadequate for raccoon exclusion. Adult raccoons can easily tear 20-gauge hexagonal netting or bend it to create entry points. When building a physical barrier, you must upgrade to welded wire mesh or specialized electric systems.
| Fencing Material | Specification | Effectiveness | Est. Cost (per 50ft) | Raccoon Vulnerability |
|---|---|---|---|---|
| Hexagonal Poultry Netting | 20-Gauge | Poor | $35 | Easily torn or bent by adults |
| Galvanized Welded Wire | 14-Gauge, 1x2 inch mesh | High | $95 | Resists pulling; requires secure stakes |
| Hardware Cloth | 19-Gauge, 1/2 inch mesh | Moderate/High | $70 | Good for raised bed caps; bends if pushed |
| Electric Polywire | 6-strand stainless steel | Excellent | $40 | Psychological barrier; zero physical force |
If using 14-gauge welded wire, the fence must be a minimum of 4 feet tall. Crucially, you must install an "L-footer" or apron. Dig a 6-inch trench along the perimeter, lay the bottom 12 inches of the wire flat on the ground (or bury it), and angle it outward away from the garden. This prevents raccoons from digging directly at the fence line to gain entry.
The Two-Wire Electric Fence Setup (The Gold Standard)
For large gardens where 4-foot welded wire is cost-prohibitive or visually obtrusive, a two-wire electric fence is the most reliable method to keep raccoons out of garden areas. Raccoons have sensitive noses and paws; a memorable shock conditions them to avoid the area entirely.
Required Equipment:
- Energizer: Gallagher MBS100 or Zareba 10-Mile AC Energizer (Minimum output: 0.15 to 0.25 stored joules). Do not use weed-burner or high-joule livestock chargers, which are overkill and pose unnecessary safety risks to pets.
- Wire: 1/2-inch polytape or 6-strand polywire.
- Posts: Fiberglass or plastic step-in posts (wood conducts moisture and grounds the fence).
Installation Steps:
- Set the Corner Posts: Drive heavy-duty T-posts or treated wooden stakes at the corners, utilizing corner insulators to maintain wire tension.
- String the Bottom Wire: Run the first wire exactly 6 inches above the soil surface. This targets the raccoon's nose as it sniffs under the fence.
- String the Top Wire: Run the second wire exactly 12 inches above the soil. This targets the head and shoulders if the raccoon attempts to climb or reach over.
- Clear Vegetation: Maintain a 12-inch cleared buffer zone on both sides of the fence. Tall grass or weeds touching the wire will drain the voltage and render the shock ineffective.
- Test Voltage: Use a digital fence tester to ensure the line is holding between 3,000 and 5,000 volts.
Sensory Deterrents: Separating Fact from Gimmick
The pest control market is flooded with sensory deterrents. Most fail because raccoons quickly realize that a sound or smell without a physical consequence is not a true threat.
Never use mothballs (naphthalene) or ammonia-soaked rags in open garden beds. These are illegal to use off-label in many jurisdictions, contaminate your soil and groundwater, and pose severe respiratory risks to children and pets. Furthermore, the Internet Center for Wildlife Damage Management notes that raccoons will simply avoid the specific localized smell while continuing to raid the rest of the garden.
Motion-Activated Sprinklers
Water is an excellent, humane aversive stimulus. The Orbit 62100 Yard Enforcer (typically priced around $85) is the industry benchmark for mammal deterrence. It utilizes an infrared sensor to detect body heat and motion, triggering a sharp, noisy burst of water.
The Habituation Trap: If you leave a motion sprinkler in the exact same spot for more than a week, raccoons will map its blind spots or simply tolerate the water to reach high-value crops like sweet corn. To maintain effectiveness, you must rotate the sprinkler's position every 3 to 4 days and adjust the sensitivity dial to prevent false triggers from wind-blown foliage.
Predator Urine and Scent Repellents
Coyote or bobcat urine (available in granular or liquid form) can provide a temporary 7-to-10-day buffer, particularly during the early spring when raccoons are establishing foraging routes. However, once a raccoon realizes no actual predator is present, the scent barrier is ignored. Use scent repellents only as a supplementary measure while physical fencing is being installed.
Habitat Modification: Removing the Foraging Incentive
Exclusion is only half the battle. If your property offers abundant secondary food sources, the pressure on your garden perimeter will remain immense. Implement these habitat modifications to reduce your property's carrying capacity for raccoons.
- Grub Eradication: Raccoons frequently tear up the edges of gardens and lawns to feed on white grubs. Apply Heterorhabditis bacteriophora (beneficial nematodes) in late summer when soil temperatures are above 60°F. This biological control eliminates the grub population, removing the primary reason raccoons dig near your garden beds.
- Compost Security: Never put meat, dairy, or oily food scraps in an open compost pile. Use a fully enclosed, tumbling compost bin with secure latches. Raccoons can easily flip the lids off standard plastic bins.
- Harvest Timing: Sweet corn is at peak vulnerability during the "milk stage." Harvest ears the exact morning they ripen. Leaving overripe produce on the stalk for even 24 hours acts as a beacon, drawing in raccoons from up to a mile away.
- Tree Baffles: If raccoons are using overhanging tree branches to bypass your garden fence, install a 24-inch wide sheet metal cone baffle around the trunk, positioned at least 4 feet off the ground. This prevents them from climbing the tree and dropping into the garden enclosure.
Frequently Asked Questions
Will bird netting stop raccoons from eating my berries?
No. Standard extruded plastic bird netting is easily shredded by raccoon claws and teeth. If you must use netting over blueberries or strawberries, upgrade to heavy-duty, knotted nylon netting (often sold as deer netting) and secure the edges to the ground with heavy landscape staples every 12 inches to prevent them from lifting the edges.
Are ultrasonic pest repellers effective against raccoons?
Field studies consistently show that ultrasonic devices have little to no long-term efficacy on raccoons. While the initial high-frequency noise may startle them, raccoons quickly habituate to the sound once they realize it is not accompanied by a physical threat. Invest your budget in physical fencing or motion-activated water deterrents instead.
Is it legal to trap and relocate raccoons?
In most states and municipalities, it is illegal to trap and relocate raccoons without a specific nuisance wildlife permit. Relocation spreads diseases like rabies and distemper, and the relocated animal will likely die of starvation or territorial disputes. Focus on exclusion and deterrents, and contact a licensed NWCOA (National Wildlife Control Operators Association) professional if an animal is trapped inside a structure.

