How to Prevent Rats From Entering Your House

Rats can squeeze through a gap the size of a quarter, so keeping them out starts with finding and sealing every opening they could exploit. A combination of structural exclusion, sanitation, and landscape management is the most reliable approach, and it works far better than any repellent device on the market.

Find Where Rats Are Getting In

Before you seal anything, you need to know where the problems are. Walk the full perimeter of your home and look for gaps around pipes, vents, utility lines, foundation joints, and where siding meets the roofline. A simple test: if you can see daylight under a door or around a pipe penetration, a rat can likely get through or gnaw its way through.

Active entry points leave physical evidence. Rats produce oily fur residue, so look for dark grease smudges (called rub marks) along walls, baseboards, and edges of holes. Fresh droppings near food storage areas, under sinks, or behind appliances are another clear sign. You may also notice gnaw marks on wood, plastic, food packaging, insulation, or wiring. Older droppings look dry and brittle, while fresh ones are darker and soft. Finding fresh droppings tells you that pathway is still in use and should be your first priority.

Seal Gaps With the Right Materials

Material choice matters because rats chew through soft barriers easily. A vinyl strip or foam plug might slow them down for a day, but a rat only needs a 1- to 2-millimeter edge of soft material as a “gnaw start” to enlarge a hole. Use materials they can’t defeat.

For most openings, the University of Nebraska Extension recommends these standards:

  • Hardware cloth (wire mesh): 19 gauge, with 1/2-by-1/2-inch mesh. This is the workhorse material for covering vents, crawl space openings, and larger gaps.
  • Galvanized sheet metal: 24 gauge or heavier. Perforated metal grills should be 14 gauge. Good for kick plates and custom patches.
  • Concrete: At least 2 inches thick if reinforced, 3 3/4 inches if not reinforced.
  • Brick: 3 3/4 inches thick with mortar-filled joints.
  • Copper or stainless steel wool: For gaps under 3/4 inch that you can’t cover with sheet metal or mesh. Pack it tightly into the opening. Regular steel wool works temporarily but rusts over time.

For gaps that also allow air drafts, use caulk with appropriate backing material after stuffing the opening with metal wool. Avoid expanding foam in sun-exposed areas, as UV light degrades it quickly. Foam alone is never a rat barrier; they chew through it in minutes.

Fix Doors and Thresholds

Doors are one of the most overlooked entry points. The gap under an exterior door is often large enough for a rat to slip beneath, and garage doors are especially problematic. If you can slide a quarter under your door, a rat fits. For mice, the threshold is even smaller: a gap the width of a pencil is enough.

The two most effective door sweeps are rubber-encased steel fabric sweeps and high-density brush sweeps. The steel fabric version is more durable because rats can’t easily gnaw through the embedded metal. Check all exterior doors, including the door between your garage and living space. Inspect the corners where the door meets the jamb as well, since small gaps there can serve as gnaw-start points that a rat enlarges over time.

Trim Trees and Manage Your Yard

Roof rats are climbers, and overhanging tree branches are a highway to your attic. Keep all branches trimmed back at least 10 feet from your roofline, porch, and deck. This also applies to dense shrubs, trellises, and vines growing against exterior walls. Rats climb these structures just as easily as tree limbs.

In the yard itself, remove ground-level shelter. Woodpiles, dense ground cover, and debris piles near the foundation give rats a staging area right next to your home. Move firewood at least 20 feet from the house and elevate it off the ground. Keep vegetation trimmed low along the foundation so you can spot burrow openings early.

Eliminate Food and Water Sources

Exclusion keeps rats from getting in, but sanitation takes away their reason for trying. Rats are opportunistic and will investigate any reliable food source, so consistency matters here.

Keep kitchen garbage in containers with tight-fitting lids, both inside and outside. If you compost, turn your pile regularly to bury fresh food scraps. The EPA recommends stopping outdoor bird feeding entirely during an active infestation, or switching to huskless seed that leaves less residue on the ground. Pet food left outdoors overnight is one of the most common attractants; bring bowls inside before dark.

Inside the house, store dry goods like grains, cereal, and pet food in hard-sided containers rather than the bags they come in. Rats gnaw through plastic bags and cardboard boxes without hesitation. Clean up crumbs and spills promptly, and don’t leave dirty dishes sitting overnight.

Protect Your Plumbing and Drains

Rats are strong swimmers and regularly travel through sewer lines. They can enter your home through broken sewer pipes or, in some cases, swim up through toilet traps. This is more common than most people realize, particularly in older neighborhoods with aging infrastructure.

King County’s public health department recommends having your side sewer inspected every 8 to 10 years by a professional. If you notice rat burrows in your yard near sewer lines, a plumber can pour colored dye down the burrow. If that dye shows up in a nearby sewer manhole, your pipe has a break that needs repair.

You can also reduce what attracts rats into the sewer system near your home. Minimize garbage disposal use, since food particles washing into drains draw rats through the pipes toward your house. Never pour grease or cooking oil down the drain. Clean your kitchen drain monthly with a cup of baking soda followed by a cup of vinegar, rinsed with boiling water. This removes the food residue buildup that signals a food source to rats traveling through sewer lines.

Why Ultrasonic Repellers Don’t Work

Ultrasonic pest repellent devices are widely sold, but they have never been proven effective in real-world conditions. Research reviewed by McGill University found that studies on commercially available devices are very limited and typically lack proper controls, making it impossible to attribute any reduction in pests to the sound itself. Some animals simply habituate to the noise, while others aren’t bothered at all.

Laboratory experiments using high-grade ultrasound generators (far more powerful than consumer products) have disrupted mating or feeding behavior in some species. But consumer devices can’t replicate the complex sound patterns needed, and these lab results have not been reproduced in actual homes. Researchers strongly advise against relying on these devices. Your money is better spent on hardware cloth, steel wool, and a caulk gun.

A Practical Inspection Schedule

Prevention isn’t a one-time project. Rats are persistent, and new gaps develop as houses settle, weather strips wear out, and seasons change. A thorough exterior inspection twice a year, ideally in early fall before rats seek winter shelter and again in spring, catches problems before they become infestations. Check door sweeps for wear, look for fresh gnaw marks around previously sealed openings, and inspect your roof vents and soffit areas from a ladder.

Inside, pay attention to the spaces you rarely visit: the backs of kitchen cabinets, the area behind your water heater, crawl spaces, and attic corners. Fresh droppings or new gnaw marks in these areas mean a rat has found a way in that your last round of sealing missed. Addressing a single entry point the week you find it is far easier than dealing with a breeding population a month later.