How to Keep Mice Out of Your House

How to Keep Mice Out of the House

The Spruce / Alex Dos Diaz

Rodents like mice and rats can contaminate food, chew essential papers, damage electrical wiring, and spread disease. It can be difficult to completely eradicate rodents that have established hidden nesting areas, but it is possible. An even better tactic, if you can beat them to it, is preventing mice and other rodents from infiltrating your home in the first place.

Learn signs of rodent presence, how to remove these unwanted pests, and how to keep mice out of your house for good without using poison.


Click Play to Learn About How to Control House Mice

Signs of Rodent Presence

When a mouse or rat decides to visit, it often goes unseen—at least at the start. Usually, signs that rats or mice are present include:

  • Small dark droppings of feces that look like tiny grains of rice and are found along walls or in places where food materials are present
  • Areas of destruction, such as chewed holes in boxes and bags of dry goods in a pantry, in pet food bags, or in bags of grass seed in the garage
  • Rub marks or gnawed areas along baseboards or near any holes in the floors, such as where radiator pipes come through
  • Small nests filled with shredded paper or wood shavings in hidden areas beneath cabinets or in unused drawers

11 Ways to Keep Mice Out of the House

  • 01 of 11

    Block All Entry Points

    Doorway step with cracks in front

    The Spruce / Adrienne Legault

    The single most important preventive measure you can take to keep mice and rats away is to inspect the foundation and walls of your house to make sure any potential entry points are blocked.

    The fall season, when rodents seek to get in from the cold, is an especially good time to run your inspection tour. Mice can enter by squeezing their way through cracks as small as 1/4-inch in diameter, so block foundation cracks with a masonry repair material, and inspect joints around windows and door sills for cracks that might allow rodents to enter.

    Make sure weather seals along the bottom edges of garage doors are in good shape. If your garage is insulated, it may become a cozy home for a rodent.

    Check your attic, as well, since rodents love the warmth of insulation. However, there's no completely effective rodent-proof insulation on the market as of yet, although spray foam insulation may help keep rodents at bay.

  • 02 of 11

    Move Bird Feeders Far From the House

    Bird feeder hanging with red-headed woodpecker eating from seed pack in front of snow-covered trees

    The Spruce / Adrienne Legault

    The seeds and ground grains that go into most bird-food mixtures are a delightful treat for rodents, as evidenced by the presence of squirrels (larger cousins to rats) that frolic around any bird feeder.

    Feeding birds is an admirable hobby, but you shouldn't be surprised when mice and rats are drawn to the ground around your feeders. If you must feed birds, keep your feeders as far from the house as possible.

  • 03 of 11

    Seal Pet Food

    Pet food stored in closed glass container next to pan with some dog food pieces

    The Spruce / Adrienne Legault

    Transfer dog and cat foods to sealed, airtight storage containers immediately after buying them. More than one homeowner pouring a bowl of dog food has dumped out a squeaking mouse at the same time.

    Dry pet foods are mana from heaven for rodents, so store them in tightly sealed containers well above the floor.

  • 04 of 11

    Seal Garbage Bins

    Garbage cans and bins kept alongside the house or garage will be a siren call to rats and mice (and maybe bigger pests, such as raccoons or stray dogs and cats) unless they are kept tightly sealed with air-proof lids.

    If possible, keep these utility containers as far from your house as you can, put them on platforms above the ground, and as an added prevention, secure lids with bungee cords or heavy rocks.

    Continue to 5 of 11 below.
  • 05 of 11

    Control Foundation Plantings

    Foundation plantings and shrubs a few feet from side of house

    The Spruce / Adrienne Legault

    Dense shrubs and garden planting that butt up close to the house provide hiding spots for mice and rats (and termites) as they seek entry holes through foundations or walls.

    Shrubs along the house should be planted a few feet away from the foundation, and make sure to keep the soil level low enough that mice cannot squeeze their way up behind the siding.

  • 06 of 11

    Seal Dry Foods

    Flour and sugar sealed in glass containers on kitchen counter top with plant by window

    The Spruce / Adrienne Legault

    Flour, sugar, and other food kept in bags or paper cartons are easily broached by rodents and bugs, such as weevils. Instead, keep these foods in tightly sealed plastic or metal containers on high shelves or in the refrigerator.

    Rodents will have no incentive to take up residence in your house if they don't smell any source of food.

  • 07 of 11

    Clean Floors and Countertops

    Food crumbs on black kitchen counter

    The Spruce / Adrienne Legault

    Casual, messy housekeeping that leaves spilled crumbs or food scraps on floors or countertops is an invitation for mice and rats. Always have a handy sweeper to capture crumbs and never leave uneaten bowls of pet food in dishes on the floor.

    If you have a pet bird, sweep up scattered seeds that have fallen on the floor under the cage.

  • 08 of 11

    Keep Outside Doors Closed

    White garage door closed

    The Spruce / Adrienne Legault

    Garage doors left wide open can be an invitation to rats and mice, especially in the fall when these rodents are seeking a warm place for winter.

    Get into the habit of closing your garage door immediately after entering or exiting with your car, and also keep side entry doors to the garage closed. Keep sliding patio doors and basement windows closed, or at least protected with screens, to prevent rodents from entering.

    Never leave a garage door, or other entries open overnight, as the dark hours are when rodents are especially active.

    Continue to 9 of 11 below.
  • 09 of 11

    Set Traps and Bait

    Mouse trap with brown cover in front of white baseboard

    The Spruce / Adrienne Legault

    Mostly as a diagnostic measure throughout the year, set a few traps and bait stations indoors. A live trap is a humane and poison-free way to trap and release rodents while alerting you when they are finding entry into your home.

    The best live traps are chamber-type devices with a spring-loaded door that snaps shut when the mice enter in search of food. Avoid sticky trap designs, since mice have been known to chew their own feet in an effort to free themselves from the adhesive—these traps are by no means humane.

    If you have no qualms about killing mice, then traditional spring traps are a good choice; they usually kill mice very quickly and without much pain to the creature.


    If you decide to use poison baits, never set them outdoors where squirrels and pets can find and eat them. Rodent poisons are a major cause of pet poisoning in the U.S. Plus, indoor mice that are killed by poisons may die in the walls, leaving you with the issue of their decaying remains.

  • 10 of 11

    Use Natural Repellents

    Peppermint essential oil sprayed to repel mice

    The Spruce / Adrienne Legault

    In one study, eucalyptus oil showed some success in repelling rats. But efficacy was improved when the oil was applied daily and alternatively as compared to when applied once a week indicating low persistence of the repellent effect due to the volatile nature of the oil.

  • 11 of 11

    Adopt Pet Predator

    Brown and black spotted cat looking under refrigerator for mice

    The Spruce / Adrienne Legault

    A pet that loves to hunt prey, or even an owl nesting outdoors in your garden can be excellent rodent control. But because pet food is always present in a house with pets, rodents may find your home to be a good source of food.

    However, a young, aggressive cat, or a dog species such as a terrier with a reputation for hunting small animals, can often catch rodents before they can take up housekeeping and form nests to reproduce.

Mice vs. Rats

Also, if you have pets, your dog or cat may exhibit alert behavior, sensing the presence of a rodent. And you may even hear sounds of scurrying or scratching in the walls or floors, especially at night when the house is silent and dark.

  • Although these rodents are similar in appearance, rats (Rattus spp.) are considerably larger than mice (Mus musculus and other species).
  • Mice can grow to about 8 inches long, including the tail, while rats can grow to as much as 19 inches, including the tail.
  • Mice have sparse hair on the ears, a pointed snout, and are typically light gray-brown or black in color with white or buff underneath.
  • Rats have hairless ears, blunter snouts, and are typically a darker gray in color.
  • Rats are more secretive creatures, likely to hide in walls, while it's common to see mice curiously exploring.
  • Both rats and mice can start fires by gnawing on electric cables.
  • Do mice carry diseases?

    The CDC reports an impressive number of diseases that can be carried or spread by rodents, including mice: hantavirus pulmonary syndrome, hemorrhagic fever, lassa fever, leptospirosis, lymphocytic chorio-meningitis (LCM), Omsk hemorrhagic fever, plague, rat-bite fever, salmonellosis, and hantavirus.

  • What attracts mice to a house?

    Mice are drawn into residential homes because these good locations for plenty of food and dark sheltered areas to nest and reproduce. Your home is also a source of warmth during colder times of the year. The typical home is an ideal environment for the common house mouse.

  • What should I do with live trapped mice?

    Homeowners who prefer live traps are left with figuring out what to do with the live mice.

    The best method is to put the live trap into a heavy plastic bag and take it to a park or field at least 2 miles from your home before releasing the mouse. But be aware that house mice (Mus musculus) released outdoors will quickly seek indoor shelter again—if they are not snatched up quickly by owls, hawks, foxes, prowling house cats, or other predators. Thus, it is debatable if live trapping is indeed more humane than kill traps. And your neighbors may have something to say about your practice of releasing live mice into the neighborhood.

  • What should I do with dead mice?

    Mice killed in traps or with poison bait should be placed in a sealed plastic bag and disposed of in household trash. Wear disposable gloves to handle them. Don't flush them down the toilet, add them to a compost heap, or allow cats or other pets to eat them. Avoid touching dead mice if you can; wash your hands thoroughly if handling is unavoidable.

Article Sources
The Spruce uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Morand, S., et al. Rodents as Hosts of Infectious Diseases: Biological and Ecological Characteristics. Vector-Borne and Zoonotic Diseases, vol. 15, no. 1, Jan. 2015, pp. 1–2. (Atypon), doi:10.1089/vbz.2015.15.1.intro

  2. Singla, Neena, et al. Potential of Eucalyptus Oil as Repellent against House Rat, Rattus Rattus. The Scientific World Journal, vol. 2014, 2014, pp. 1–7. doi:10.1155/2014/249284

  3. Centers for Disease Control and Prevention. Diseases directly transmitted by rodents. Updated July 5, 2017