Where Do Mice Live? Indoor and Outdoor Mouse Habitats

House mice occupy a remarkably wide range of habitats, from the insulated wall cavities of your kitchen to open agricultural fields, underground burrow systems, and rocky outcrops. Their relationship with human-built structures is ancient and deep, but it is only part of the story. Feral populations thrive outdoors year-round, while commensal populations move fluidly between buildings and surrounding landscapes depending on the season, food supply, and the presence of predators.

A 15,000-Year Relationship with Human Settlements

Mice did not simply invade our homes one day. The commensal relationship between house mice and people stretches back roughly 15,000 years, to the long-term settlements of Natufian hunter-gatherers in the Levant. Archaeological evidence from the site of Ain Mallaha shows that house mice displaced less commensal wild mice during periods of heavy human occupation, then lost ground again when those settlements became more mobile.1PubMed Central / PNAS. Origins of house mice in ecological niches created by settled hunter-gatherers in the Levant 15,000 y ago In other words, mice tracked human settlement intensity long before agriculture existed. The ecological niche that permanent dwellings created, with their stored food and shelter from weather, gave house mice an evolutionary advantage that has only compounded as human buildings became more elaborate. Every heated wall, forgotten bag of grain, or cluttered garage is a continuation of that ancient arrangement.

Outdoor Burrow Systems

Mice that live outdoors are not just wandering the surface. They dig genuine burrow systems, and the architecture of those burrows varies considerably. When researchers excavated burrows built by house mice in large outdoor enclosures, they found systems ranging from about 10 centimeters to over 8 meters in total tunnel length. A single burrow could have anywhere from one to seven entrance holes, up to eight distinct tunnel segments, and as many as five separate interior cavities.2The American Midland Naturalist. Burrows and Burrow-Cleaning Behavior of House Mice (Mus musculus domesticus) The more complex burrows, the longer ones with multiple branches, tended to belong to females. That makes sense when you consider what the burrow is for: females need space for nesting and rearing litters, and more entrances mean more escape routes from predators. Males, particularly in summer when food is plentiful, made do with simpler structures.

These burrows serve several overlapping purposes. In warm months, they provide shelter from heat and predators. In winter, they become sites for communal nesting, where multiple mice huddle together for warmth. Stored food was uncommon in the excavated summer burrows, probably because there was enough to eat above ground, but food caching likely increases when resources become scarce in colder months.2The American Midland Naturalist. Burrows and Burrow-Cleaning Behavior of House Mice (Mus musculus domesticus)

Where Mice Settle Indoors

Inside buildings, mice exploit a different kind of architecture, but the logic is the same: they need a sheltered cavity near food. Common indoor nesting sites include wall voids, the insulation inside attics, the space behind kitchen appliances, drop ceilings, the gaps around plumbing and electrical penetrations, and cluttered storage areas where disturbance is rare. Mice can squeeze through gaps as small as a pencil’s diameter, so any crack or hole around foundations, utility lines, or door frames is a potential entry point.

The indoor environment offers what outdoor habitats often cannot: stable temperatures and consistent food. A nest inside an exterior wall benefits from the building’s heating system on one side and insulation on the other, creating a microclimate that requires almost no metabolic effort to maintain. This is a major draw during cold months, but mice living indoors often stay year-round once established because the combination of safety, warmth, and food is hard to beat. One study evaluating rodent exclusion in homes in New Mexico found that even modest structural sealing, closing gaps and reinforcing entry points, reduced the number of mice trapped inside homes dramatically. Control homes that received no treatment captured an average of four mice per infested home, while treated homes captured essentially none.3PubMed Central. Experimental evaluation of rodent exclusion methods to reduce hantavirus transmission to residents in a Native American community in New Mexico That result underscores how dependent indoor mice are on physical access. Seal the holes, and the habitat effectively disappears.

Commensal Versus Feral Populations

Not all house mice live near people. The species is split broadly into commensal populations, those associated with buildings, farms, and food stores, and feral populations, which live in crop fields, grasslands, and semi-natural habitats with little or no reliance on human structures. These two lifestyles produce different movement patterns. Commensal mice tend to stay put. They have a reliable food source, shelter, and relatively little reason to disperse. Feral mice, by contrast, move more frequently and over greater distances, likely because outdoor food supplies shift with the seasons and because open habitats expose them to more predation pressure.4Oxford Academic. Dispersal in house mice

The distinction matters because it shapes how mouse populations grow and interact with other species. Commensal mice can reach very high densities inside barns or grain stores because the food supply is concentrated and defended. Feral populations tend to be patchier and more spread out, responding to the uneven distribution of wild food sources and cover. In some regions, feral house mice are the dominant small rodent in open grassland or disturbed ground, while in others they are outcompeted by native species and remain restricted to human-adjacent habitats.

How Predation and Light Shape Habitat Choices

Where a mouse decides to forage and nest is not random. Predation risk is one of the strongest forces steering those choices, and it does not have to involve actual attacks. The mere presence of predators changes mouse behavior in measurable ways. In an experimental study using outdoor enclosures, mice living in open grassland with predator access avoided exposed areas, grew more slowly, and started breeding later in the season compared with mice in predator-free zones. This happened even though the grassland mice had lower population densities and presumably less competition for food. The threat alone was enough to reshape their habitat use and life history.5Journal of Animal Ecology. Habitat structure mediates the non‐lethal effects of predation on enclosed populations of house mice

Artificial light plays a surprisingly large role in this equation. For a small nocturnal animal, light is essentially a predation cue, because being visible at night means being vulnerable. When researchers gave wild house mice a choice between foraging at illuminated feeding stations and dark ones, the mice overwhelmingly preferred the dark stations, removing far more seeds from unlit trays.6PLOS ONE. Converting Predation Cues into Conservation Tools: The Effect of Light on Mouse Foraging Behaviour This avoidance behavior was consistent across both captive and wild non-commensal house mice, suggesting it is deeply ingrained rather than learned from a particular environment. Separate field experiments found that even modest experimental illumination of natural habitat suppressed wood mouse activity in the lit areas.7PubMed Central. Experimental illumination of natural habitat–an experimental set-up to assess the direct and indirect ecological consequences of artificial light of different spectral composition

The practical implication is straightforward. Outdoor lighting around buildings does not just illuminate a yard; it creates a patchwork of perceived risk for mice. Well-lit perimeters push foraging activity into darker zones, which can either discourage mice from approaching a structure or, if the dark zones happen to be right against the building’s foundation, funnel them toward entry points. Security lighting alone is not mouse control, but it does alter the landscape of risk that mice navigate every night.

Nest Building and Thermal Comfort

Whether indoors or outdoors, mice build nests, and the nest is a more important structure than it might seem. A broad review of nest construction across mammals found that nests serve overlapping roles: resting sites, thermal insulation, protection during torpor or cold weather, refuges from predators, and sometimes even anti-parasite barriers depending on the materials used.8Philosophical Transactions of the Royal Society B: Biological Sciences. Nest construction in mammals: a review of the patterns of construction and functional roles For house mice specifically, nest quality can make the difference between surviving a cold snap and not. Mice will shred paper, fabric, insulation, plant fibers, or almost any soft material to construct a roughly ball-shaped nest with a small entrance. Indoors, this is why homeowners find nests made of chewed cardboard, cotton batting, or pillow stuffing. Outdoors, grass, leaves, and seed hulls are common building materials.

The thermal function is especially important for pups, which are born hairless and unable to regulate their own body temperature. A well-insulated nest keeps ambient temperature around the litter significantly higher than the surrounding air. Communal nesting, where multiple females or even mixed-sex groups share a nest, amplifies this effect and appears to be a common winter strategy in both commensal and feral populations.

Agricultural Landscapes and Hedgerow Corridors

Farmland represents a middle ground between wild habitat and human structures. Mice living in agricultural landscapes use both the crops themselves and the non-crop features like hedgerows, field margins, and stone walls. Research on small mammals in agricultural settings has shown that hedgerows serve as critical overwintering habitat for wood mice, which use crop areas throughout the growing season but retreat to connected hedgerow corridors once winter sets in. Hedgerow connectivity, how continuous the hedge is versus how many gaps it has, turns out to be a strong predictor of whether mice persist in a given area.9Elsevier / ScienceDirect (Agriculture, Ecosystems & Environment). Does hedgerow management on organic farms benefit small mammal populations? Gaps in hedgerows expose mice to predators and weather, effectively fragmenting what would otherwise be a safe travel and nesting corridor.

For house mice specifically, grain stores, barns, and outbuildings are the main agricultural attraction. These structures combine the food density of a crop field with the shelter of a building. Seasonal harvest and storage cycles create pulses of abundance that draw mice in from surrounding fields, and once inside a grain store, commensal behavior kicks in and mice tend to stay. This is where agricultural mouse infestations typically originate: not from mice that were always in the barn, but from feral or field-dwelling mice that followed the food indoors.

Competition with Native Rodents

House mice are not always the dominant rodent in a given habitat. Where native species are well established, house mice can be at a competitive disadvantage, particularly outdoors. A long-running study examining interactions between house mice and the native oldfield mouse in abandoned fields found no evidence of direct aggression between the two species, but house mice were clearly worse at competing for food when population density was high. The researchers observed that house mice coped with this disadvantage partly through their tendency to disperse, moving to new areas rather than fighting for a shrinking food supply.10Oxford Academic (Journal of Mammalogy). An Investigation of Competition in Natural Populations of Mice

This dynamic helps explain a common pattern in many parts of the world: house mice dominate inside and around buildings but are far less abundant in undisturbed natural habitats where native rodents have the ecological upper hand. Islands are a notable exception. On islands where native competitors are absent, feral house mice can become the dominant small mammal across entire landscapes, sometimes reaching extraordinary densities and causing serious ecological damage to ground-nesting birds and native invertebrates.

Vertical Spaces and Climbing Ability

Mice are not strictly ground-dwellers. House mice are capable climbers and readily exploit vertical spaces: pipes running up walls, stacked boxes, shelving units, and even rough exterior walls. Inside buildings, attics are a common nesting location precisely because mice can climb wall interiors and access upper floors from below. Outdoors, rocky terrain and dense vegetation provide vertical structure that some mouse species prefer. Laboratory comparisons of rodent species from different habitats found that species accustomed to rocky, three-dimensional environments spent substantially more time on elevated structures and covered more distance on them than species from flat habitats.11PLOS ONE. On heights and plains: How rodents from different habitats cope with three-dimensional environments? House mice fall somewhere in the middle of this spectrum. They are not specialized climbers, but their comfort with vertical surfaces is one reason they access parts of buildings that homeowners assume are out of reach.

If you hear scratching in the ceiling or find droppings on a high shelf, the mouse probably climbed there from a lower entry point rather than entering the attic directly. Sealing gaps at ground level often solves upper-floor problems too, because the vertical access depends on the initial ground-level entry.

Keeping Mice Out of Indoor Spaces

Understanding where mice live changes how you think about control. Poison and traps address mice that are already inside, but exclusion, physically blocking their entry, addresses the habitat itself. The most effective single intervention is a careful inspection of a building’s exterior for gaps, cracks, and holes, followed by sealing them with materials mice cannot chew through easily. Steel wool packed into gaps, copper mesh around pipe penetrations, and metal flashing at the base of doors are standard approaches. Expanding foam alone is not enough, because mice chew through it within hours.

Reducing outdoor habitat near the building also helps. Tall grass, dense ground cover, and piles of wood or debris against foundation walls give mice a safe staging area right next to potential entry points. Keeping vegetation trimmed back from the building’s perimeter by at least a foot or two creates an exposed zone that mice are reluctant to cross, especially if the area is well lit. Removing food attractants matters too: bird seed on the ground, pet food left outside, and unsealed garbage bins are open invitations. None of these measures requires eliminating mice from the landscape. The goal is to make your specific building a less appealing habitat than the outdoor alternatives that are already available.