How to Get Rid of Rats in Your Backyard and Keep Them Out
To get rid of rats in your backyard, take away their food and hiding spots first: bird seed, pet food, compost scraps, fallen fruit, woodpiles and clutter. Then trap them in covered boxes along fences and walls; traps are safer than poison outdoors, and any bait belongs in tamper-resistant stations. Call 811 before you dig to block burrows or bury wire.
On this page (9)
Step-by-step instructions
Find the activity
Look for burrow holes along fences, foundations, sheds and under decks. Packed dirt paths, gnawed fruit and droppings near trash or feeders show where they feed.
Cut off the food
Take feeders down for now and bring pet food inside. Pick up fallen fruit, and lock down trash and compost.
Take away cover
Stack firewood off the ground and away from the house. Trim thick shrubs and ivy, mow tall grass and clear junk piles.
Trap along their routes
Set snap traps inside covered boxes along fences and walls, where rats run. Leave them unset with bait for a few nights so wary rats get used to them, then set them.
Check traps every day
With disposable gloves on, spray dead rats with disinfectant, double-bag them and put them in a lidded trash can. Reset the traps.
Close the burrows
Once activity stops, call 811 and wait for lines to be marked. Then fill and pack the holes, and watch for new ones.
Start with food and cover
The first step in getting rid of rats in your backyard is taking away what they came for. That’s food, water and a safe place to hide. Traps alone won’t keep up while a bird feeder and an open compost pile keep feeding the next litter.
Our rat exterminator guide covers what a pro adds when the yard work isn’t enough.
Walk the yard at dusk with a flashlight. Rats are mostly out at night, and you’ll often see them along fence lines or under feeders. In daylight, look for these clues:
- Round holes in the dirt along foundations, sheds, fences and under decks or concrete slabs
- Smooth, packed paths through grass or mulch
- Droppings near trash cans, feeders, grills and dog bowls
- Fruit or vegetables with gnawed holes
Our rodent infestation guide shows how to tell rat signs from mouse signs.
Clear out what feeds them
Rats eat almost anything, so you’ll need to clear more than one food source.
| What draws them | What to do |
|---|---|
| Bird feeders | Take them down for a while, or use a tray and sweep up spill each evening |
| Pet food and water | Feed pets inside, or pick up bowls at night |
| Trash | Use cans with tight lids, and don’t set bags out the night before |
| Compost | Use a closed bin, and keep meat, dairy and grease out |
| Fruit and nut trees | Pick up dropped fruit every day or two |
| Grills | Clean the grease trap after cooking |
Leaky hoses and clogged gutters give them water, so fix those too.
Take away their hiding spots
Rats nest in woodpiles, thick ivy, overgrown shrubs, junk piles and the space under decks and sheds.
Stack firewood on a rack, off the ground and away from the walls. Trim shrubs up off the soil and cut ivy back. A bare strip along the house makes new burrows easy to spot.
Trap them outdoors safely
Snap traps inside covered trap boxes are the safest way to trap rats outdoors. The box lets rats in and keeps kids, pets and birds away from the trap. Set them along fences, walls and the edges of decks, where rats run with one side against something.
Rats are wary of new things, so leave the traps baited but unset for a few nights. Then set them. Peanut butter makes good bait. Nuts work too, but they can draw squirrels and birds into the boxes.
If you use poison, put it only in tamper-resistant bait stations, and follow the label on where and how. Bait inside a station keeps it away from pets and kids, but a dog or a hawk can still eat a poisoned rat. That’s a good reason to stick with traps outside.
Wear heavy gloves to handle traps, and disposable rubber or nitrile gloves for dead rats and droppings. Soak them with disinfectant before you pick them up, and don’t sweep droppings dry.
Dealing with burrows
Fill burrows only after the trapping has knocked the numbers down. Before you dig, call 811 so buried gas, power and water lines get marked. Then pack the holes with soil and press them down hard.
Check the holes over the next few days. If one’s been reopened, rats are still living there, so keep trapping near it. Under decks and sheds, hardware cloth (stiff wire mesh) set into a shallow trench around the base keeps them from digging back in. Dig it by hand, a foot or so deep, never with a machine, and call 811 before it goes in too.
Keep rats out of the yard
Preventing rats in your yard comes down to never letting food and cover pile up again. Keep lids on bins, feeders tidy, wood stacked high and the strip along the house clear.
Check the house too, since yard rats may move inside when it turns cold. If they’ve already made it in, see how to get rid of rats indoors. If one died under the deck, we cover how to get rid of dead rodent smell.
When to hand it off
Bring in a pro when rats keep coming back after a few weeks of cleanup and trapping, or burrows run under a concrete slab. The rat exterminator page explains what that visit involves.
Nationally, a professional rodent job costs $130 to $690, with about $405 typical. Our rodent extermination cost page shows the range for your state. Get two or three written quotes, and ask how many return visits each one covers.
If this did not work, a professional costs about $130 to $690. Call a pro when burrows keep reopening, rats show up in daylight, or they've moved into the house or garage. A professional rodent job runs $130 to $690 per job nationally, and about $405 is typical. Ask each company what its quote includes.
Frequently asked questions
What attracts rats to my backyard?
Food and cover. Spilled bird seed, pet food, open compost, fallen fruit, garbage, woodpiles and dense plants give rats what they need close together.
How do I prevent rats in my yard?
Keep food locked up and hiding spots cleared all year, not just when you see rats. Lidded bins, raised woodpiles and a clean strip along fences and walls do the most.
Is it safe to use rat poison outside?
Only in a tamper-resistant bait station, placed and used the way the label says. Pets, kids and wildlife can be poisoned by bait or by eating a poisoned rat.
Should I fill in rat burrows?
Yes, but only after you've cut off food and trapped the rats. Call 811 before you dig, and check over the next few days whether the holes get reopened.
Sources
- Rodent Control, Centers for Disease Control and Prevention
- How to Clean Up After Rodents, Centers for Disease Control and Prevention
- Safe Pest Control, U.S. EPA
- Poison Control, America's Poison Centers