Javelina Repellent: How to Keep Them Out of Your Yard

The most effective javelina repellent strategy combines scent-based deterrents with changes to your yard that remove what’s attracting them in the first place. No single product will solve a javelina problem on its own, but layering several approaches can keep herds from treating your property like a buffet.

Why Javelinas Keep Coming Back

Javelinas are opportunistic feeders with poor eyesight but an extremely strong sense of smell. That nose leads them straight to easy food sources in residential yards: bird feeders, pet food left outside, fallen fruit, vegetable gardens, and flower bulbs. Bird feeders are one of the worst offenders. Javelinas treat them as an easy meal and then start looking for other food sources nearby. Once a herd learns your yard has food, they’ll return regularly and can destroy lawns, gardens, and landscaping in the process.

The New Mexico Department of Game and Fish warns that artificial feeding causes javelinas to move into neighborhoods they wouldn’t normally frequent. So before spending money on repellent products, start by removing attractants. Take down bird feeders, feed pets indoors, pick up fallen fruit, and secure garbage cans. This alone can dramatically reduce visits.

Scent-Based Repellents

Because javelinas depend so heavily on their sense of smell, scent-based deterrents are your strongest tool. These fall into two categories: predator scents and irritant sprays.

Predator Urine Products

Javelinas instinctively avoid areas where they detect predators. Granular products containing coyote urine exploit this fear by mimicking the scent of a natural enemy. You spread the granules around the perimeter of your yard or around specific plants you want to protect. The scent signals danger, and javelinas steer clear. The catch is that you need to reapply consistently, especially after rain washes the scent away. Without regular maintenance, these products lose effectiveness quickly.

DIY Hot Pepper and Garlic Spray

You can make your own repellent spray with ingredients from your kitchen. The active ingredient is capsaicin, the compound that makes hot peppers burn, which irritates javelinas’ sensitive noses. Boil a quart of water, add several cloves of crushed garlic and a few tablespoons of cayenne pepper powder, and let it steep for at least 30 minutes. Once it cools, strain the liquid into a spray bottle and add a drop of dish soap so the mixture sticks to plant leaves. Spray it directly onto plants javelinas have been eating. You’ll need to reapply every few days and after any rain, so this works best for protecting a specific garden bed rather than a whole property.

Plants That Repel Javelinas

One of the most sustainable long-term strategies is landscaping with plants javelinas naturally avoid. Strongly scented herbs top the list: rosemary, lavender, oregano, thyme, mint, basil, and sage all produce aromas that javelinas find overwhelming. Russian sage is one of the most popular javelina-resistant perennials in the Southwest for exactly this reason.

Beyond herbs, javelinas tend to leave these plants alone:

  • Ornamental grasses: pampas grass, deer grass, blue fescue, and most native grasses
  • Tough shrubs and perennials: manzanita, lilacs, red hot poker, hardy hibiscus
  • Groundcovers: vinca (periwinkle) and Mexican primrose
  • Bulbs: daffodils and narcissus (poisonous, so javelinas won’t eat them)
  • Flowers and vines: daylilies, zinnias, snapdragons, wisteria, silver lace vine

On the flip side, javelinas love tulip bulbs, freesia bulbs, and most vegetables. One gardener reported losing close to 300 Turkish tulip and freesia bulbs to a single herd in one night. If you want to grow these, they need physical protection like wire cages or raised beds with hardware cloth underneath.

Motion-Activated Devices

Technology-based deterrents use sudden bursts of light, sound, or water to startle javelinas when they enter your yard. Motion-activated sprinklers are popular because they combine surprise with an unpleasant soaking. Ultrasonic devices emit high-frequency sound when triggered by movement. These tools work best when javelinas haven’t yet become habituated to your property. The main limitation is that animals can eventually learn the devices aren’t actually dangerous, so rotating the placement or type of deterrent helps maintain the element of surprise.

Keeping Dogs Safe Around Javelinas

If you have dogs, javelina repellent isn’t just about protecting your garden. Javelinas cannot tell the difference between a dog and a coyote, and coyotes are one of their natural enemies. This means a javelina that encounters your dog may react with full defensive aggression. In September 2022 alone, two people in the Tucson area were bitten by javelinas while walking their dogs in separate incidents. One dog walker suffered a broken leg during an attack.

Keeping javelinas off your property in the first place is the best protection for your pets. If you walk your dog in areas where javelinas are active, especially at dawn and dusk, keep your dog on a short leash and give any herd you spot a wide berth. Never let a dog chase or approach javelinas.

Legal Considerations

Javelinas are classified as game animals, not pests, which limits your options. In Texas, javelinas have regulated hunting seasons and a bag limit of two per license year. In Arizona, they’re similarly managed as a game species. You generally cannot trap, relocate, or kill javelinas on your property outside of regulated seasons without specific permits. This is why non-lethal repellent strategies matter. If javelinas are causing serious property damage, contact your state wildlife agency for guidance on legal options.

Putting It All Together

The most reliable approach layers multiple deterrents rather than relying on any single product. Start by eliminating food sources: bird feeders, pet food, accessible garbage, and fallen fruit. Then add scent-based repellents around your yard’s perimeter, using either predator urine granules or homemade capsaicin spray on vulnerable plants. Over time, replace javelina-attracting plants with resistant species like rosemary, lavender, ornamental grasses, and daffodils. Motion-activated sprinklers or lights add another layer of defense, particularly around entry points where javelinas access your yard.

Consistency is what separates people who occasionally see javelinas from people who never do. Reapply scent products on a regular schedule, keep attractants locked down year-round, and rotate your deterrent methods so javelinas don’t have time to adapt. A herd that finds your yard unrewarding and slightly threatening will move on to easier territory.