The Wild

How to Prevent Raccoons in Your Yard

· 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 are clever, adaptable animals that can turn your yard into a nighttime buffet, digging up lawns, raiding trash cans, and even damaging structures. Preventing them requires removing food sources, blocking access, and making your yard less inviting. This guide covers practical, humane steps you can take today to keep raccoons out for good.

What You'll Need

  • Heavy-duty trash cans with tight-fitting lids (or bungee cords)
  • Ammonia or commercial animal repellent (optional)
  • Hardware cloth or wire mesh (1/2-inch or smaller)
  • Shovel or rake
  • Motion-activated lights or sprinkler
  • Chicken wire or fencing (at least 4 feet tall)
  • Sealant or caulk for gaps

Step-by-Step

  1. Secure all trash containers. Raccoons are notorious for tipping over garbage cans. Use cans with locking lids, or secure the lids with bungee cords. Store cans in a shed or garage until pickup morning, or use a metal can with a tight-fitting lid that raccoons can’t pry open.
  2. Remove pet food and birdseed. Feed pets indoors, or remove food bowls immediately after feeding. If you feed birds, use a feeder that catches seeds, and clean up spilled seed daily. Raccoons will eat almost anything, including birdseed and pet food.
  3. Eliminate other food sources. Pick up fallen fruit from trees, keep compost bins sealed (use a raccoon-proof bin or add lime), and don’t leave grills dirty—clean them after each use, and store them inside if possible.
  4. Block access to dens. Raccoons often use sheds, decks, crawl spaces, and chimneys as den sites. Inspect your property for gaps or openings. Cover vents with hardware cloth, seal gaps under decks with wire mesh buried at least 6 inches deep, and cap chimneys with a spark arrestor.
  5. Install motion-activated lights or sprinklers. Raccoons are nocturnal and prefer dark, quiet areas. Motion-activated lights can startle them, and motion-activated sprinklers are a humane deterrent that sprays water when they approach. Place them near gardens, trash areas, and entry points.
  6. Use repellents (with caution). Some people use ammonia-soaked rags or commercial raccoon repellents. Place them near problem areas, but be aware that they may need frequent reapplication and are not always effective. Always follow product instructions.
  7. Fence your garden. If raccoons are digging up your garden, install a fence at least 4 feet tall, and consider adding an electric wire at the top or bottom (but check local regulations). Bury the bottom of the fence 6 inches deep to prevent digging underneath.
  8. Maintain your yard. Keep grass mowed, trim overhanging branches, and remove brush piles. Raccoons prefer areas with cover, so an open, tidy yard is less attractive.

Common Mistakes

  • Leaving trash out overnight. Even with a lid, if you put trash out the night before pickup, raccoons will find it. Wait until morning to put it out.
  • Using only a single deterrent. Raccoons get used to lights or sounds quickly. Rotate methods or combine several (e.g., lights plus secured trash) for better results.
  • Ignoring small gaps. Raccoons can squeeze through openings as small as 3–4 inches. Check for gaps around doors, vents, and eaves.
  • Feeding raccoons intentionally. Never feed raccoons, even out of sympathy. It only encourages them to stay and can make them bolder.
  • Using poison or lethal methods. These are inhumane and often illegal. Focus on exclusion and removal of attractants.

Tips

  • Be consistent. Raccoons are persistent. You must be diligent with all steps for at least a few weeks to break their habits.
  • Use metal or plastic trash cans with tight lids. Plastic cans with snap-on lids are better than open bins.
  • Secure compost properly. Use a tumbler-style bin or a bin with a locking lid. Avoid adding meat or sweet scraps that attract raccoons.
  • Install a one-way door. If you suspect raccoons are already living under a deck or shed, install a one-way door (check with a wildlife professional) to let them leave but not re-enter. Do this only when there are no babies inside.
  • Work with neighbors. If raccoons are a neighborhood issue, coordinate trash pickup and food removal so raccoons don’t just move from one yard to another.

Troubleshooting

Raccoons are still getting into trash. Double-check that lids are truly secure—use bungee cords or clips. If they chew through plastic, switch to metal cans. Also, move cans to a location that is harder to access, like a garage.

They are digging up your lawn. This usually means they are searching for grubs. Treat your lawn for grubs (using a safe, approved pesticide) to remove the food source. Once grubs are gone, raccoons will likely stop digging.

They have taken up residence under your deck. Do not trap or handle them yourself. Contact a licensed wildlife removal service. They can safely evict the animals and help you seal the entry point afterward.

Repellents aren’t working. Raccoons may become accustomed to smells. Try switching between different types (e.g., ammonia, predator urine, commercial repellents) and reapply after rain. Combine with physical barriers for best results.

Raccoons are active during the day. While raccoons are normally nocturnal, daytime activity can occur, especially during mating season or if they are foraging for extra food. If you see a raccoon acting strangely (staggering, disoriented), do not approach—it may be sick. Contact animal control.

Frequently Asked Questions

Will mothballs keep raccoons away?

Mothballs are not recommended. They are toxic and not registered for outdoor wildlife use. They can harm pets and children, and raccoons often ignore them.

Do ultrasonic devices work?

There is little scientific evidence that ultrasonic repellents effectively deter raccoons. They may work temporarily but raccoons often get used to them.

How small a gap can a raccoon fit through?

Raccoons can squeeze through openings as small as 3 to 4 inches in diameter. Seal any gap larger than that.

Will a dog keep raccoons away?

Some dogs may deter raccoons, but not all. Raccoons can be bold and may fight back. Rely on exclusion and food removal rather than a pet.

What should I do if I find a baby raccoon?

Do not touch it. The mother is likely nearby. Keep pets away and leave the area. If the baby appears injured or orphaned after 24 hours, contact a wildlife rehabilitator.

Is it legal to trap raccoons?

Laws vary by location. In many areas, you need a permit, and trapping is often regulated. Always check with local wildlife authorities before attempting any trapping. It is safer and more humane to hire a professional.