The Wild

Stop Raccoons Digging Up Garden: 7 Steps

· 5 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Raccoons dig up gardens mainly to find grubs, worms, and other insects, or sometimes to bury or retrieve food. To stop them, you need to remove the food source, block access, and make the area unpleasant or difficult to dig. This guide gives you practical, humane steps to protect your garden without harming raccoons or other wildlife.

What You'll Need

  • Chicken wire or hardware cloth (1/2-inch mesh or smaller)
  • Wire cutters and pliers
  • Garden stakes or landscape pins
  • Shovel or trowel
  • Ammonia-soaked rags or commercial predator urine (optional)
  • Motion-activated sprinkler or lights
  • Spicy deterrent spray (e.g., cayenne pepper mixed with water)
  • Secure compost bin with a lid
  • Bird feeder with a baffle or tray to catch seeds

Step-by-Step

  1. Identify and remove food sources. Raccoons dig for grubs and insects, so treat your lawn and garden for grubs if you see them. Also, pick up fallen fruit, secure trash cans with tight lids, and bring pet food indoors at night. If you compost, use a bin with a locking lid and avoid adding meat or sweet scraps.
  2. Install a physical barrier. Lay chicken wire or hardware cloth flat on the soil around your garden beds, then cover it with a thin layer of mulch or soil. The wire should be buried at least 2 inches deep and extend 12–18 inches beyond the edge of the bed. Raccoons will find it difficult to dig through the mesh. Alternatively, fence the garden with a 3–4 foot tall fence, but remember raccoons can climb, so add an outward-facing overhang at the top.
  3. Use motion-activated deterrents. Place a motion-activated sprinkler near the garden. When a raccoon triggers it, the sudden spray of water scares it away. Motion-activated lights also help, as raccoons prefer dark areas. Set these up at night when raccoons are most active.
  4. Apply scent deterrents. Soak rags in ammonia and place them around the garden perimeter (reapply after rain). Or use commercial predator urine (coyote or fox) according to package instructions. These smells signal danger to raccoons. Be careful not to place ammonia directly on plants.
  5. Use taste deterrents on plants. Mix a solution of water and cayenne pepper (about 1 tablespoon per quart of water) and spray it on the leaves and soil. Reapply after rain. This makes digging and nibbling unpleasant. Avoid spraying on edible parts right before harvest; wash thoroughly.
  6. Eliminate hiding spots. Raccoons like to dig under decks, sheds, or dense brush. Seal off these areas with wire mesh or boards. Keep your yard tidy—trim overgrown shrubs and remove wood piles where raccoons might shelter.
  7. Make the digging spot unappealing. If raccoons keep returning to a specific area, cover it with a thick layer of large, sharp-edged stones or pine cones. Raccoons don't like digging through rough material. You can also place a few motion-activated noise makers (like a radio on a talk station) to discourage them.

Common Mistakes

  • Using only a fence without an overhang. Raccoons are excellent climbers; a simple vertical fence won't stop them. You need a floppy top section that bends outward.
  • Not securing the wire barrier properly. If the chicken wire isn't buried or staked down, raccoons can lift it or dig around the edges.
  • Leaving pet food or water outside. Even one night of accessible food will attract raccoons and undo all your other efforts.
  • Forgetting to reapply scent and taste deterrents. Rain and time wash them away, so you must refresh them regularly.
  • Using mothballs as a deterrent. Mothballs are toxic and not meant for outdoor use; they can harm pets, children, and wildlife.

Tips

  • Combine multiple methods—barriers, scents, and motion-activated devices—for the best results. Raccoons are smart and may get used to one deterrent.
  • Do all your deterrent setup in the late afternoon or early evening, so it's active by nightfall when raccoons are most active.
  • If you have a bird feeder, place it on a pole with a baffle to prevent raccoons from climbing and scattering seeds that attract them.
  • Keep your garden clean: remove weeds and debris where insects thrive, reducing the raccoons' food source.
  • Consider planting a “decoy” crop like a patch of clover away from your main garden; raccoons may dig there instead, sparing your prized plants.

Troubleshooting

If raccoons still dig despite your efforts, first check that your barriers are intact—look for gaps under fences or where wire has lifted. Reapply scent deterrents after rain. If you're using a motion-activated sprinkler, make sure it's positioned to cover the entire garden and that the battery is charged. Try rotating different scents (ammonia, predator urine, vinegar) to keep raccoons guessing. If a raccoon has dug a den under your porch or shed, you must seal the entrance after the animal leaves (usually during the day) to prevent it from returning. If you suspect a large population, contact a wildlife removal service for humane exclusion advice—never attempt to trap or handle raccoons yourself, as they can carry diseases.

Frequently Asked Questions

Will mothballs keep raccoons away?

No, and they are not recommended. Mothballs are toxic and can harm pets, children, and wildlife. They are also not registered for outdoor pest use.

Does human hair or soap keep raccoons away?

Some people report success with human hair or strongly scented soap placed around the garden, but results vary. These may work temporarily until raccoons get used to the smell.

Are raccoons more active in certain seasons?

Yes, raccoons are more active in spring and early summer when they are raising young and need more food. They may also dig more in late summer to fatten up for winter.

Will a ultrasonic device repel raccoons?

Ultrasonic devices have limited proven effectiveness against raccoons. They may work for a short time, but raccoons often become accustomed to the sound.

Is it safe to use cayenne pepper on edible plants?

Yes, cayenne pepper is safe for plants and humans, but wash produce thoroughly before eating. Reapply after rain, and avoid spraying directly on the edible parts if you plan to harvest soon.

Should I feed raccoons to keep them away from my garden?

No, feeding raccoons will only attract more of them and make them bolder. It also puts you at risk of bites and disease. Never feed wild animals.