9 Plants That Repel Raccoons and Protect Your Garden Naturally
October 9, 2026
Raccoons rely on their nose more than almost any other sense, and that dependence creates an opening for gardeners tired of shredded flower beds and knocked-over trash bins. Planting the right mix of fragrant herbs, thorny shrubs, and pungent alliums can make a yard smell and feel wrong to a raccoon long before it gets close to the vegetable patch. The Old Farmer’s Almanac notes that even though wild raccoons prefer areas with trees and a source of water, more and more of them are raiding gardens because gardens are an easy source of food.
That means the plants that repel raccoons work best as one layer in a broader strategy, not a magic fence. Below are nine garden plants worth growing, why raccoons tend to avoid them, and where they fit into a yard that already has a few tempting targets, like a tomato patch.
| Plant | Why Raccoons Avoid It | Best Planting Spot |
|---|---|---|
| Roses | Thorns irritate paws; heavy floral scent overwhelms | Perimeter beds, near entry points |
| Lavender | Strong linalool scent is overpowering | Borders, potted near patios |
| Mint/Peppermint | Menthol masks food odors raccoons hunt for | Near trash cans, compost bins |
| Onions | Sharp sulfur smell is unpleasant | Vegetable bed borders |
| Garlic | Allicin creates a sharp, persistent aroma | Interplanted with vulnerable crops |
| Hot Peppers | Capsaicin irritates scent and taste | Garden bed edges, entryways |
| Globe Thistle | Prickly texture hurts sensitive paws | Front-line barrier plantings |
| Geraniums | Citrus-rose scent and tough leaf texture | Containers, porch borders |
| Tomatoes | Not a deterrent — pair with repellents above | Protected beds, near companion plants |
Roses
Roses are grown for their fragrance and color, but that same appeal to gardeners is a liability for raccoons. The genus Rosa produces flowers with a scent strong enough to mask food odors, and its stems come armed with thorns that raccoons would rather avoid entirely.
- According to Tom’s Guide, while we can enjoy the strong, floral scent, this is repulsive to raccoons, and keeps them at bay.
- Roses often have thorns or pointy bushes, which makes it uncomfortable for raccoons’ soft paws to tread through, adding a physical barrier on top of the scent.
- Best Life reports that rose bushes have a very strong scent which raccoons are averse to, so it’s recommended to plant a lot of rose bushes wherever you have a pest problem.
- Plant rose bushes along fences or garden borders where raccoons typically enter, rather than scattering single plants that offer easy paths around them.
Lavender
Lavandula angustifolia is one of the most reliable plants that repel raccoons, thanks to a compound most gardeners have never heard of. Its calming scent to humans becomes an aggravating one to a raccoon’s far more sensitive nose.
- The strong smell is overpowering for raccoons, and lavender contains a non-toxic compound called linalool, which is an essential ingredient found in most pest repellents.
- Best Life adds that in addition to being repellent to deer and snakes, the strong scent of lavender is also a deterrent for raccoons.
- Lavender is also known to keep mice and rats from invading your home, repel spiders, fruit flies and other common pests, making it useful well beyond raccoon control.
- Container-grown lavender near patios or hanging baskets works if garden space is limited.
Important Note: As Best Life points out, while these plants may be less appealing to raccoons, they are not 100 percent foolproof. Pair lavender with fencing or motion-activated lighting for stronger results.
Mint/Peppermint
Mentha piperita, commonly known as peppermint, spreads fast and smells even faster. Its menthol scent does double duty: it repels raccoons directly and covers up the food smells that draw them in the first place.
- Best Life notes that mint is a rapidly spreading plant that repels raccoons with its strong smell, and Perfect Plants Nursery owner Alex Kantor suggests planting it near your garbage cans to stop raccoons from rummaging for food.
- Mint, especially peppermint, also masks other smells that raccoons might like, which helps around compost bins and pet food storage.
- According to AAAC Wildlife Removal, peppermint and hot pepper plants release strong menthol and capsaicin scents that raccoons instinctively avoid, and planting them around garden beds and trash areas creates an easy, chemical-free barrier.
- Because mint spreads aggressively, plant it in containers sunk into the ground to keep it from taking over nearby beds.
Pro Tip: AAAC Wildlife Removal recommends gardeners monitor plant health and renew annual repellent species each spring to keep potency high, since scent strength fades as plants age.
Onions
Onions belong to the same pungent family as garlic, and their bulbs pack a similarly sharp defense. Allium cepa gives off a smell that most animals, raccoons included, find unpleasant enough to steer clear of.
- One low-cost method comes straight from home gardeners: chop up both garlic and onions, mix them with rock salt, before sprinkling around the yard.
- These concoctions might make your home smell of garlic, but it will be worth it in the long-run for keeping raccoons out of garden beds.
- Raccoon Control Fort Wayne notes that planting marigolds, garlic, and onions around the garden can act as a natural deterrent due to their strong scents.
- Grow onions along the outer edge of vegetable rows so their scent forms a barrier before raccoons reach sweeter targets like corn or berries.
Garlic
Allium sativum is one of the most concentrated scent weapons available to home gardeners, and it works on more than just raccoons. Its sulfur compounds release a smell that intensifies the moment leaves or bulbs are bruised.
- Complete Gardening states plainly that the strong aroma of garlic is unpleasant to raccoons, and incorporating garlic plants into a garden, or using garlic sprays, can effectively repel raccoons and protect crops.
- AAAC Wildlife Removal explains that ornamental alliums, garlic’s close relatives, unleash allicin when their bulbs or leaves are crushed, filling the air with a sharp, persistent aroma that raccoons find intolerable.
- The same source suggests gardeners plant them in clumps of three to five bulbs at all likely entry points; along fence lines, near compost heaps, or along garden paths.
- Interplanting garlic between rows of vulnerable vegetables spreads its scent across a wider footprint than a single border row.
Hot peppers (cayenne, jalapeño, habanero, black pepper)
Capsaicin is the compound that makes chili peppers burn, and it works just as effectively on a raccoon’s nose and mouth as it does on a human tongue. Cayenne and jalapeño both belong to Capsicum annuum, while habanero is a hotter relative, Capsicum chinense. Black pepper is a different plant entirely, the vine Piper nigrum, but it shares the same sharp, irritating effect raccoons tend to avoid.
- Yahoo Life reports that hot peppers are one of the easiest ways to deter raccoons, as well as black pepper and cayenne plants, mainly because raccoons detest the scent or taste of capsicum found in hot peppers.
- The same source adds that experts recommend planting hot peppers or placing pots near the entryway of a yard to prevent raccoons from entering.
- Levo League notes raccoons hate peppery smell and ammonia-like odors because they obscure the scent of rotting food, which is often what first draws them into a yard.
- For a spray version, iGrowTomatoes describes how to blend a few hot peppers like cayenne or habanero with water and strain the mixture before applying it to vulnerable plants.
Pro Tip: Levo League suggests diluting black pepper in a water-and-soap mixture, noting it obscures their sharp sense of smell so it would be of real help to you in raccoon-proofing your vicinity.
Globe thistle
Globe thistle earns its place on this list through texture rather than scent. Echinops ritro produces spiky, silvery-blue flower heads and prickly foliage that a raccoon’s sensitive paws simply do not want to touch.
- Yahoo Life describes how globe thistles are known for their prickly thorns and rough textures, which are unappealing to raccoons who will steer clear of such plants.
- The outlet recommends planting globe thistles throughout a yard, especially in areas that may be attractive to raccoons, such as garden beds or if you’re growing strawberries.
- Pioneer Thinking points out that raccoons have very sensitive paws and do not like to walk on or touch prickly or thorny plants, like globe thistle, cucumbers, anything in the squash family, rose bushes, and more.
- Cluster globe thistle near the front line of a garden bed rather than scattering single plants, since raccoons will simply walk around isolated specimens.
Geraniums
Garden geraniums sold at most nurseries are technically Pelargonium, a close relative of the true Geranium genus, but both share the citrus-and-rose scent that raccoons find overpowering. Their leathery, textured leaves add a second layer of defense beyond smell alone.
- Yahoo Life explains that geraniums are fresh-smelling plants that produce colorful blooms ranging from purple to red to pink, and their strong, citrus and rose fragrance is too potent for raccoons — making them a great repellent.
- Critter Clean Out confirms that raccoons don’t usually eat geraniums; this flower may be pretty and have a strong smell, but raccoons and other animals aren’t fond of them.
- The same source notes these flowers have a thick, leathery, and fluffy texture that most animals don’t enjoy, which adds to their unpopularity with foraging wildlife.
- Grow geraniums in tall containers on a porch or patio edge, where their scent greets any raccoon before it reaches the yard beyond.
Important Note: Critter Clean Out warns that because raccoons are opportunistic feeders, they will eat this flower if they have to and if food is scarce. Geraniums work best alongside other food-source management, not as a standalone fix.
Tomatoes
Tomatoes round out this list for a different reason: they are not a repellent at all, but the crop most gardeners are actually trying to protect. Solanum lycopersicum ranks among the most raided vegetables in backyard gardens, which makes it the natural test case for everything above.
- According to iGrowTomatoes, raccoons absolutely love ripe tomatoes, and will often wait until the fruit is nearly perfect, then swoop in during the night and ruin not just one or two tomatoes – but often the entire crop.
- Rather than eating a whole tomato, many times they’ll take a bite or two from each fruit, leaving behind a mess of half-chewed and broken tomatoes still hanging on the vine.
- Raccoon Control Fort Wayne notes raccoons are drawn to the scent of ripe tomatoes, making them susceptible to pilfering from gardens and potentially causing damage to the plants in the process.
- The same source recommends utilizing companion planting techniques, such as pairing plants that repel raccoons with those that are vulnerable, which means ringing tomato beds with garlic, hot peppers, or marigolds.
- iGrowTomatoes suggests picking fruit early since tomatoes will continue to ripen off the vine just as well, if not better, than they do when left to fully mature in the garden, and once picked at the blushing stage, they will gradually ripen indoors over a few days.
Raiding tomato patches is just one item on a longer menu. Gardener’s Supply notes that in addition to garbage cans, raccoons are notorious for their love of sweet corn, and these omnivores will also eat strawberries, tree fruits, peas, potatoes, melons, and grubs found in the lawn. That broad appetite is exactly why a single repellent plant rarely works alone — the strongest raccoon-proof gardens combine several of the plants above with basic habitat management, such as securing trash and picking ripe produce promptly. Combining scent-based deterrents with the physical barriers roses, globe thistle, and geraniums provide gives a yard multiple reasons for a raccoon to look elsewhere. As the AOL gardening guide puts it, gardeners can deter raccoons with scare tactics or fences, by planting unfavorable plants, or trapping and relocating — and for most backyard growers, a well-placed mix of the plants above is the simplest place to start.






