The Wild

How to Keep Unwanted Animals Out of Your Yard

· 6 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

Keeping unwanted animals out of your yard means making the space less attractive and harder to access without harming wildlife. The goal is to remove food, water and shelter, then add barriers where animals still try to get in. You do not need to trap or handle animals to succeed; in many places it is illegal to trap or relocate wildlife without a permit, and handling wild animals can be dangerous. Before you start, check local rules about fencing, wildlife and protected species, and make sure any deterrent you use is legal where you live.

What You'll Need

  • Trash cans with tight-fitting, lockable lids
  • Wire mesh or hardware cloth (for sealing gaps and protecting plants)
  • Wood or metal stakes and zip ties or clips
  • Outdoor motion-activated lights or sprinklers
  • Sealable containers for pet food, bird seed and compost
  • Garden hose or sprinkler (for harmless hazing from a distance)
  • Gloves and a shovel for cleaning up droppings or spoiled food
  • Ammonia-based cleaner or commercial repellent labelled for the target species (use only as directed)

Step-by-Step

  1. Walk the yard and note what attracts animals. Look for spilled bird seed, pet food bowls left outside, fruit on the ground, open compost, standing water in buckets or clogged gutters, and gaps under sheds, decks or fences. Fixing these is more effective than any repellent.
  2. Secure all food sources. Store pet food and bird seed in metal or heavy plastic containers with locking lids. Bring pet bowls inside at night. Use a compost bin with a secure lid and avoid adding meat, dairy or cooked food to open compost. Pick up fallen fruit daily during fruiting season.
  3. Manage trash. Use cans with locking lids or keep cans inside a shed or garage until collection day. Rinse cans occasionally to reduce odour. Never leave garbage bags sitting outside; put them directly into the can.
  4. Remove standing water. Empty buckets, plant saucers, wheelbarrows and kiddie pools when not in use. Fix leaky outdoor taps. If you have a pond, keep it stocked with native plants and avoid leaving fish food out; a small recirculating pump helps.
  5. Close off denning sites. Seal gaps under sheds, decks and porches with hardware cloth buried a few inches into the ground and bent outward at the base. Check first that no animal is inside; if you see fresh tracks or droppings, wait until you are sure the space is empty before sealing. Never seal an animal inside.
  6. Protect gardens and trees. Use raised beds with mesh sides, row covers, or netting over berry bushes. Wrap tree trunks with metal guards to prevent climbing. For bulbs, plant them in buried wire baskets. Fencing should be at least 1 metre (about 3 feet) high for rabbits and higher for deer, with the bottom buried or pegged down.
  7. Use motion deterrents strategically. Motion-activated lights, sprinklers or radios can startle animals, but animals often get used to them. Move them every few days and combine them with physical barriers. Never aim deterrents at an animal continuously or in a way that causes injury.
  8. Keep grass and brush trimmed. Short grass and cleared brush remove cover that animals use to approach. Trim shrubs away from fences and keep woodpiles off the ground and away from the house.
  9. Clean up droppings safely. Wear gloves, use a shovel, and bag waste for the trash. Disinfect tools afterwards. Do not handle wild animals or their nests; if you find a nest with young, leave it alone and call a local wildlife rehabilitator or animal control for advice.
  10. Review and repeat. Animals adapt, so check your yard weekly for new gaps, spills or standing water. Consistency matters more than any single product.

Common Mistakes

Feeding wildlife, even accidentally, undoes most other efforts. Leaving pet food out, spreading bread for birds, or letting bird seed spill attracts rodents and larger animals. Another common mistake is sealing a gap without checking for animals inside, which can trap them and cause suffering. Using poison or glue traps is dangerous to pets, children and non-target wildlife, and is often illegal for wild species. Placing repellents without reading the label can harm plants or pets. Finally, relying on a single deterrent, such as an ultrasonic device or a light, rarely works for long; animals habituate quickly.

Tips

Change deterrents every few days so animals do not get used to them. Use two barriers in series, such as a fence plus netting, for high-pressure areas. Keep a pair of gloves and a shovel near the garden for quick cleanups. If you have fruit trees, harvest early and pick up drops daily. Plant native species that do not attract problem animals, and avoid plants known to be favourites of deer or rabbits if those are your main issue. Talk to neighbours about shared food sources, since animals move between yards.

Troubleshooting

If animals keep returning, re-check food and water sources first. A single overlooked bowl or fallen fruit can keep them coming. If digging continues under a fence, extend the mesh deeper or lay a skirt of hardware cloth flat on the ground and cover it with soil. If animals are entering through a gap you sealed, look for a new route; animals often find alternative paths. If you suspect a nest with young, do not block it; wait a few weeks until the young leave, then seal the entry. For persistent problems with protected species, contact your local wildlife agency for advice rather than attempting removal yourself. If someone is bitten or scratched by a wild animal, wash the area with soap and water and seek medical help promptly; do not try to treat the wound yourself beyond basic first aid.

Frequently Asked Questions

What is the most effective single change to keep animals out?

Removing food and water sources. Without them, most animals lose interest in a yard quickly.

Can I use mothballs or ammonia to repel animals?

Mothballs are not labelled for outdoor wildlife repellent and can harm pets and children. Use only products labelled for the target species and follow the directions exactly.

Is it legal to trap and relocate a wild animal?

In many places, no, or only with a permit. Check local regulations before considering any trapping; handling wild animals can be dangerous and is often illegal.

How high does a fence need to be for deer?

Deer can clear fences around 2 metres (about 6.5 feet) high, though they may not attempt it if food inside is limited. A lower fence with an angled top or double fence can also work.

What should I do if I find a baby animal in my yard?

Leave it alone and keep pets away. Many mothers leave young for hours at a time. If the animal appears injured or the mother does not return after a full day, call a local wildlife rehabilitator for advice.

Do ultrasonic repellents work?

Evidence is mixed and animals often habituate. They are not a substitute for removing attractants and sealing entry points.