Keeping mice out of your garden comes down to three things: removing what attracts them, blocking their entry, and making the space uncomfortable for them. Mice are drawn to gardens because they offer food, water, and shelter in one convenient spot. A layered approach that combines cleanup, physical barriers, and deterrents is far more effective than any single method alone.
What Draws Mice to Your Garden
Mice aren’t picky eaters. They feed on fallen fruit, nuts, garden vegetables, bird seed, snails, and even dog droppings. If you grow tomatoes, strawberries, or any fruit-bearing plant, the ripe and rotting produce on the ground is essentially a buffet. Bird feeders are another major draw, scattering seed across the soil every day.
Food is only half the equation. Mice need cover from predators, and dense ground cover, wood piles, and cluttered garden edges give them exactly that. Thick ivy, overgrown shrubs, and debris piles create protected runways where mice move freely without being spotted by hawks or cats. Double fencing, where two parallel fences create a narrow gap between them, is particularly problematic because it creates dead space where weeds and trash accumulate into perfect rodent habitat.
Clean Up to Cut Off Food and Shelter
The single most impactful thing you can do is remove the resources mice depend on. Pick up fallen fruit and nuts regularly rather than letting them rot on the ground. Store garbage in tight-lidded, rust-resistant containers. If you feed pets outside, use metal containers with secure lids for storing the food, and never leave bowls out overnight.
For shelter, trim ground covers like ivy and ice plant so they’re thin rather than dense. Keep at least 12 inches of open, visible space beneath shrubs. Remove dead palm fronds, stack firewood at least 18 inches off the ground, and keep it 12 inches away from walls and fences. The goal is eliminating the dark, protected corridors mice use to travel unseen. A tidy garden with clear sightlines is a dangerous place for a mouse, and they know it.
Physical Barriers That Actually Work
Hardware cloth is the gold standard for keeping mice out of raised beds and specific garden areas. Use quarter-inch mesh, which is small enough that mice can’t squeeze through. Half-inch mesh is stronger but too wide for mouse exclusion. Line the bottom of raised beds with it before adding soil, and you’ll block mice from tunneling up from below.
For fencing around garden plots, bury the hardware cloth at least one foot deep with a six-inch horizontal shelf at the bottom, bent outward in an L-shape. This shelf stops mice from digging straight down along the fence line and getting underneath. Above ground, the fence needs to be tall enough that mice can’t simply hop over, and the quarter-inch mesh prevents them from climbing through.
Row covers and cloches also protect individual plants or rows during vulnerable stages, though they’re more practical for small plantings than entire garden beds.
Plants That Mice Dislike
Several strong-scented plants can make your garden less inviting to mice when planted around borders and entry points. Peppermint is the most commonly recommended, with a menthol intensity that overwhelms their sensitive noses. Lavender, rosemary, oregano, and marigolds all produce scents mice find unpleasant. Garlic and onions work similarly, and they pull double duty as useful kitchen crops.
Daffodils deserve special mention. Their bulbs contain a naturally toxic compound, so planting them around the garden perimeter can discourage mice from digging in those areas while also protecting nearby bulbs from being gnawed.
A realistic expectation is important here. Aromatic plants can make mice less comfortable, but they won’t reliably keep a determined or hungry mouse out of your tomatoes. Think of them as one layer in a broader strategy, not a standalone solution.
DIY Peppermint Oil Spray
If you want to boost the scent barrier between plantings, you can make a simple spray: combine two teaspoons of 100% peppermint oil with one cup of water in a spray bottle. Apply it around garden edges, near entry points, and along any paths where you’ve noticed mouse activity.
The limitation is durability. Essential oils break down quickly in sunlight and rain, so you’ll need to reapply frequently, sometimes every few days. During rainy stretches or hot summer weeks, the spray dissipates even faster. It’s a low-cost, non-toxic option that works best in combination with physical barriers and habitat cleanup rather than on its own.
Trapping Mice in the Garden
When prevention isn’t enough, traps give you a direct way to reduce the population. Classic snap traps, electronic traps, and live-catch traps all work outdoors. For bait, a pea-sized dab of peanut butter or hazelnut spread is ideal. Chocolate also works. Interestingly, nesting materials like cotton balls, short lengths of yarn, or dental floss can be just as attractive to mice looking for bedding.
Placement matters more than bait choice. Mice travel along edges and walls rather than crossing open ground, so position traps along garden borders, fence lines, and the edges of raised beds. Face the bait end toward the wall or barrier so mice encounter the trigger naturally as they move along their usual path. For heavy activity, place traps every two to three feet, and set them in pairs about an inch apart in the busiest spots. A mouse that dodges one trap often runs directly into the second.
Check traps daily. Unattended traps with dead mice can attract other pests, and live-catch traps need prompt attention so captured animals aren’t left suffering.
Attracting Natural Predators
A single barn owl family can consume a staggering number of rodents. One vineyard study tracked barn owls killing more than 30,000 rodents over three years at a cost of roughly $0.34 per rodent, compared to $8.11 per rodent for trapping. You can’t force owls to move in, but you can make your property appealing to them.
Installing a nest box is the most practical step. Place it at least 15 to 20 feet above the ground with the opening facing northeast, and line the floor with wood chips or shavings. Barn owls prefer nest sites near open grassland or mixed forest habitats rather than dense scrub, so properties bordering fields or wooded areas have the best odds of attracting a pair. Even if owls don’t take up residence, hawks, snakes, and outdoor cats all contribute to keeping mouse populations in check when the garden provides clear sightlines rather than dense hiding spots.
Why Rodenticides Are Risky Outdoors
Poison bait might seem like the easiest solution, but it carries serious risks in a garden setting. Rodenticides are toxic to pets, children, and wildlife because the same biological mechanisms that kill mice affect other mammals and birds. A poisoned mouse that staggers into the open becomes an easy meal for an owl, hawk, or neighborhood cat, passing the toxin up the food chain. This secondary poisoning is a well-documented problem that has led to tighter regulations on the types of bait available for home use.
If you do use bait, tamper-resistant bait stations are essential to keep non-target animals out. But in a garden where you’re growing food, handling soil, and possibly composting, the combination of physical barriers, habitat management, traps, and predator support is both safer and more sustainable than chemical control.