Your guide to household and yard pests Urgent? When to call a pro
What bug is this?
Rats

How to Get Rid of Rats

How to get rid of rats in your house and yard: remove food and water, pre-bait rat traps, seal entry points, use bait stations safely, and when to call a pro.

dangerousbites updated November 15, 2026
Tamper-resistant bait station against a shed wall and a cage trap
Step 1
remove food, water and shelter
Traps
rat-size snap traps, pre-baited unset 3-5 days
How many
12+ traps, 10-20 ft apart
Exclusion
hardware cloth, sheet metal, concrete
Poison
only in tamper-resistant bait stations
Timeline
2-6 weeks; longer outdoors

To get rid of rats, first cut off their food, water and shelter, then trap them with rat-size snap traps that you leave baited but unset for a few days, and finally seal every gap they use with metal and concrete. Rats are wary of new objects, so the trapping step is where most DIY efforts go wrong.

Step 1: Confirm rats and find their runways

Look for droppings 1/2-3/4 inch long (Norway rats leave 40-50 a day, often in clumps), gnawed holes in wood or plastic, dark greasy rub marks along walls and pipes, burrows by the foundation or under shrubs, and well-worn paths in grass. Hearing heavy thumping in the walls or ceiling at night is also typical. Rats use the same routes every night, and that's where your traps go. A trail camera for two or three nights settles most "rat, squirrel or something else?" arguments. Not sure? See mouse vs rat, and check whether you're dealing with a Norway or roof rat in types of rats: it decides whether you trap low or high.

Step 2: Take away food, water and shelter

Rats leave places where there's nothing to eat faster than they die from traps.

  • Trash in cans with tight lids; no bags on the ground; clean around dumpsters.
  • Bring pet food in at night; store feed and birdseed in metal containers.
  • Stop bird feeding for a while, or at least clean up spilled seed daily.
  • Pick up fallen fruit and nuts; harvest ripe produce.
  • Use a closed, rodent-resistant compost bin; no meat or dairy in compost.
  • Fix leaking hoses, faucets and irrigation; don't leave water bowls out at night.
  • Move woodpiles and lumber 18 inches off the ground and away from the house; clear junk piles; trim ivy and shrubs off walls and fences; cut tree branches back 3-4 feet from the roof (roof rats).
  • Chicken coops: feed in the daytime only and secure feed at night.

Step 3: Trap the right way

  1. Use rat-size traps, not mouse traps. Snap traps and battery-powered electronic rat traps both work; electronic traps are easier and cleaner to empty.
  2. Use enough. UC IPM recommends a dozen or more for a heavily infested home, spaced 10-20 feet apart. Too few traps is the most common DIY mistake.
  3. Place them on runways: along walls, behind objects, near burrows and droppings, with the trap perpendicular to the wall and the trigger end touching it (or two traps side by side, triggers facing out, if they must sit parallel). For roof rats, set traps on rafters, shelves, fence tops and branches (secured with wire or zip ties).
  4. Pre-bait. Leave traps baited but unset for 2-5 nights until the bait is being taken. Then set them all on the same night. This gets around rats' fear of new objects, which is stronger in roof rats. If the bait vanishes from every trap, UC IPM says to double the number of traps and keep pre-baiting until some bait is left over: that means you have enough.
  5. Good baits: peanut butter, nuts, dried fruit, bacon, a piece of hot dog, or whatever they've been eating. Use a pea-sized amount, tied or pressed into the trigger, so they can't lick it off.
  6. Outdoors, put traps inside a covered box or tunnel with rat-sized openings to protect pets and birds.
  7. Check daily, handle carcasses with gloves and a bag, and reset. Move traps that haven't caught anything after a few days.

Live cages catch rats but then you must handle and dispose of a live rat; releasing them elsewhere moves the problem and is illegal in many places. UC IPM does not recommend live traps or glue boards for homeowners: glue boards are cruel, rats often tear free, and they catch pets and birds.

Step 4: Seal them out

Young rats squeeze under a door with a 1/2-inch gap, and UC IPM advises sealing any opening larger than 1/4 inch. Rats chew through plastic, foam, wood and caulk, so:

  • Close holes with steel wool or copper mesh plus mortar or concrete, or with sheet metal for larger areas. Foam and wood alone get chewed.
  • Cover vents, crawl space openings and larger gaps with heavy galvanized wire cloth (UC IPM specifies 16-19 gauge with 1/2-inch openings, or 1/4-inch hardware cloth); lightweight chicken wire gets torn open.
  • Seal gaps around pipes and AC lines inside and out.
  • Fit door sweeps and garage door seals with metal-reinforced edges.
  • Against burrowing under sheds, decks and coops, bury an "L" of hardware cloth 12 inches deep and 12 inches out.
  • For rats coming up drains, fix broken sewer lines and consider a backflow valve; keep the toilet lid down.

Order matters. Pros generally seal the outside first while leaving the main active hole open (or fitting a one-way door), keep trapping inside until catches stop for a week, then close the last hole. Sealing everything with a colony inside can trap rats in walls; trapping without sealing just makes room for the next rats.

Step 5: Bait stations, carefully

Rodenticides are useful mainly outdoors around burrows and the perimeter, or in places traps can't reach.

  • Use tamper-resistant bait stations secured to the ground or a wall. Since 2008, EPA rules require consumer products to come as blocks in ready-to-use stations; loose pellets and the stronger second-generation anticoagulants (brodifacoum, bromadiolone, difethialone, difenacoum) are limited to professionals.
  • Common consumer actives: first-generation anticoagulants (diphacinone, chlorophacinone), which need several feedings, and bromethalin, a single-feed neurotoxin with no antidote.
  • Expect delays: death takes 1-7 days, so rats often die out of sight, sometimes in walls or crawl spaces, where the smell lasts weeks.
  • Pets and wildlife can be poisoned directly or by eating poisoned rats; owls, hawks and foxes are frequent victims. State rules can be stricter: California now prohibits most uses of both first- and second-generation anticoagulants, leaving mainly bromethalin, cholecalciferol and zinc phosphide (UC IPM).
  • Not indoors in an attic or wall if you can help it. A rat that eats bait in the attic usually dies in a void, and the smell lasts 2-3 weeks; nothing in a bait prevents that. Despite the myth, poison does not make rats "go outside looking for water."

If a pet or child eats bait, call the vet or Poison Control (1-800-222-1222) right away and have the product label; NPIC (800-858-7378) can also help. Many baits are dyed blue or green, which shows up in vomit or stool. Signs can be delayed: up to 5 days for anticoagulants (NPIC).

What kills rats immediately?

Only traps. Snap and electronic traps kill instantly when set correctly. Despite what's on social media, killing rats with salt doesn't work; neither do baking soda, Coke, or instant potatoes in any reliable way.

How to get rid of rats outside

Outdoor rats come down to food sources. Clear the food and shelter list above, trap along fences and walls inside covered boxes, and monitor burrows: stamp them shut or fill them with soil, then check which ones reopen the next day. Active burrows are where bait stations or traps go. Talk to neighbors; rats travel 100-300 feet and your yard may be their dining room, not their home.

What doesn't work (and why people keep trying it)

MethodVerdict
Ultrasonic plug-insRats get used to them within days (UC IPM)
Peppermint oil, mothballs, "rat repellent spray"Short-lived at best; no registered repellent lasts (UC IPM)
Salt, baking soda, Coke, instant potatoesNot reliable poisons
A cat or owl boxPredators kill some rats but don't control a population; outdoor cat food feeds rats
Smoke or gas cartridges in burrows near the houseNot recommended: gas can travel through burrows into the home
Loose pellets tossed in the attic or crawl spaceRats die in walls; dogs and wildlife find the bait
Bait stations alone, monthlyRats ignore bait if better food is around; nothing gets sealed

Cleaning up after rats

Follow CDC guidance: open doors and windows for 30 minutes and leave the area, wear gloves, and don't sweep or vacuum droppings. Spray droppings, urine and nests with a fresh mix of 1.5 cups bleach per gallon of water (about 1:9) or an EPA-registered disinfectant until very wet, wait 5 minutes, then wipe up with paper towels and bag them. Remove dead rats in a sealed bag. If you can smell a rat you can't reach, the odor usually fades within 2-3 weeks; a contractor can open drywall if it can't wait.

What people who dealt with rats say

Threads in r/pestcontrol show the same arc again and again. People start with poison or a monthly bait service, sometimes for months, and the rats stay: one homeowner reported four bait visits with rats "still partying" in the attic. The pros' answer is nearly unanimous: exclusion first, then trapping, with bait as a minor outdoor tool. Several people who finally poured store-bought bait into an attic or crawl space got rid of the rats and then lived with the smell of rats dying in the walls for weeks.

Costs vary more than anything else. Reported quotes for attic rats run from about $1,100 to $7,000, and the big ones usually bundle full insulation removal and a "deterrent spray." Long-time technicians call the spray useless and the insulation replacement often an upsell unless the insulation is heavily nested or smells; they do say exclusion and control must go together, because new rats move in where others lived. A few pros noted a careful DIYer can do much of it with around $150 of rat traps, steel wool and hardware cloth plus a weekend, if the entry points are reachable.

Roof-rat owners in the South and California add a warning: rats in the attic chew PEX water lines and wiring, so don't let it drag on.

DIY or pro?

SituationReasonable choice
A rat or two in the garage or yard, entry points obviousDIY: sanitation + 6-12 traps + sealing
Rats in walls, attic or ceiling, you can't find the entryPro inspection and exclusion
Rats seen in daytime, many burrows, neighbors affectedPro, and talk to neighbors/city
RentingLandlord; in NYC owners are legally required to keep rats out
Quote includes insulation replacementAsk for photos and an itemized bid; get a second opinion

A note on rat snakes

Rat snakes are non-venomous constrictors that follow rodents into garages, attics and basements. They're actually helping. If one is in the house, seal entry gaps and remove the rodents; to remove the snake itself, guide it into a bin with a broom or call a wildlife removal service.

When to call a pro

Call a pest control or wildlife exclusion company if rats are inside living spaces, in walls or the attic, active in daytime, or still present after 3-4 weeks of trapping and cleanup, or if you rent (it's often the landlord's responsibility and a building-wide issue). Typical costs are roughly $300-$700 for initial removal and a few follow-ups, and $1,000-$3,000 or more for full exclusion work on a house (approximate). See rodent control.

FAQ

What kills rats immediately?
A correctly placed, rat-size snap trap or an electronic rat trap kills instantly. No poison does: anticoagulants take 3-7 days and bromethalin 1-3 days.
How do I get rid of rats in my house fast?
Remove every food and water source, then set 6-12 rat traps along walls and runways, baited but unset for 2-3 nights so rats get used to them, then set them all at once. Seal entry points as you go. If rats are in walls or the attic, a professional is usually faster.
How do I get rid of rats outside?
Take away food (birdseed, pet food, fallen fruit, open trash, compost), clear woodpiles and dense vegetation, trap along fences and walls inside covered boxes, and use tamper-resistant bait stations near burrows if needed. Fill collapsed burrows to monitor activity.
Does salt kill rats?
No. Salt doesn't poison rats in any practical way; rats drink water and excrete it. Baking soda, plaster and instant potato 'remedies' are also unreliable.
Should I seal holes before or after trapping?
Both, in order. Seal the outside entry points first (leaving one main exit or adding a one-way door if you can), then trap the rats still inside for a week or two. Sealing everything while a colony is inside can trap rats in walls; never sealing means new rats keep arriving.
Do ultrasonic repellers or peppermint oil keep rats away?
No. UC IPM notes rats quickly get used to ultrasonic devices, and no repellent works for more than a very short time. Pros say the same about 'rat repellent sprays' sold as part of big packages.
How much does rat removal cost?
Reported prices vary widely: about $300-$700 for trapping visits, roughly $1,000-$3,000 for a typical house with exclusion, and $4,000-$7,000+ when attic insulation is removed and replaced. Get itemized bids; insulation replacement is only needed when it's heavily nested or smells.
How do I get rid of rat snakes in my house?
Rat snakes are harmless, non-venomous snakes that follow rodents indoors. Get rid of the rodents and seal gaps, and the snake has no reason to stay. To remove one, gently herd it into a box or call a wildlife removal service.

Sources and real-world experience

Built from the expert sources and real discussions below — we read each one. How we research.

  1. UC IPM Pest Notes: Rats
  2. Internet Center for Wildlife Damage Management: Norway Rats
  3. EPA: Restrictions on Rodenticide Products
  4. NPIC: Rodenticides Fact Sheet
  5. NYC Health: Rats
  6. CDC: How to Clean Up After Rodents
  7. Reddit r/pestcontrol: Rats in the attic: 4 visits from pest control and still active
  8. Reddit r/pestcontrol: How long will these dead rats keep stinking up my house?
  9. Reddit r/pestcontrol: Rat infestation in the attic... is $7k too much?
Nothing working? When it is time to call an exterminator