How to Stop Rats From Coming in Your House

Keeping rats out of your house comes down to three things: sealing every gap they could fit through, removing the food and shelter that attract them, and dealing decisively with any that are already inside. Rats can squeeze through a hole the size of a half dollar, and juveniles can fit through openings as small as half an inch. That means even small cracks around pipes, vents, and foundations are open invitations.

Seal Every Entry Point

A full inspection of your home’s exterior is the single most effective step you can take. Walk the perimeter and check where utility lines, pipes, and cables enter the walls. Look at dryer vents, crawl space openings, gaps under doors, and where the foundation meets the siding. Any crack half an inch or larger is big enough for a rat, and anything a quarter inch or larger will let mice through. Don’t skip smaller crevices either, because rats gnaw to enlarge openings quickly.

The material you use matters. Rats chew through expanding foam, wood, plastic, and even soft metals like aluminum with ease. Their front teeth curve slightly inward, which makes it harder for them to gnaw on round, smooth surfaces, but any rough edge gives them traction. The most reliable options are steel wool packed tightly into gaps (often combined with caulk to hold it in place), hardware cloth with quarter-inch openings, and galvanized sheet metal of 24 gauge or heavier. For larger openings, reinforced concrete at least two inches thick works. Metal flashing along the bottom edge of doors prevents rats from gnawing their way under.

Pay special attention to floor drains and sewer pipes. Fit them with tight metal grates that have openings smaller than a quarter inch. Rats are excellent swimmers and can enter homes through sewer lines, so this is not a theoretical concern.

Remove What Attracts Them

Rats follow food, and residential yards are full of it. The most common attractants are improperly stored garbage, pet food left outside, fallen tree fruit, compost bins with food scraps, and bird feeders. If you have an active rat problem, bird feeders need to come down entirely. Trapping and baiting efforts will fail as long as easier food sources are available.

If you want to keep feeding birds once the problem is resolved, a few adjustments help. Place feeders at least four feet off the ground and eight feet away from branches, fences, or anything a rat could jump from. Rats can leap three feet vertically and more than four feet horizontally. Use a feeder with a tray and baffle so seed doesn’t spill to the ground, fill it with only enough seed for birds to finish in a day, and bring it inside at night when rats are most active. Avoid cheap seed blends full of filler grains like millet and milo, which birds scatter and rats happily clean up.

Store bulk bird seed, pet food, and livestock feed in metal containers. Rats chew through plastic bins easily. Keep outdoor garbage cans sealed with tight-fitting lids, and don’t leave pet food or water bowls outside overnight.

Clean Up Your Yard

Rats need shelter as much as food, and a cluttered yard provides it. Firewood, landscape timbers, wooden pallets, and other stacked materials should be stored well away from your home’s foundation. Shrubs and plants installed within two feet of the house create harborage where rats nest and access your walls undetected. Trim them back so there’s a clear gap between landscaping and the structure.

Overhanging tree branches are highways for roof rats. Prune any limbs that touch or hang over your roofline. Given that rats can jump four feet horizontally, a comfortable buffer of at least four feet between branch tips and the roof is a reasonable target.

Trap Effectively

If rats are already inside, snap traps remain the most reliable tool for homeowners. The key is placement and patience. Set traps along walls, fence lines, or the edges of planters, because rats travel along linear surfaces. Position the trigger facing the wall, or place two traps side by side with triggers facing away from each other.

Rats are deeply suspicious of new objects. Prebaiting is essential: place traps with a pea-sized amount of food on the trigger but leave them unset for a couple of days. Wait until the bait has been taken multiple times before arming the traps. Skipping this step often means you catch juveniles but never the breeding adults. Use whatever food the rats are already eating in your home, whether that’s peanut butter, nuts, dried fruit, or pet food. And set many traps. Rats breed prolifically, and there is never just one or two.

Skip Ultrasonic Repellents

Ultrasonic plug-in devices are widely marketed as an easy fix, but controlled testing has consistently shown them to be ineffective. Six commercial devices were evaluated across a wide range of frequencies and volume levels, and none produced strong or lasting repellent effects. At best, they reduced rat movement by 30 to 50 percent in the first few days. Within three to seven days, rats habituated completely and returned to the area as if the device weren’t there. This held true whether the devices were used alone or combined with traps and bait. Save your money for steel wool and snap traps.

Be Cautious With Rodent Poisons

Rodenticides work, but they carry serious risks. The most potent single-dose poisons are restricted to licensed pest control professionals and can’t be purchased over the counter. Products available to homeowners still pose dangers, particularly secondary poisoning: when a pet, hawk, owl, or other predator eats a poisoned rat, it ingests the toxin too. Several common active ingredients carry high secondary poisoning risks for dogs, cats, and wild mammals. Others are moderate risks for birds of prey. If you have pets, children, or wildlife you value, trapping is the safer first line of defense. If you do hire a professional who uses bits, tamper-resistant bait stations placed in specific locations reduce (but don’t eliminate) the risk to non-target animals.

Clean Up Droppings Safely

Rat droppings and urine can carry bacteria and viruses that become airborne when disturbed. Never sweep or vacuum them. The correct approach starts with ventilation: open doors and windows in the affected area for 30 minutes and leave the room during that time.

Put on rubber or plastic gloves, then spray the droppings and any nesting material with a household disinfectant (one labeled “disinfectant”) or a bleach solution of 1.5 cups bleach per gallon of water. Let it soak for at least five minutes. Wipe everything up with paper towels and throw them in a sealed garbage bag. Mop or sponge the entire surface with disinfectant afterward. Wash your gloved hands with soap and water before removing the gloves, then wash your bare hands again.

This process matters most in enclosed spaces like attics, sheds, and garages that have been closed up, where dried droppings have had time to accumulate and viral particles can concentrate in still air.