Wild rats occupy a remarkable range of habitats, from underground burrow systems in farm fields to treetop nests in tropical forests and the sewers beneath major cities. The two species most people encounter, the brown rat and the roof rat, have strikingly different preferences for where they build their homes, and that difference shapes almost everything about how and where you find them. What looks like a single animal with a single lifestyle is really two species running parallel strategies across nearly every continent.
Two Species With Very Different Real Estate Preferences
When people say “wild rats,” they almost always mean one of two species. The brown rat (sometimes called the Norway rat) is the larger, stockier animal found burrowing along building foundations, in agricultural fields, and under refuse piles. The roof rat (also called the black rat or ship rat) is lighter and more agile, favoring elevated spaces such as attics, vine tangles, and tree canopies. Both species live on every inhabited continent except Antarctica, and both thrive in urban, suburban, rural, and genuinely wild settings. But their nesting strategies diverge sharply: brown rats dig downward, while roof rats climb upward.
This vertical split is not absolute. Brown rats will occasionally nest above ground when forced to, and roof rats on treeless islands sometimes burrow. But the general pattern holds strongly enough that pest control professionals treat the two species as entirely different problems. Understanding which rat you are dealing with, and where it nests, determines where to look and what to do about it.
How Brown Rats Build Their Burrows
Brown rats are dedicated excavators. In the wild, a colony jointly digs a network of tunnels and chambers that functions as a shared living space with areas for sleeping, food storage, and raising young. Females give birth in private underground chambers within the communal burrow, typically producing litters of four to eight pups after roughly three weeks of gestation.1PubMed Central. The social life of Norway rats (Rattus norvegicus) The entire colony shares tunnels and some chambers, which means a single burrow system can house a surprisingly large social group.
Research comparing wild-caught rats to laboratory strains has shown that wild rats build far more complex burrows than their domesticated cousins. Wild rats consistently create interconnected tunnel networks with multiple exits, at least one fork where tunnels branch, and an average of one to three separate chambers. Laboratory rats placed in the same digging environment rarely managed to dig a tunnel deep enough to fully cover themselves, and almost never created forks or secondary exits.2PLOS ONE. Species Specific Behavioural Patterns (Digging and Swimming) and Reaction to Novel Objects in Wild Type, Wistar, Sprague-Dawley and Brown Norway Rats The multiple exits are likely an anti-predator adaptation; a burrow with only one way out is a death trap if a weasel or snake enters.
In urban settings, brown rats exploit the same instinct by burrowing along foundations, beneath sidewalks, beside compacted garbage, and into the soil of neglected landscaping. The basic architecture remains the same: tunnels, chambers, branching paths, and at least two exits. The soil type matters, too. Rats prefer digging in loose, moist earth rather than heavy clay or rocky ground, which is one reason urban burrows cluster near leaking pipes, garden beds, and areas where the soil has been previously disturbed.
Roof Rats in the Canopy
Roof rats take the opposite approach. In natural habitats they nest well above the ground, taking advantage of dense vegetation for cover and insulation. A study tracking roof rats in an old-growth riparian forest in California found that individuals nested between 2 and 15 meters high in trees. They maintained multiple nest sites and sometimes shared nests simultaneously with other rats. Despite nesting high up, the rats were most active at night on or near the ground, foraging in areas of dense blackberry and grape cover.3Journal of Mammalogy. Home Range and Movements of Roof Rats (Rattus rattus) in an Old-Growth Riparian Forest, California
This habit of climbing translates directly into the built environment. Roof rats enter buildings through gaps near rooflines, follow utility lines and tree branches to reach upper stories, and nest in attics, ceiling voids, and wall cavities. Their comparatively light build and excellent balance let them navigate wires and narrow ledges that a heavier brown rat would struggle with. If you hear scratching in the ceiling rather than under the floor, roof rats are the likely culprit.
The nest sites themselves are relatively simple compared to brown rat burrows. Roof rats tend to pile shredded material into a rough dome or cup shape in a sheltered nook, rather than excavating the elaborate multi-chambered tunnels their ground-dwelling cousins prefer. In wild settings, dense vine tangles, palm fronds, and thick canopy clusters offer the structural support and concealment these nests need.
Urban Sewers as Permanent Habitat
Sewer systems are not just a transit route for rats; for many brown rat populations, sewers are the primary, year-round habitat. A capture-mark-recapture study in a European city’s sewer network found that rat populations lived permanently underground, distributed throughout the system regardless of pipe dimensions. Abundance per sewer system ranged from 2 to 44 individuals, and the populations appeared to be organized into smaller subgroups rather than one undifferentiated mass.4Wildlife Research. Uncovering the secret lives of sewer rats (Rattus norvegicus): movements, distribution and population dynamics revealed by a capture–mark–recapture study
A few findings from that study surprised researchers. Rats in sewers moved an average maximum distance of roughly 200 meters, with day-to-day travel considerably shorter. There was no observed movement between separate sewer systems, and none of the sewer-dwelling rats were detected on the surface. Juvenile rats turned up more frequently in smaller, drier sections of pipe, suggesting that breeding females may seek out calmer parts of the infrastructure for nesting. Bite wounds were rare among the captured rats, pointing to an unusually high degree of social tolerance within these confined underground groups.4Wildlife Research. Uncovering the secret lives of sewer rats (Rattus norvegicus): movements, distribution and population dynamics revealed by a capture–mark–recapture study
The practical implication is that surface-level trapping and baiting programs may miss entire populations that live, feed, and reproduce entirely below ground. Sewer rats are also somewhat insulated from seasonal weather changes, which means their population dynamics do not follow the same boom-and-bust cycle as above-ground colonies.
Island and Coastal Populations
Rats have colonized islands on every ocean, usually arriving on ships and staying permanently. On tropical islands, all three major invasive rat species (brown rat, roof rat, and the smaller Pacific rat) occupy virtually every habitat type, including mangrove swamps and arid scrubland.5Global Ecology and Conservation. Invasive rats on tropical islands: Their population biology and impacts on native species This adaptability is what makes them such devastating invaders. They are not restricted to one vegetation type or elevation zone; they spread across entire islands.
On subantarctic islands, where conditions are harsher, rats concentrate in one particular habitat: dense tussock grassland. On Macquarie Island in the Southern Ocean, roof rats dig burrows into the peaty stools of tall tussock plants and build nesting chambers at the base of the dense leaf canopy. The tussock provides a warmer, more thermally stable environment than the exposed ground outside it, which is critical at those latitudes.6Journal of Zoology. Distribution and habitat use of the feral black rat (Rattus rattus) on subantarctic Macquarie Island Brown rats on South Georgia, another subantarctic island, follow a nearly identical pattern: they burrow into tussock stools, nest in the leaf canopy, and rely on the carbohydrate-rich tussock grass as their primary food source year-round, supplementing it with beetles, shoreline foraging, carrion, and the eggs and chicks of ground-nesting seabirds.7Journal of Zoology. Feral Brown rats, Rattus norvegicus, in South Georgia (South Atlantic Ocean)
These island populations reveal something important about rat nesting behavior: the usual species-level preferences (brown rats burrow, roof rats climb) bend when the environment demands it. Roof rats on Macquarie Island burrow because there are no tall trees to nest in. Brown rats on South Georgia nest within the canopy of tussock plants because the dense leaf bases offer better insulation than bare soil. The rats are flexible enough to switch strategies depending on what is available.
What Rat Nests Are Made Of
Rat nests, whether in burrows or in elevated locations, are typically constructed from whatever soft, insulating material the rats can find nearby. In natural settings, fresh plant material dominates. Shredded leaves, grass, bark fibers, and small twigs form the bulk of the structure, with finer material packed toward the interior where the rats sleep or nurse pups. A broad review of nest construction across mammals noted that nests are usually built from fresh rather than dead plant material, that animal-derived materials are uncommon, and that more physically robust materials tend to form the outer structural shell while softer items line the interior.8PubMed Central. Nest construction in mammals: a review of the patterns of construction and functional roles
Urban and suburban rats, however, are famous scavengers of human-made materials. Shredded paper, fabric scraps, insulation fibers, plastic bags, and cardboard all show up regularly in rat nests found in buildings. The review noted that anthropogenic materials are reported in mammal nests broadly, and rats are among the most enthusiastic adopters. If you have ever found a nest in an attic or behind a wall made of chewed-up newspaper and pillow stuffing, that is a rat applying the same basic construction instinct to whatever was available.
Insulation is the primary function of nest material. Underground chambers stay relatively stable in temperature, but surface and attic nests can swing widely between day and night, or between seasons. Packing more material into the nest helps buffer those swings, which is especially important when pups are present. Newborn rats cannot regulate their own body temperature, so the nest effectively serves as an external thermostat for the first couple of weeks of life.
Seasonal Movement Toward Buildings
One of the most common questions people have about wild rats is why they seem to suddenly appear in or near buildings in the fall. The answer is straightforward. A study of brown rat populations in rural England documented that during autumn and winter, rats living in more distant outdoor locations tended to shift their activity toward nearby buildings. The movement was not an orderly mass migration but rather a gradual drift, with individual rats moving closer to structures that offer warmth, shelter, and concentrated food sources as temperatures drop and field-based food becomes scarce.9Biological Journal of the Linnean Society. Home range and movement in populations of Rattus norvegicus polymorphic for warfarin resistance
This seasonal pattern has real consequences for homeowners and building managers. Rat-proofing efforts are most effective when done before fall, because once rats establish themselves inside or beneath a structure, evicting them is considerably harder. Sealing entry points, removing outdoor food sources like fallen fruit or open compost, and trimming vegetation away from foundations and rooflines are all more productive as prevention than as treatment after the fact.
In warmer climates and in sewer-dwelling populations, this seasonal shift is less pronounced or absent entirely. Sewer rats, as noted earlier, appear to stay underground year-round without surfacing, and tropical populations face less pressure to seek shelter since temperatures remain relatively stable. The “fall invasion” pattern is primarily a temperate-climate phenomenon.
How Colony Social Life Shapes the Burrow
Rat burrows are not just physical structures; they are social infrastructure. Brown rat colonies share tunnel systems, and the layout of the burrow reflects the colony’s social organization. A colony’s burrow typically includes shared channels used by all members, semi-private chambers where females give birth and nurse, and food storage areas.1PubMed Central. The social life of Norway rats (Rattus norvegicus) The sewer study similarly found that rat populations within a single system were organized into smaller subgroups whose activity areas overlapped partially but did not completely merge, suggesting a social structure somewhere between strict territoriality and total communal living.
Roof rats show similar flexibility. In the California forest study, individual rats used multiple nests and sometimes shared a nest with other individuals simultaneously.3Journal of Mammalogy. Home Range and Movements of Roof Rats (Rattus rattus) in an Old-Growth Riparian Forest, California This nest-sharing is not random; it suggests social bonds or at least mutual tolerance between specific individuals. The picture that emerges is of animals that are neither solitary nor tightly colonial, but somewhere in between, adjusting their social arrangements to the space and resources available.
For anyone dealing with a rat problem, the social dimension matters. Removing a single rat from a burrow system or attic nest rarely solves anything, because the remaining colony members continue using the same infrastructure. Effective management usually requires addressing the entire colony’s access to the nesting site and surrounding food sources, not just targeting individual animals.
The Invertebrate World Inside a Rat Nest
A rat nest is its own tiny ecosystem. The warm, humid, organic-matter-rich interior provides ideal conditions for a variety of invertebrates that live alongside (or on) the rats. Research on wood rat nests in Indiana documented a rich assemblage of mites, fleas, ticks, and chiggers living both on the rats and within the nest material itself. Some of the most abundant nest-dwelling species were storage mites and predatory mites that feed on other tiny invertebrates in the nest debris, rather than on the rats themselves. Parasitic forms like ticks and chiggers, which attach directly to the host, were more common on the rats’ bodies than in the loose nest material.10Canadian Journal of Zoology. Nest associates and ectoparasites of the eastern wood rat, Neotoma floridana, in Indiana
Wood rats (genus Neotoma) are a different group from the brown and roof rats that most people worry about, but the basic ecology applies broadly. Any rat nest, whether belonging to a brown rat under a shed or a roof rat in an attic, will accumulate a community of tiny organisms that thrive in the nest microhabitat. This is one reason that simply removing a rat but leaving the nest behind can create lingering pest problems: fleas and mites that were feeding on the rat may disperse into the surrounding space looking for a new host, and some of them will bite humans or pets.
Seasonal patterns affect the parasite community, too. Chiggers were collected almost exclusively in summer in the wood rat study, while other mite species peaked in cooler months. Anyone who cleans out an old rat nest should take basic precautions regardless of the season, wearing gloves and a dust mask at minimum, since dried nest material can also harbor bacteria and, in some regions, hantavirus particles.
How Rats Found Us in the First Place
Brown rats originated in Asia and spread across the globe primarily by following human trade and migration routes. Despite being one of the most studied mammals on Earth, the details of how and when brown rats transitioned from purely wild animals to commensals, creatures that live alongside humans, remain surprisingly incomplete. Recent genetic work has begun to piece together this history, but significant gaps persist in understanding the mechanisms that allowed rats to adapt so effectively to human-built environments.11PubMed. The evolutionary history of wild and domestic brown rats (Rattus norvegicus)
What is clear is that the shift was not a one-time event. Rats did not simply walk into a human settlement one day and stay forever. Archaeological and genetic evidence points to multiple independent events of commensalism across different regions and time periods. The traits that made rats good at living in wild burrow systems, flexible diets, social tolerance, rapid reproduction, and excellent digging ability, turned out to be precisely the traits that made them successful in barns, granaries, ships, and eventually modern cities. The burrow under your garage is, in an evolutionary sense, the same burrow that rat ancestors dug beside a river in central Asia thousands of years ago. The only thing that changed is what sits on top of it.