Close-up of a brown rat with whiskers holding food near a stone wall and green foliage on the ground.

What Attracts Rats to Your House

October 22, 2026

Rats are attracted to a house by food, water and shelter, and the biggest draws are usually outdoors: pet food left out overnight, spilled bird seed, fallen fruit, open garbage cans, standing water, and woodpiles or thick shrubs against the walls. Those bring rats into the yard. Getting inside takes an opening, usually along the roofline or around pipes and utility lines, which is why sealing entry points does more to stop an infestation than any cleanup step on its own.

What Draws Rats to Your Yard

Rats settle where they can reach food and water every night without leaving cover. A rat eats roughly an ounce of food and drinks about an ounce of water a day, so it needs a dependable source, and much of what feeds rats around a home is outside the house, not in the kitchen.

Food Left Outside

Pet food is one of the most common draws. A bowl left on the patio overnight feeds rats as reliably as it feeds the dog, so bring food and water bowls in once your pets are done eating. Bird feeders cause the same problem in a different way. Birds drop seed all day, and rats clean it up after dark. If you keep a feeder, hang it away from the house and sweep up what falls.

Fruit trees matter most for roof rats. Fruit that is hollowed out or partly eaten while still on the branch is a telltale sign rats are feeding there, and fruit left on the ground is an even easier meal. Picking up fallen fruit promptly takes it off the menu.

Garbage is the other big one. Cans without tight lids, bags set beside the can, greasy grills and compost bins near the house all give rats a reason to come back. Keep garbage in a thick plastic or metal can with a lid that closes, clean the grill after you use it, and keep compost well away from the house. Public health guidance puts compost bins at least 100 feet from the home.

Water

Rats will drink from anything that holds water: pet bowls, dripping spigots, leaking irrigation, clogged gutters, plant saucers and buckets left out after rain. Norway rats in particular are drawn to standing water near the ground. Fixing leaks and emptying containers removes one more reason for rats to stay in your yard instead of passing through it.

Shelter

Rats nest close to what they eat. Woodpiles, stacks of lumber, brush piles, overgrown shrubs and clutter along the side of the house give them protected places to nest and move. Roof rats also nest up off the ground, in dense trees and in palms with old fronds left hanging. Move woodpiles away from the house and raise them about a foot off the ground, and keep shrubs trimmed so you can see the base of the wall.

What Actually Lets Rats Into the House

A yard full of food only becomes an indoor problem when rats find a way in, and the two common species use different routes.

Roof rats are climbers. They run along fence tops, utility lines and tree branches, and they reach the house wherever a branch touches the roof or a line connects to it. From there they slip in through gaps in the soffits and eaves, unscreened attic vents, gaps under roof tiles, and openings where AC lines and other utilities pass through the wall. That is why roof rat activity usually shows up as noise in the attic or ceiling.

Norway rats stay low. They burrow along foundations and come in at ground level, through gaps under garage doors, cracks in the foundation and openings around plumbing.

A rat only needs a gap of about half an inch. One entry point people rarely think of is a broken or disconnected sewer line under the slab, which can give rats a route into the walls with no visible opening outside.

Why a Clean House Can Still Get Rats

Homeowners are often surprised to find rats in a spotless house. The reason is that the food usually isn't in the kitchen. Rats depend on larger outdoor sources like fruit, pet food and garbage, and a roof rat feeding in your yard may nest in a tree on the next property and cross your attic on its way.

Cutting down trees isn't the answer either. Extension research on roof rats has found that their numbers don't follow the amount of fruit and food plants available, so removing a tree won't stop new rats from arriving. Trimming branches back from the roofline and picking up fallen fruit both help. Closing the openings is what keeps rats out of the house.

Why Rats Seem to Show Up Overnight

Rats rarely arrive all at once. In most cases they were already living nearby, feeding in your yard or a neighbor's, and the scratching starts on the night one finds a gap. A new food source, such as a fruit tree coming into season or a new bird feeder, can also pull rats closer to the house than they were before.

Scratching or scurrying inside the walls or ceiling after dark is the usual first sign. Rat droppings along walls, in the attic or near stored food are another. If you aren't sure whether you're dealing with rats or mice, the difference changes where traps go and which gaps matter, and telling a mouse from a rat starts with the tail and the droppings.

What You Can Fix Yourself

These changes make a property less attractive to rats:

  • Bring pet food and water bowls inside at night.
  • Pick up fallen fruit and spilled bird seed.
  • Use garbage cans with tight lids and keep the area around them clean.
  • Keep compost and woodpiles well away from the house, with the wood raised off the ground.
  • Trim branches and shrubs so nothing touches the roof or the walls.
  • Fix dripping spigots and irrigation leaks.

Those steps reduce the draw. They won't remove rats that are already inside, and sealing gaps yourself has limits. Spray foam or caulk on its own gets chewed through, so small gaps need steel wool or metal mesh behind the sealant, and larger openings need hardware cloth or metal flashing. Gaps along the roofline are also the hardest to reach and the easiest to miss from the ground.

When It's Time for Exclusion

If you're already hearing rats in the attic or finding droppings, cleaning up the yard won't fix it. Trapping without sealing doesn't work either, because new rats keep using the same openings.

Our rodent exclusion and trapping service starts with an inspection of the roofline, soffits, vents, AC lines, plumbing gaps, garage doors and foundation to find every active entry point. We seal those openings first, then set traps along the routes the rats are using. We use traps rather than poison because they are safer around kids and pets and keep rats from dying inside the walls. Most activity is gone within two weeks, and if it continues past four weeks, a smoke test checks for a broken sewer line under the foundation.

If you're hearing noises at night or finding droppings, schedule a free rodent inspection and we'll walk you through where they're getting in and what it takes to close it.

Link copied to clipboard!