Javelinas’ favorite food is prickly pear cactus, which they consume thorns and all(!), but they also enjoy a wide variety of landscape and garden plants. Here’s how to stop them from eating yours.

Javelinas are common visitors to southwest homes, even those in the city or the suburbs. They’re considered “opportunist omnivores” meaning they’ll eat just about anything, but eat mostly plants. Astoundingly, the mainstay of their diet is prickly pear cactus — including thorns and glochids! 😮
Besides cactus, they also eat flowers, fruits, nuts, berries, bulbs, seeds, beans, and many other succulents. They occasionally eat eggs, snakes, fish, frogs, and dead birds and rodents.
Javelinas live and travel in a group called a squadron. A squadron usually has six to nine members, but can have many more — even up to 50!
They feel at home in the burbs and wander around neighborhoods looking for garbage cans, potted plants, and bird feeders to raid. They are not shy about walking right up to your front door. I’ve seen Ring recordings of javelinas tearing into Amazon packages, devouring the package contents… along with the cardboard packaging.
They are messy eaters and leave a trail of destruction. Frustratingly, it’s not unusual for them to knock over pots or dig up plants that they don’t eat. And when they get into a trash can, they demolish the contents leaving an indescribable mess.
If javelinas frequent your yard, they’re looking for food, water, or shelter. Fortunately, there are steps you can take to make your yard less attractive and keep them from being a nuisance.
Don’t Feed the Javelinas
First and foremost, do not feed the javelinas either on purpose or unintentionally.
Don’t tempt them with bird feeders, bird baths, or pet bowls.
Don’t leave your trash cans where they can get at them. They often raid trash cans overnight, so putting your trash cans out the night before your trash pickup is an invitation for a nocturnal raid.
If it’s not convenient for you to put your trash out in the morning, your trash collection service may provide trash cans with locking lids. If you live in the city of Tucson, you can request a trash can with a locking lid at no extra charge.
On the other hand, some people find that leaving them water prevents damage since they have been known to chew on hoses or irrigation lines to get water. It’s believed they dig up plants that they don’t eat because they’re looking for water from juicy roots or grubs. You may have to experiment with this.
Javelinas love pumpkins. So avoid putting pumpkins on your front porch as a Halloween decoration. Javelinas seem to think you’ve put them out for their enjoyment.

Protect Your Garden with Walls and Fences
The most effective way to keep javelinas out of your plants is with a wall or fence. Unlike bobcats and coyotes, which can jump over tall fences or walls, javelinas are not jumpers or climbers — that would be a site to see! So a 3 to 4-foot fence or wall will keep them out of your yard. If you live where block walls around yards are the norm, they won’t be a problem, at least in your backyard.
If you plant something new that you suspect they might find delicious, surround it with a wire cage temporarily until it has a chance to get established. For example, javelinas will eat a newly planted hesperaloe but usually leave mature plants alone.
You can prevent javelinas from digging up a plant by placing poultry wire under your gravel or just below the soil surface.
Smaller plants like flowering annuals can be suspended in hanging planters or otherwise kept out of reach.
When putting up a wall or fence isn’t feasible, the Arizona Game & Fish Department suggests stringing a single electric wire around the area you want to protect. It only has to be 8 to 10 inches off the ground to be effective.
An Arizona golf course found that spraying chili oil stopped javelinas
from tearing up the turf, but ultimately decided it was not
a practical solution for such large expanses of grass.
But it might work in your yard.
Plant Javelina Proof Plants
If you have an unprotected area that javelinas frequent, you can deter them by planting javelina-resistant plants.
Javelinas will eat almost any plant if they are hungry (or thirsty) enough. And while there are no plants that are completely javelina proof, there are many plants considered “javelina resistant”. These plants are not javelinas’ favorites, and they generally leave them alone unless desperate.
You’ll find a comprehensive list of javelina-resistant plants here.
Did you enjoy this article?
Sign up for our weekly newsletter
where you’ll find more great info on creating &
maintaining a beautiful, carefree desert landscape.
Author Bio
Deane Alban is the creator of Southwest Gardener. She is a science writer with a bachelor’s degree in botany from the University of South Florida. Gardening is her lifelong passion. She’s been gardening in Tucson for over 15 years.
