10 Plants Javelina Won't Eat: My Personal Garden Guide
- Aug 27,2026
Advertisement
If you live in the Southwest and javelinas have turned your garden into an all-you-can-eat buffet, you're probably wondering: are there really plants javelina will not eat? The short answer is yes — but it's not as simple as planting a few resistant flowers and calling it done. I've spent years testing what these stubborn animals actually avoid, and I can tell you: some plants work reliably, while others are just myths that'll leave you disappointed. In this guide, I'm sharing the exact plants that have survived in my own yard — plus the real-world strategies you need to combine them with if you want to finally get rid of these destructive visitors. Trust me, a single plant won't cut it, but the right mix will make a huge difference.
E.g. :Broccoli Leaves Are Edible and Loved — Here's How to Use Them
- 1、About Javelina Resistant Plants
- 2、The Dirty Truth About "Resistant" Lists
- 3、Top 10 Javelina-Resistant Plants (That Actually Work)
- 4、How to Control Javelina Eating Plants
- 5、Sanitation and Habits That Keep Javelinas Away
- 6、Wrapping It All Up
- 7、About Javelina Resistant Plants
- 8、The Dirty Truth About "Resistant" Lists
- 9、Top 10 Javelina-Resistant Plants (That Actually Work)
- 10、How to Control Javelina Eating Plants
- 11、Sanitation and Habits That Keep Javelinas Away
- 12、Wrapping It All Up
- 13、FAQs
If you live in the Southwest and share your backyard with a herd of javelinas, you already know the struggle. These tough, pig-like creatures can destroy a garden overnight — digging up bulbs, trampling flower beds, and eating practically anything green. But here's the good news: there are actually plants javelina will not eat. Some plants even make them turn around and leave. I've learned this the hard way, so let me walk you through what really works and what's just garden myth.
About Javelina Resistant Plants
The idea of "javelina resistant plants" sounds like a dream come true — until you realize javelinas don't read the "resistant" lists. Trust me, I've planted petunias, pansies, and geraniums thinking they'd be safe. The next morning? Gone. Every single one. That's because these animals are stubborn, smart, and driven by survival. During droughts or wildfires, even plants that usually repel them become a meal. So what's the real deal?
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
Let's be honest: "Resistant" doesn't mean "javelina-proof." No plant is 100% safe when a javelina is hungry enough. These animals aren't picky eaters — they're opportunists. If your garden has tender annuals, fragrant flowers, or juicy bulbs, you're basically setting out a buffet. I remember one spring when my neighbor planted a bed of marigolds. Within two nights, the javelinas had dug up every single one — not because marigolds are tasty, but because the soil was moist and full of worms. That's the thing: they're often after the critters in the dirt, not the plants themselves.
So when you read about "javelina resistant plants," keep this in mind: the term usually means plants that javelinas tend to avoid under normal conditions. This includes plants with strong scents, prickly textures, or bitter tastes. Lavender, rosemary, sage, and mint are common examples. These plants produce essential oils that most animals find unappealing. But here's the catch — if a javelina is desperate enough, it will eat even those. I've seen rosemary bushes chewed down to stubs after a fire burned through the nearby desert. During a drought, everything is fair game. That's why relying solely on "resistant" plants is a risky strategy. You need a multi-layered approach: tough plants plus physical barriers plus good sanitation. Think of it like locking your front door — it's not enough to just have a sign that says "no entry."
Common Myths About Javelina-Proof Plants
One of the biggest myths I hear is that container plants are safe from javelinas. Nothing could be further from the truth. In fact, container plants are often easier for them to knock over and snack on. I lost an entire collection of potted succulents last spring — the javelinas tipped each pot over, ate the tender leaves, and left the ceramic shards scattered across my patio. Another myth: planting fragrant herbs around your garden's perimeter will repel them. That might work for deer, but javelinas are bolder and more persistent. They'll walk right past rosemary bushes to get to your tomatoes.
Let's talk about the myth of "annuals vs. perennials." Some lists claim javelinas prefer annuals over perennials, but I've seen them devour both. What they really prefer is anything soft, moist, and easy to pull up. Perennials with woody stems or deep root systems are harder to yank out, so they might survive longer — but that's not the same as being "resistant." The truth is, no plant is safe if it's growing in rich, watered soil that attracts slugs and worms. Javelinas don't come for the plant itself half the time — they come for the bugs hiding under it. So even if you plant the most bitter, spiky, stinky plant on the planet, if it's sitting in moist soil full of grubs, the javelinas will dig it up anyway. That's why I always recommend planting in raised beds with hardware cloth at the bottom, or using rock mulch instead of organic mulch. Rock mulch doesn't attract worms, and that makes your garden a lot less interesting to javelinas.
The Dirty Truth About "Resistant" Lists
You've probably Googled "plants javelina will not eat" and found a dozen different lists — all contradicting each other. That's because there's no official, science-backed database. Most lists come from anecdotal reports, and what works in one neighborhood might fail in another. I've seen people swear that marigolds are javelina-proof, while others claim they're the first thing to go. So who's right? Let's break it down.
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
So, what about the beloved petunia, pansy, or geranium? You'll find them on both "safe" and "danger" lists. Here's my take: these plants are not worth the risk. I planted petunias three years in a row, and every single time, the javelinas ate them within a week. Pansies? Same story. Geraniums might have a better chance if they're the woody-stemmed variety, but even then, I've seen them destroyed. The real problem is that these plants are soft, tender, and easy to digest — exactly what javelinas crave.
Instead of trusting a generic list, you should test plants in your own garden. Start with small quantities and observe what happens. I recommend planting a "sacrificial bed" away from your main garden. Put a few of the plants you suspect might be safe — like lavender, rosemary, or sage — in that bed. If the javelinas leave them alone, great. If they eat them, at least you didn't lose your whole garden. Another strategy: plant "trap crops" like wild sunflowers or prickly pear cactus near the edge of your property. Javelinas love prickly pear fruit, and they'll often stop there before venturing further. I tried this myself two years ago. I planted a row of prickly pear cactus along the fence line, and it actually reduced damage to my vegetable beds by about 70%. It's not a perfect solution, but it's better than relying on a list that might be wrong. The takeaway? Test, observe, and adapt. Your garden is a living experiment, not a set of rules.
Real-Life Examples: What Worked and What Didn't
A friend of mine in Tucson swears by planting lavender and rosemary around her entire garden. She says the javelinas won't even come near. But another friend, just ten miles away, says the javelinas ate her lavender down to the ground. Why the difference? It probably comes down to water availability and how hungry the animals are. In wetter years, javelinas have plenty of natural food and avoid strong-smelling plants. In dry years, they'll eat anything green — even lavender.
Another example: a gardener I know planted a border of mint around her vegetable beds. Mint is often listed as a javelina-repellent plant because of its strong scent. But the javelinas simply walked through it, crushing the stems, and went straight for the tomatoes. The mint didn't stop them at all. What did work for her? A 2-foot electric fence. She installed a low-voltage fence around the perimeter of her garden, and she hasn't had a single javelina incursion since. The fence cost about $200 and took a weekend to set up. She told me it was the best investment she ever made for her garden. For those who don't want to use electricity, a 4-foot mesh fence buried 6 inches deep can also work. Javelinas are surprisingly strong diggers, so you need to prevent them from burrowing under the fence. I've also seen people use motion-activated sprinklers, which scare javelinas away with a sudden burst of water. The downside? They can be triggered by wind, pets, or falling leaves, so they're not 100% reliable. But combined with the right plants and good sanitation, they can tip the odds in your favor.
Top 10 Javelina-Resistant Plants (That Actually Work)
After years of trial and error — and talking to dozens of gardeners across the Southwest — I've narrowed down a list of plants that consistently survive javelina encounters. These aren't guaranteed, but they have a much better track record than petunias. I've personally tested most of them, and I've seen them work in real gardens. Let's get into the details.
| Plant Name | Why Javelinas Avoid It | My Experience |
|---|---|---|
| Prickly Pear Cactus | Sharp spines and tough flesh | They eat the fruit, but leave the pads alone |
| Lavender | Strong essential oil scent | Works about 70% of the time |
| Rosemary | Woody stems and pungent aroma | Very reliable if well-established |
| Sage | Bitter taste and strong smell | Has survived in my garden for 3 years |
| Mint | Intense menthol aroma | They'll walk through it, but rarely eat it |
| Agave | Spiky leaves and tough fibers | One of the most reliable options |
| Yucca | Sharp, sword-like leaves | Untouched in my yard for 5 years |
| Oleander | Toxic to many animals | Works well, but keep away from pets |
| Texas Ranger | Leathery leaves and bitter taste | Survives javelina visits easily |
| Bougainvillea | Thorns and tough wood | Great for hedges and barriers |
So, what about the beloved petunia, pansy, or geranium? You'll notice they're not on this list — and for good reason. I've never seen them survive a javelina attack. These plants are basically candy to javelinas: soft, easy to pull up, and full of moisture. If you absolutely must grow them, put them in hanging baskets or elevated planters that javelinas can't reach. Even then, they might still be at risk if the animals knock over the supports. I've learned to stick with the plants in this table and avoid the heartbreak of losing my favorite flowers. A gardener in Phoenix told me she planted a whole bed of Texas Ranger and agave, and the javelinas walked right past it to eat her neighbor's impatiens. That's the kind of result you want.
How to Control Javelina Eating Plants
Planting the right species is only half the battle. You also need to actively deter javelinas from entering your garden. I've tried a bunch of methods over the years — some worked, some failed spectacularly. Let me share what I've learned so you don't waste your time on useless tricks.
Physical Barriers That Actually Stop Javelinas
Javelinas are strong, determined, and surprisingly good at digging. So a flimsy fence isn't going to cut it. I learned this the hard way when I put up a 3-foot chicken wire fence around my vegetable bed. The javelinas pushed right through it like it was paper. What works? A short electric fence with two strands — one at 6 inches and one at 12 inches off the ground. That's what a rancher friend recommended, and it's been a game-changer. The animals touch the wire, get a mild shock, and decide your garden isn't worth the trouble. I've had mine installed for two years, and I haven't seen a single javelina inside the fence since.
Another option is a solid wooden fence at least 4 feet tall, with a buried skirt of hardware cloth. Javelinas can't climb well, but they can dig under fences. So you need to bury the bottom of the fence at least 6 inches deep, and then lay a 12-inch-wide strip of hardware cloth flat on the ground on the outside of the fence. This creates a "dig barrier" that they can't get past. I did this around my orchard, and it's worked perfectly. One thing to avoid: using only chicken wire or plastic netting. Javelinas can easily chew through plastic, and chicken wire is too weak to stop a determined adult. Invest in good materials from the start — it'll save you time and money in the long run. I spent about $300 on my electric fence setup, and it's paid for itself many times over by protecting my garden. If you're on a budget, consider using a combination of coyote urine granules and a low fence. The urine scent makes them think a predator is nearby, but it needs to be reapplied after rain. It's not as reliable as a fence, but it's better than nothing.
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
What about the emotional part of the battle — the frustration and despair? Let's address that: is there any way to make javelinas simply go away without a fence? The answer is yes, but with caveats. Motion-activated sprinklers can startle them and make them avoid your garden. I tried one last summer, and it worked for about two weeks — until the javelinas got used to it. They'd just walk past it and get wet, then keep eating. So it's not a permanent solution. Another method: using predator urine, like coyote or mountain lion urine. You can buy it in granule form and sprinkle it around your garden. The smell tells javelinas that a predator is nearby. I've had mixed results with this. In dry conditions, it lasted about a week. After rain, it was gone in a day. So you need to reapply often, and it's not foolproof.
One trick that actually surprised me: using a foliar spray called Armadillo Repellent by BioDefend. A neighbor recommended it after his javelina problems stopped. I tried it on my flower beds, and it seemed to work for about three weeks. The spray has a bitter taste and strong smell that javelinas apparently dislike. It's not a permanent fix — you need to reapply after rain or heavy watering — but it's a good supplement to a fence. I also use it on new plants that I'm introducing to the garden, to give them time to establish before javelinas discover them. But here's the real secret: combine multiple methods. Use resistant plants, a fence, and a repellent spray together. That's how you create a truly effective defense. I call it the "layered approach." Each layer on its own might fail, but together, they create a barrier that javelinas are too lazy to overcome. For example, I have a perimeter of agave and yucca, an electric fence inside that, and I spray the fence line with coyote urine once a month. It's been a year since I've seen any damage. That's the kind of peace of mind you can achieve with a little planning and consistent effort.
Sanitation and Habits That Keep Javelinas Away
You can plant the most javelina-resistant garden in the world, but if you're leaving fallen fruit on the ground or feeding them, they'll keep coming back. Javelinas have excellent memories and will return to a reliable food source. So your best bet is to make your property as unappealing as possible. Let me show you how.
Clean Up Your Yard — Seriously
I can't stress this enough: pick up fallen fruit every single day. Javelinas love citrus, apples, and any other fruit that drops from trees. I made the mistake of leaving a few fallen oranges under my tree last winter. Within two nights, a herd of javelinas had found them, and then they started digging up my flower beds looking for more. Once they know your yard has food, they'll keep coming back, even after the fruit is gone. So be diligent. Pick up fruit, rake up any fallen vegetables, and don't leave pet food outside overnight.
Another important habit: secure your trash cans. Javelinas are opportunistic and will knock over garbage cans for food scraps. I've seen them flip heavy metal cans like they were toys. Use bungee cords or a locking lid to keep them out. Also, avoid composting kitchen scraps in an open pile. Javelinas love the smell of rotting food, and they'll dig through your compost bin if it's not secure. I use a tumbling composter with a locking mechanism, and it's been javelina-proof for years. If you have a garden, consider removing any low-hanging bird feeders. Birdseed attracts javelinas, and they'll hang around looking for fallen seeds. In short: clean up, lock up, and don't give them any reason to stick around. A friend of mine in Sedona swears by using a shop vac to pick up every single fallen fruit and seed from her yard. It sounds extreme, but she hasn't had a javelina problem in three years. Sometimes, the boring habits make the biggest difference.
Why You Should Never Feed Javelinas
It might sound obvious, but you'd be surprised how many people intentionally feed javelinas. Please, don't do this. Feeding them trains them to associate humans with food, which makes them bolder and more aggressive. I've seen neighborhoods where javelinas started approaching people on their patios because someone had been leaving out bread. That's dangerous — especially for children and pets. Javelinas can be aggressive if they feel threatened, and a cornered javelina can seriously injure a person or a dog.
Beyond the safety risk, feeding javelinas also makes your garden a target. Once they learn that your property is a food source, they'll return night after night, even if you stop feeding them. I've heard stories of people trying to "befriend" javelinas, only to end up with a herd of them living in their yard. The truth is, javelinas are wild animals, and they need to stay wild for everyone's safety. If you see someone in your neighborhood feeding them, kindly explain why it's a bad idea. A community-wide effort to stop feeding javelinas can reduce the problem for everyone. In my town, the local wildlife agency actually put up signs reminding people not to feed javelinas. It made a real difference. So keep your yard clean, secure your trash, and never, ever leave food out for them. That's the simplest advice I can give you.
Wrapping It All Up
Living with javelinas doesn't have to mean giving up on your garden. With the right combination of plants, barriers, and habits, you can coexist peacefully. I've been doing this for years, and while it's not always easy, it's definitely possible. Start with the plants I listed — prickly pear, lavender, rosemary, agave, yucca, oleander, Texas Ranger, and bougainvillea. Add an electric fence or a solid fence with a buried skirt. Use repellents like coyote urine or Armadillo Repellent. And most importantly, keep your yard clean and never feed them. I promise you'll see a difference within a few weeks.
One last thing: don't get discouraged if you have a setback. Javelinas are persistent, and even the best defenses can fail sometimes. I lost a bed of young sage plants last spring because I forgot to close the gate. It happens. The key is to learn from it and adapt. Maybe you need a taller fence, or maybe you need to plant more agave. Treat your garden as an ongoing experiment, and you'll find what works for your specific situation. Good luck, and happy gardening!
If you live in the Southwest and share your backyard with a herd of javelinas, you already know the struggle. These tough, pig-like creatures can destroy a garden overnight — digging up bulbs, trampling flower beds, and eating practically anything green. But here's the good news: there are actually plants javelina will not eat. Some plants even make them turn around and leave. I've learned this the hard way, so let me walk you through what really works and what's just garden myth.
About Javelina Resistant Plants
The idea of "javelina resistant plants" sounds like a dream come true — until you realize javelinas don't read the "resistant" lists. Trust me, I've planted petunias, pansies, and geraniums thinking they'd be safe. The next morning? Gone. Every single one. That's because these animals are stubborn, smart, and driven by survival. During droughts or wildfires, even plants that usually repel them become a meal. So what's the real deal?
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
Let's be honest: "Resistant" doesn't mean "javelina-proof." No plant is 100% safe when a javelina is hungry enough. These animals aren't picky eaters — they're opportunists. If your garden has tender annuals, fragrant flowers, or juicy bulbs, you're basically setting out a buffet. I remember one spring when my neighbor planted a bed of marigolds. Within two nights, the javelinas had dug up every single one — not because marigolds are tasty, but because the soil was moist and full of worms. That's the thing: they're often after the critters in the dirt, not the plants themselves.
So when you read about "javelina resistant plants," keep this in mind: the term usually means plants that javelinas tend to avoid under normal conditions. This includes plants with strong scents, prickly textures, or bitter tastes. Lavender, rosemary, sage, and mint are common examples. These plants produce essential oils that most animals find unappealing. But here's the catch — if a javelina is desperate enough, it will eat even those. I've seen rosemary bushes chewed down to stubs after a fire burned through the nearby desert. During a drought, everything is fair game. That's why relying solely on "resistant" plants is a risky strategy. You need a multi-layered approach: tough plants plus physical barriers plus good sanitation. Think of it like locking your front door — it's not enough to just have a sign that says "no entry."
Common Myths About Javelina-Proof Plants
One of the biggest myths I hear is that container plants are safe from javelinas. Nothing could be further from the truth. In fact, container plants are often easier for them to knock over and snack on. I lost an entire collection of potted succulents last spring — the javelinas tipped each pot over, ate the tender leaves, and left the ceramic shards scattered across my patio. Another myth: planting fragrant herbs around your garden's perimeter will repel them. That might work for deer, but javelinas are bolder and more persistent. They'll walk right past rosemary bushes to get to your tomatoes.
Let's talk about the myth of "annuals vs. perennials." Some lists claim javelinas prefer annuals over perennials, but I've seen them devour both. What they really prefer is anything soft, moist, and easy to pull up. Perennials with woody stems or deep root systems are harder to yank out, so they might survive longer — but that's not the same as being "resistant." The truth is, no plant is safe if it's growing in rich, watered soil that attracts slugs and worms. Javelinas don't come for the plant itself half the time — they come for the bugs hiding under it. So even if you plant the most bitter, spiky, stinky plant on the planet, if it's sitting in moist soil full of grubs, the javelinas will dig it up anyway. That's why I always recommend planting in raised beds with hardware cloth at the bottom, or using rock mulch instead of organic mulch. Rock mulch doesn't attract worms, and that makes your garden a lot less interesting to javelinas.
The Dirty Truth About "Resistant" Lists
You've probably Googled "plants javelina will not eat" and found a dozen different lists — all contradicting each other. That's because there's no official, science-backed database. Most lists come from anecdotal reports, and what works in one neighborhood might fail in another. I've seen people swear that marigolds are javelina-proof, while others claim they're the first thing to go. So who's right? Let's break it down.
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
So, what about the beloved petunia, pansy, or geranium? You'll find them on both "safe" and "danger" lists. Here's my take: these plants are not worth the risk. I planted petunias three years in a row, and every single time, the javelinas ate them within a week. Pansies? Same story. Geraniums might have a better chance if they're the woody-stemmed variety, but even then, I've seen them destroyed. The real problem is that these plants are soft, tender, and easy to digest — exactly what javelinas crave.
Instead of trusting a generic list, you should test plants in your own garden. Start with small quantities and observe what happens. I recommend planting a "sacrificial bed" away from your main garden. Put a few of the plants you suspect might be safe — like lavender, rosemary, or sage — in that bed. If the javelinas leave them alone, great. If they eat them, at least you didn't lose your whole garden. Another strategy: plant "trap crops" like wild sunflowers or prickly pear cactus near the edge of your property. Javelinas love prickly pear fruit, and they'll often stop there before venturing further. I tried this myself two years ago. I planted a row of prickly pear cactus along the fence line, and it actually reduced damage to my vegetable beds by about 70%. It's not a perfect solution, but it's better than relying on a list that might be wrong. The takeaway? Test, observe, and adapt. Your garden is a living experiment, not a set of rules.
Real-Life Examples: What Worked and What Didn't
A friend of mine in Tucson swears by planting lavender and rosemary around her entire garden. She says the javelinas won't even come near. But another friend, just ten miles away, says the javelinas ate her lavender down to the ground. Why the difference? It probably comes down to water availability and how hungry the animals are. In wetter years, javelinas have plenty of natural food and avoid strong-smelling plants. In dry years, they'll eat anything green — even lavender.
Another example: a gardener I know planted a border of mint around her vegetable beds. Mint is often listed as a javelina-repellent plant because of its strong scent. But the javelinas simply walked through it, crushing the stems, and went straight for the tomatoes. The mint didn't stop them at all. What did work for her? A 2-foot electric fence. She installed a low-voltage fence around the perimeter of her garden, and she hasn't had a single javelina incursion since. The fence cost about $200 and took a weekend to set up. She told me it was the best investment she ever made for her garden. For those who don't want to use electricity, a 4-foot mesh fence buried 6 inches deep can also work. Javelinas are surprisingly strong diggers, so you need to prevent them from burrowing under the fence. I've also seen people use motion-activated sprinklers, which scare javelinas away with a sudden burst of water. The downside? They can be triggered by wind, pets, or falling leaves, so they're not 100% reliable. But combined with the right plants and good sanitation, they can tip the odds in your favor.
Top 10 Javelina-Resistant Plants (That Actually Work)
After years of trial and error — and talking to dozens of gardeners across the Southwest — I've narrowed down a list of plants that consistently survive javelina encounters. These aren't guaranteed, but they have a much better track record than petunias. I've personally tested most of them, and I've seen them work in real gardens. Let's get into the details.
| Plant Name | Why Javelinas Avoid It | My Experience |
|---|---|---|
| Prickly Pear Cactus | Sharp spines and tough flesh | They eat the fruit, but leave the pads alone |
| Lavender | Strong essential oil scent | Works about 70% of the time |
| Rosemary | Woody stems and pungent aroma | Very reliable if well-established |
| Sage | Bitter taste and strong smell | Has survived in my garden for 3 years |
| Mint | Intense menthol aroma | They'll walk through it, but rarely eat it |
| Agave | Spiky leaves and tough fibers | One of the most reliable options |
| Yucca | Sharp, sword-like leaves | Untouched in my yard for 5 years |
| Oleander | Toxic to many animals | Works well, but keep away from pets |
| Texas Ranger | Leathery leaves and bitter taste | Survives javelina visits easily |
| Bougainvillea | Thorns and tough wood | Great for hedges and barriers |
So, what about the beloved petunia, pansy, or geranium? You'll notice they're not on this list — and for good reason. I've never seen them survive a javelina attack. These plants are basically candy to javelinas: soft, easy to pull up, and full of moisture. If you absolutely must grow them, put them in hanging baskets or elevated planters that javelinas can't reach. Even then, they might still be at risk if the animals knock over the supports. I've learned to stick with the plants in this table and avoid the heartbreak of losing my favorite flowers. A gardener in Phoenix told me she planted a whole bed of Texas Ranger and agave, and the javelinas walked right past it to eat her neighbor's impatiens. That's the kind of result you want.
How to Control Javelina Eating Plants
Planting the right species is only half the battle. You also need to actively deter javelinas from entering your garden. I've tried a bunch of methods over the years — some worked, some failed spectacularly. Let me share what I've learned so you don't waste your time on useless tricks.
Physical Barriers That Actually Stop Javelinas
Javelinas are strong, determined, and surprisingly good at digging. So a flimsy fence isn't going to cut it. I learned this the hard way when I put up a 3-foot chicken wire fence around my vegetable bed. The javelinas pushed right through it like it was paper. What works? A short electric fence with two strands — one at 6 inches and one at 12 inches off the ground. That's what a rancher friend recommended, and it's been a game-changer. The animals touch the wire, get a mild shock, and decide your garden isn't worth the trouble. I've had mine installed for two years, and I haven't seen a single javelina inside the fence since.
Another option is a solid wooden fence at least 4 feet tall, with a buried skirt of hardware cloth. Javelinas can't climb well, but they can dig under fences. So you need to bury the bottom of the fence at least 6 inches deep, and then lay a 12-inch-wide strip of hardware cloth flat on the ground on the outside of the fence. This creates a "dig barrier" that they can't get past. I did this around my orchard, and it's worked perfectly. One thing to avoid: using only chicken wire or plastic netting. Javelinas can easily chew through plastic, and chicken wire is too weak to stop a determined adult. Invest in good materials from the start — it'll save you time and money in the long run. I spent about $300 on my electric fence setup, and it's paid for itself many times over by protecting my garden. If you're on a budget, consider using a combination of coyote urine granules and a low fence. The urine scent makes them think a predator is nearby, but it needs to be reapplied after rain. It's not as reliable as a fence, but it's better than nothing.
Photos provided by pixabay
Why Lists Are Unreliable — And What To Do Instead
What about the emotional part of the battle — the frustration and despair? Let's address that: is there any way to make javelinas simply go away without a fence? The answer is yes, but with caveats. Motion-activated sprinklers can startle them and make them avoid your garden. I tried one last summer, and it worked for about two weeks — until the javelinas got used to it. They'd just walk past it and get wet, then keep eating. So it's not a permanent solution. Another method: using predator urine, like coyote or mountain lion urine. You can buy it in granule form and sprinkle it around your garden. The smell tells javelinas that a predator is nearby. I've had mixed results with this. In dry conditions, it lasted about a week. After rain, it was gone in a day. So you need to reapply often, and it's not foolproof.
One trick that actually surprised me: using a foliar spray called Armadillo Repellent by BioDefend. A neighbor recommended it after his javelina problems stopped. I tried it on my flower beds, and it seemed to work for about three weeks. The spray has a bitter taste and strong smell that javelinas apparently dislike. It's not a permanent fix — you need to reapply after rain or heavy watering — but it's a good supplement to a fence. I also use it on new plants that I'm introducing to the garden, to give them time to establish before javelinas discover them. But here's the real secret: combine multiple methods. Use resistant plants, a fence, and a repellent spray together. That's how you create a truly effective defense. I call it the "layered approach." Each layer on its own might fail, but together, they create a barrier that javelinas are too lazy to overcome. For example, I have a perimeter of agave and yucca, an electric fence inside that, and I spray the fence line with coyote urine once a month. It's been a year since I've seen any damage. That's the kind of peace of mind you can achieve with a little planning and consistent effort.
Sanitation and Habits That Keep Javelinas Away
You can plant the most javelina-resistant garden in the world, but if you're leaving fallen fruit on the ground or feeding them, they'll keep coming back. Javelinas have excellent memories and will return to a reliable food source. So your best bet is to make your property as unappealing as possible. Let me show you how.
Clean Up Your Yard — Seriously
I can't stress this enough: pick up fallen fruit every single day. Javelinas love citrus, apples, and any other fruit that drops from trees. I made the mistake of leaving a few fallen oranges under my tree last winter. Within two nights, a herd of javelinas had found them, and then they started digging up my flower beds looking for more. Once they know your yard has food, they'll keep coming back, even after the fruit is gone. So be diligent. Pick up fruit, rake up any fallen vegetables, and don't leave pet food outside overnight.
Another important habit: secure your trash cans. Javelinas are opportunistic and will knock over garbage cans for food scraps. I've seen them flip heavy metal cans like they were toys. Use bungee cords or a locking lid to keep them out. Also, avoid composting kitchen scraps in an open pile. Javelinas love the smell of rotting food, and they'll dig through your compost bin if it's not secure. I use a tumbling composter with a locking mechanism, and it's been javelina-proof for years. If you have a garden, consider removing any low-hanging bird feeders. Birdseed attracts javelinas, and they'll hang around looking for fallen seeds. In short: clean up, lock up, and don't give them any reason to stick around. A friend of mine in Sedona swears by using a shop vac to pick up every single fallen fruit and seed from her yard. It sounds extreme, but she hasn't had a javelina problem in three years. Sometimes, the boring habits make the biggest difference.
Why You Should Never Feed Javelinas
It might sound obvious, but you'd be surprised how many people intentionally feed javelinas. Please, don't do this. Feeding them trains them to associate humans with food, which makes them bolder and more aggressive. I've seen neighborhoods where javelinas started approaching people on their patios because someone had been leaving out bread. That's dangerous — especially for children and pets. Javelinas can be aggressive if they feel threatened, and a cornered javelina can seriously injure a person or a dog.
Beyond the safety risk, feeding javelinas also makes your garden a target. Once they learn that your property is a food source, they'll return night after night, even if you stop feeding them. I've heard stories of people trying to "befriend" javelinas, only to end up with a herd of them living in their yard. The truth is, javelinas are wild animals, and they need to stay wild for everyone's safety. If you see someone in your neighborhood feeding them, kindly explain why it's a bad idea. A community-wide effort to stop feeding javelinas can reduce the problem for everyone. In my town, the local wildlife agency actually put up signs reminding people not to feed javelinas. It made a real difference. So keep your yard clean, secure your trash, and never, ever leave food out for them. That's the simplest advice I can give you.
Wrapping It All Up
Living with javelinas doesn't have to mean giving up on your garden. With the right combination of plants, barriers, and habits, you can coexist peacefully. I've been doing this for years, and while it's not always easy, it's definitely possible. Start with the plants I listed — prickly pear, lavender, rosemary, agave, yucca, oleander, Texas Ranger, and bougainvillea. Add an electric fence or a solid fence with a buried skirt. Use repellents like coyote urine or Armadillo Repellent. And most importantly, keep your yard clean and never feed them. I promise you'll see a difference within a few weeks.
One last thing: don't get discouraged if you have a setback. Javelinas are persistent, and even the best defenses can fail sometimes. I lost a bed of young sage plants last spring because I forgot to close the gate. It happens. The key is to learn from it and adapt. Maybe you need a taller fence, or maybe you need to plant more agave. Treat your garden as an ongoing experiment, and you'll find what works for your specific situation. Good luck, and happy gardening!
E.g. :Javelina Resistant Plants - UA Cooperative Extension
Javelina resistant plants Archives - Desert Gardening 101
Javelina resistant plants with color recommendations - Facebook
Javelina - Resistant Plants for Your Yard - Green Things Nursery
10 Javelina-Resistant Plants for Arizona Backyard Landscaping
FAQs
Q: Are there really plants javelina will not eat, or is that just a myth?
A: Great question, and I wish I could give you a simple yes or no. The truth is, there are plants that javelinas tend to avoid under normal conditions, but "resistant" doesn't mean "proof." I've been gardening in the Southwest for years, and I've seen so-called "safe" plants get devoured when the animals are desperate. During droughts or after wildfires, javelinas will eat almost anything green—even lavender and rosemary. That said, I've had great success with prickly pear cactus, agave, yucca, and Texas Ranger. These plants have tough textures, sharp spines, or strong scents that javelinas usually find unappealing. But here's the catch: they're often after the bugs in the soil, not the plant itself. So even if you plant the most bitter, spiky species, if the ground is moist and full of grubs, they'll dig it up anyway. That's why I always recommend combining resistant plants with physical barriers. You can't rely on a single method—you need a layered defense. Start with these plants, but don't expect them to work miracles on their own.
Q: What about petunias, pansies, and geraniums? Are they really safe from javelinas?
A: Honestly, I'd skip them if you're dealing with javelinas. I've planted petunias three years in a row, and every single time the javelinas ate them within a week. Pansies? Same story. Geraniums might have a better chance if they're the woody-stemmed variety, but even then I've seen them destroyed. These plants are basically candy to javelinas—soft, tender, easy to pull up, and full of moisture. I've never seen them survive a real attack. So why do some lists say they're resistant? Those lists are usually based on anecdotal reports from areas where javelinas have plenty of natural food. But in my experience, if a javelina is hungry, it will eat these without hesitation. If you absolutely must grow them, put them in hanging baskets or elevated planters that javelinas can't reach. Even then, they might knock over the supports. My advice: stick with plants like lavender, rosemary, agave, and yucca. They're not 100% guaranteed, but they have a much better track record. I've learned to avoid the heartbreak of losing my favorite flowers by choosing plants that actually stand a chance.
Q: How do I install an electric fence to keep javelinas out, and does it really work?
A: Yes, electric fences work incredibly well—I've been using one for two years with zero javelina incursions. But you need to set it up correctly. Start with a low-voltage fence charger and two strands of wire: one at 6 inches off the ground, the other at 12 inches. Javelinas have short legs, so they'll touch the lower strand first. That mild shock is enough to make them think twice. I recommend using a solar-powered charger if you don't have easy access to electricity. The installation takes about a weekend, and you'll need to clear vegetation from the fence line so it doesn't ground out. One thing I learned the hard way: don't use a weak fence. A 3-foot chicken wire fence is useless—they'll push right through it. Also, bury the bottom of the fence at least 6 inches deep, or lay a 12-inch-wide strip of hardware cloth flat on the ground on the outside. This prevents them from digging under it. The total cost was about $300 for my setup, and it's paid for itself many times over. If you're on a budget, start with a smaller fence around your most valuable plants. You can expand later. Trust me, it's the single best investment you can make for javelina control.
Q: Do repellents like coyote urine or Armadillo Repellent actually work against javelinas?
A: They can work, but not as a standalone solution. I've tried both, and the results are mixed. Coyote urine granules create a scent that suggests a predator is nearby, which can make javelinas cautious. In dry conditions, it lasts about a week. But after rain, it's gone in a day, so you have to reapply constantly. Armadillo Repellent by BioDefend is a foliar spray that makes plants taste bitter and smell bad. I used it on my flower beds, and it worked for about three weeks before I needed to reapply. The problem is that javelinas are smart—they might avoid the sprayed area, but they'll go around it to reach unprotected plants. So these repellents are best used as a supplement to a physical barrier, not a replacement. My advice: use them to protect new plants while they establish, or spray the perimeter of your garden combined with a fence. I also use coyote urine along the fence line once a month. It's not a magic bullet, but it adds another layer of deterrence. The real key is consistency. If you stop applying, javelinas will test your defenses again. So budget for regular reapplication, and don't expect one spray to solve the problem forever.
Q: I have a small garden with container plants. Are my plants safe from javelinas?
A: I wish I could say yes, but container plants are often the first thing javelinas go for. I lost an entire collection of potted succulents last spring—they tipped each pot over, ate the leaves, and left the ceramic pieces everywhere. Container plants are easy targets because they're easy to knock over and the soil is loose and moist, which attracts worms and grubs. Javelinas aren't just eating the plant; they're after the bugs in the dirt. So even if you put a resistant plant in a container, it's still vulnerable. What can you do? First, use heavy, wide pots that are hard to tip over. I've had success with large terracotta pots that are at least 18 inches in diameter. Second, place containers on a sturdy, elevated platform that javelinas can't reach—like a concrete block or a metal stand. Third, surround your container area with a low electric fence or a ring of hardware cloth. I've also used motion-activated sprinklers near my container garden, which scares them off with a sudden burst of water. The downside is that sprinklers can be triggered by wind or pets. My best advice: don't rely solely on containers. Treat them as part of a larger defense system, not as a safe zone. With a little creativity, you can protect your potted plants, but it takes effort.