DIY Rodent Control: How to Get Rid of Rats and Mice

Most rodent problems can be solved without calling an exterminator, as long as you act quickly and methodically. Effective DIY rodent control comes down to three things: sealing the gaps they use to get inside, trapping the ones already there, and removing the food and shelter that attracted them in the first place. Skip any one of those steps and the problem will come back.

Find How They’re Getting In

A mouse can squeeze through an opening just a quarter inch wide, roughly the width of a pencil. Rats need a bit more room, but not much: a gap the width of a penny (about half to three-quarters of an inch) is enough. That means the cracks and holes you’ve been ignoring are almost certainly large enough to serve as a front door.

Walk the perimeter of your home and inspect every potential entry point. Pay close attention to where utility pipes and wires enter the wall, gaps around dryer vents, the seams where siding meets the foundation, and spaces under garage doors. Inside, check behind appliances, around plumbing under sinks, and along baseboards. Look for dark grease marks along walls, small droppings, or gnaw marks on wood or wiring. These signs tell you exactly which routes are active.

Seal small gaps with steel wool stuffed tightly into the opening, then cover it with caulk. Mice can chew through foam, rubber, and even some soft metals, but steel wool resists their teeth. For larger holes, use hardware cloth (wire mesh with quarter-inch openings) secured with screws or concrete patch. Metal flashing works well for gaps under doors. The goal is to close every opening before you start trapping, so you’re not catching new arrivals indefinitely.

Set Traps the Right Way

Snap traps remain the most reliable DIY option. They’re inexpensive, reusable, and give you immediate confirmation that you’ve caught something, which matters when you’re trying to gauge the size of the problem. The key is using enough of them and putting them in the right spots.

Place traps along walls, behind appliances, and in any area where you’ve spotted droppings or grease marks. Rodents travel along edges rather than crossing open floor, so the trigger should face the wall or baseboard. When placing two traps side by side, position the triggers facing away from each other so a rodent approaching from either direction hits a trigger first. For a serious problem, set three in a row with alternating trigger directions.

If you’re dealing with rats specifically, prebait the traps before setting them. Put a small amount of food on the trigger but leave the trap unset for two or three days. Rats are deeply suspicious of new objects in their environment and will avoid an unfamiliar trap. Once you see the bait disappearing regularly (meaning both adults and juveniles are comfortable around the traps), set them. Skipping this step often means you only catch young rats while the adults steer clear.

For bait, use a pea-sized amount of whatever the rodents are already eating. If you’re not sure, peanut butter works well because its sticky texture forces the rodent to tug at the trigger. For mice, small bits of cotton or dental floss can be effective since mice collect soft materials for nesting and will pull at them aggressively enough to trip the mechanism. Avoid peanut butter in shared spaces like offices or apartments where someone with a nut allergy might come into contact with the traps.

Why Poison Is Riskier Than It Seems

Rodenticides are widely available, but they carry real hazards that make trapping a better first choice for most homeowners. The biggest concern is secondary poisoning: a dog, cat, or owl eats a poisoned rodent and absorbs the toxin. The compounds that pose the greatest secondary poisoning risk to pets and wildlife are the single-dose anticoagulants, which stop blood from clotting. One day’s feeding delivers a lethal dose to the rodent, and because the poison accumulates in the liver rather than being excreted, it stays concentrated enough to harm whatever eats the carcass.

The EPA has restricted the most toxic active ingredients available to homeowners and requires tamper-resistant bait stations in sensitive areas, but the risks don’t disappear with a bait station. Poisoned rodents wander before they die, often ending up in wall voids where they decompose and create a smell that can last weeks. You also lose the ability to confirm how many rodents you’re dealing with, since there’s no body at the trap to count.

If you do use rodenticide outdoors, search for and collect dead rodents daily using gloves, and secure trash can lids so pets and wildlife can’t access the bodies.

Peppermint Oil and Ultrasonic Devices

Neither works as a standalone solution. Peppermint oil’s strong scent can mildly irritate mice and temporarily mask odors, but it evaporates quickly and has minimal impact on rodent behavior. Scientific evidence does not support it as an effective repellent. It also does nothing about the actual reasons rodents moved in: food, water, and shelter.

Ultrasonic plug-in devices fare no better. Mice may avoid the sound initially, but they habituate to it fast, especially when food and warmth are on the other side. The sound waves also can’t pass through walls or furniture, creating dead zones where rodents simply relocate. Save your money for traps and exclusion materials.

Cut Off Food, Water, and Shelter

Rodents enter homes looking for three things: food, water, and a safe place to nest. Eliminating these attractants is what keeps them from coming back after you’ve trapped the current population.

  • Food: Store pantry items in glass or thick plastic containers. Clean up crumbs and spills immediately. Don’t leave pet food out overnight. Outside, remove bird feeders (a major rodent magnet), pick up fallen fruit, and keep garbage cans sealed with tight-fitting lids.
  • Water: Fix leaky faucets and pipes. Empty standing water from plant saucers, water cooler catch basins, and glasses left out overnight. Outside, repair irrigation lines and improve soil drainage so water doesn’t pool near the foundation.
  • Shelter: Trim trees and bushes away from the roofline, doors, and windows. Cut grass short and prune shrubs so the ground beneath them is visible. Clear debris piles, stacked firewood (move it at least 20 feet from the house), and clutter in garages and sheds. Palm trees are a particular favorite nesting site and should be trimmed regularly. A border of gravel or rocks 18 to 24 inches wide around the building’s perimeter discourages rodents from nesting against the foundation.

Clean Up Droppings Safely

Rodent droppings and urine can carry serious diseases, including hantavirus, so cleanup requires some care. The most important rule: never sweep or vacuum droppings. Sweeping launches virus particles into the air where you can inhale them.

Start by opening doors and windows and leaving the area for at least 30 minutes to let fresh air circulate. When you return, put on rubber or latex gloves and spray the droppings and any urine stains with a disinfectant solution of one part bleach to ten parts water. Let it soak for five minutes. Then wipe everything up with paper towels and throw them in the trash. After the visible mess is gone, disinfect the surrounding surfaces. In attics, crawlspaces, or storage areas where nesting material is present, soak the nests thoroughly with the bleach solution before removing them.

Signs You Need Professional Help

DIY methods work well for small to moderate problems, but some situations call for a professional. If you’re seeing rodents during the day, the population is likely large enough that competition for food is pushing them into the open. Multiple sightings per week, droppings appearing in new rooms faster than you can clean them, scratching sounds coming from inside walls or ceilings, or a persistent musty odor that won’t go away all point to an infestation that has outgrown what traps alone can handle. Gnawed electrical wiring is another trigger, since damaged wiring creates a fire risk that needs to be addressed alongside the rodent problem itself.