How to Get Rid of Rodents in Your Yard for Good

Getting rid of rodents in your yard starts with two things: removing what attracts them and actively reducing their numbers. Rats and mice settle into yards that offer food, water, and sheltered hiding spots, so eliminating those conditions is the foundation of any lasting solution. Trapping handles the rodents already living there, while habitat changes keep new ones from moving in.

Identify What You’re Dealing With

Before you do anything else, figure out whether you have mice, rats, or both. This matters because you need different trap sizes for each, and their habits differ. Mice leave small, pointed droppings. Rat droppings are larger and capsule-shaped. If you’re finding burrows along your foundation, beneath a shed, or near dense bushes with freshly disturbed soil around the openings, you’re likely dealing with rats. Mice tend to nest above ground in sheltered spots like woodpiles, under decks, or inside sheds, using shredded leaves, grass, and paper.

Look for runways: narrow dirt trails worn through grass, greasy smudge marks along fence lines, or streaks near the base of structures. Rodents travel the same paths repeatedly, so these trails tell you exactly where they’re active. You may also notice chew marks on garden hoses, outdoor wiring, shed doors, or plastic storage containers. Torn garbage bags, gnawed vegetables in the garden, and half-eaten pet food left outside are all common signs.

Cut Off Food Sources First

Rodents stay where eating is easy. Removing outdoor food sources is the single most effective long-term step you can take, and it costs nothing.

  • Pet food: Feed pets indoors. If you must feed outside, do it during daylight and pick up all uneaten food before dusk, since rats and mice are most active at night.
  • Bird feeders: Rake up dropped seed beneath feeders regularly. Store unused birdseed in heavy-duty, sealed containers indoors.
  • Fruit trees: Pick fruit before it drops, and clear any fallen fruit from the ground promptly. Rotting fruit on the ground is one of the most common attractants for rats.
  • Garbage: Use wildlife-proof cans with tight lids and secure them so animals can’t knock them over at night. Consider storing cans inside a garage or shed.
  • Compost: Enclose compost piles in a framed box lined with hardware cloth (metal mesh), or use a sealed commercial composter.
  • Grills: Clean barbecue grills after every use. Grease and food residue draw rodents overnight.

Eliminate Shelter and Hiding Spots

Rodents thrive in tall grass, dense brush, and cluttered storage areas that give them dark, cool cover. Mowing your lawn frequently is one of the simplest deterrents. Mice and rats rely on tall grass for cover as they move through a yard, and when that cover disappears, so does their sense of safety. As a bonus, removing rodent habitat also discourages the snakes and birds of prey that follow rodent populations into an area.

Stacked firewood, lumber scraps, brush piles, and rock piles all create ideal nesting conditions. If you keep firewood, stack it tightly on a raised platform or pallet at least a foot off the ground, and move it as far from your house as practical. Dismantle any unnecessary brush or debris piles entirely. Trim back dense ground cover and shrubs that grow right against your foundation, since rats frequently burrow along building edges where vegetation provides concealment.

Set Traps Along Active Runways

Snap traps remain the most reliable way to reduce an active rodent population in your yard. The key mistakes people make are using the wrong size trap and placing traps in the wrong spots.

A mouse trap will not catch a rat, and a rat trap will not catch a mouse. Match the trap to the rodent you’ve identified. If older trap designs are hard for you to set, newer models are easier to operate and just as effective.

Place traps along walls, fence lines, planter edges, or any linear surface where you’ve spotted droppings or runways. Rodents travel along edges rather than crossing open ground, so traps in the middle of your yard will catch nothing. Position the trigger end facing the wall, or set two traps side by side with triggers facing away from each other. Effective configurations include pairs placed side by side, three in a row with alternating trigger directions, or two placed end to end.

Use a pea-sized amount of bait. Choose something the rodents are already eating locally, or try a small dab of peanut butter (keeping in mind allergy risks if children or neighbors may access the area). For mice specifically, small bits of cotton or dental floss work well because mice collect nesting material. Set multiple traps. Rodents breed rapidly, and there are always more than you think.

Rats require an extra step. Because they’re afraid of new objects, you should prebait your traps by placing them with food attractant but leaving them unset for a couple of days. Wait until the bait has been taken several times so both adults and juveniles become comfortable approaching the traps. Then set them. Skipping this step with rats often means weeks of untouched traps.

Why Repellents Rarely Work

Peppermint oil, predator urine, capsaicin sprays, and ultrasonic devices are widely marketed as rodent solutions. The evidence for all of them is weak.

Peppermint oil may cause brief avoidance, but hungry or cold rodents habituate to the smell quickly. It also requires constant reapplication to maintain any scent barrier, making it labor-intensive for minimal benefit. Predator urine products (cat, fox, or ferret scent) face the same problem. While rats respond to predator scent cues in controlled lab settings, wild rats that already live near cats and foxes have largely adapted to those smells.

Ultrasonic repellers are the most overpromised option. Rats can hear ultrasonic frequencies, and initial exposure may startle them briefly. But habituation happens within days to a few weeks, after which they resume normal behavior with the device running. Ultrasonic waves also can’t travel around corners or through solid objects, so coverage in any real outdoor setting is extremely limited. A 2018 systematic review in the Journal of Pest Science found insufficient evidence that ultrasonic devices work against rodent populations in real-world conditions. No ultrasonic repeller has received regulatory approval as an effective rodent control product.

None of these products are appropriate for an active infestation. They may give you a sense of doing something, but they won’t reduce your rodent population.

When Rodenticides Make Sense (and Their Risks)

Chemical rodent bait is sometimes necessary for large or persistent infestations, but it carries real risks that traps don’t. The biggest concern is secondary poisoning: a dog, cat, hawk, or owl eats a poisoned rodent and gets sick or dies.

Rodenticides fall into two broad categories. Anticoagulants prevent blood from clotting, causing rodents to bleed internally over several days. Non-anticoagulant types work through other mechanisms, like disrupting the nervous system or overwhelming the body with vitamin D. The most dangerous products for pets and wildlife are the second-generation anticoagulants, which are so potent that residues persist in a rodent’s liver for weeks. A predator that eats multiple poisoned rodents over time can accumulate a lethal dose. These products pose high secondary poisoning risks to mammals (including dogs and cats) and to birds of prey.

Because of these risks, the EPA restricts what consumers can purchase. Second-generation anticoagulants are not sold to retail customers at all. If you’re buying rodenticide at a hardware store, it will be a first-generation anticoagulant or a non-anticoagulant type, sold in packages of one pound or less, in block or solid form (not pellets), and packaged with a bait station. All outdoor, above-ground placements must use a tamper-resistant bait station, and outdoor placements are restricted to within 100 feet of a building.

If you have dogs, cats, or small children, choose bait stations rated as resistant to both children and pets, not just children. Dogs in particular will work hard to dig up or break into bait stations because of the flavored attractants inside. Place stations where you’ve confirmed rodent activity, check them regularly, and pick up any dead rodents you find in your yard before a pet or wild animal gets to them.

Protecting Pets During Rodent Control

Traps are generally the safest option when pets use your yard. Place snap traps inside commercially available trap enclosures or under crates weighted down so dogs and cats can’t reach the trigger. Check traps daily so caught rodents don’t sit out where a curious dog can grab them.

If a professional treats your yard, let them know about every pet that uses the space, including dogs, outdoor cats, and any caged animals nearby. Remove pet food bowls, water dishes, bedding, and toys from treated areas. Follow any guidance on drying times before letting pets back into those zones, which typically runs about two hours depending on weather and what was applied.

For yards with small children, the same principles apply. Tamper-resistant bait stations are designed to prevent small hands from reaching the bait inside, but placing stations in areas children don’t play (behind sheds, along back fence lines) adds another layer of safety. Snap traps should always be enclosed or placed where children can’t access them.

Seal Entry Points to Nearby Structures

Yard rodents become indoor rodents fast. Once you’ve started trapping and cleaning up the yard, inspect your home’s exterior for gaps. Mice can squeeze through openings as small as a dime. Rats need only a quarter-sized gap. Check where utility lines enter the house, around dryer vents, along the foundation, and where garage doors meet the ground. Steel wool stuffed into small gaps, hardware cloth over vents, and metal flashing around larger openings are all materials rodents can’t chew through easily. Sealing these entry points prevents the problem from migrating indoors as outdoor conditions become less hospitable.