The answer is both, because squirrels are not one animal. Tree squirrels den in tree cavities or leaf nests, ground squirrels excavate underground burrows, and some species use both. Which structure a squirrel occupies depends on its family, its body plan, the season, and whether the ground freezes. That split is why the question confuses people: a squirrel in your oak tree and a squirrel under your shed may belong to species that never share habitat.
The confusion is built into the language. “Squirrel” names a whole family, Sciuridae, which includes tree squirrels, ground squirrels, chipmunks, marmots, and prairie dogs. Roughly 300 species sit in that family, and their nesting behavior divides along body-plan lines that researchers have studied for decades. Once you know the family tree and the local species list, the answer stops being ambiguous.
A family split, not a species choice
The sciurid family separates into three broad lineages with different locomotion and shelter strategies. Tree squirrels (the tribe Sciurini) have long tails for balance and rotate their ankles to descend headfirst. Ground squirrels (Marmotini and related tribes) have stouter bodies, shorter tails, and claws built for digging. Flying squirrels, a separate group, glide between trees but still nest in cavities or dreys.
The mechanism matters because shelter follows anatomy. A body built for vertical running needs an elevated refuge with quick escape routes through the canopy. A body built for digging needs loose, drainable soil and a tunnel system that can be sealed at night. That is why a red squirrel in a conifer forest and a thirteen-lined ground squirrel on a prairie lead completely different lives despite sharing a family name.
Body size correlates with strategy too. Tree squirrels in the genus Sciurus commonly weigh 300 to 700 grams, while many ground squirrels sit in the 100 to 500 gram range but carry a lower center of gravity. The trade-off is stability versus speed. Plainly: the animal's shape tells you which shelter it can build and defend.
How a tree cavity becomes a den
Tree squirrels do not build solid nests the way birds do. They use two structures. The first is a den cavity: an existing hollow in a live or dead tree, often a woodpecker hole or a heart-rot pocket, which the squirrel lines with shredded bark, leaves, and sometimes moss. The second is a drey, a ball of twigs and leaves built on a branch fork or against a trunk, roughly 30 to 60 centimeters across, with an inner chamber lined with softer material.
The drey works because of airflow and camouflage, not structural strength. Loose outer twigs let wind pass through while the dense inner lining holds body heat, and the messy silhouette blends into branch clutter. Dreys are cheap to build, which matters because a squirrel may maintain several and switch among them. Cavity dens are warmer and safer but scarce, so squirrels compete for them and often lose to larger cavity nesters.
Temperature drives the choice. In cold climates, tree squirrels prefer cavity dens for winter because wood insulates better than a twig shell. In summer, they use dreys more freely. This is a core mechanism: the shelter is not permanent real estate but a seasonal decision about heat loss, predator exposure, and parasite load.
How a burrow works underground
Ground squirrel burrows are engineered drainage and ventilation systems. A typical tunnel runs 15 to 60 centimeters below the surface, though some species dig deeper, and the tunnel often has more than one entrance. The entrances are plugged with soil at night and during hibernation, which stabilizes temperature and hides scent from predators. Some burrows include a separate nesting chamber lined with dried grass.
Ventilation is the counterintuitive part. A burrow with one opening traps carbon dioxide and humidity. Multi-entrance systems create slight pressure differences at the openings, so air moves through the tunnel even when the animal is sealed inside. Researchers have described this as passive ventilation, and it explains why burrow architecture has a characteristic shape rather than a simple hole.
Burrows also serve functions beyond sleeping. They are hibernation chambers, birthing rooms, and fire escape routes. A ground squirrel chased across open grass dives into the nearest entrance and disappears, which is a defensive strategy that a tree squirrel cannot use in the same way. One plain sentence: underground living is a bunker strategy, not a canopy strategy.
Quantified context: densities, depths, and temperatures
Numbers clarify how different these habitats are. Tree cavity dens in managed forests are often scarce, with only a few suitable hollows per hectare in young stands, while mature stands can supply far more. Dreys cost the squirrel little energy, so tree squirrels can maintain several per territory, which is why you may find two or three leafy balls in one yard.
Burrow systems can be extensive. Some ground squirrel colonies have dozens of entrances per hectare, and tunnel networks may connect across a colony. Depth depends on soil and frost line: species in cold regions dig below the frost line to survive winter, which in some areas means more than a meter of soil cover. Temperature inside a sealed burrow stays far more stable than surface air, which is the entire point.
Time matters too. Tree squirrels are active year-round in many regions and retreat to dens during storms. Many ground squirrels hibernate for months, with body temperature dropping close to ambient and heart rate falling sharply. The burrow is what makes that hibernation possible, because the soil buffers lethal cold.
| Shelter type | Typical builder | Structure | Season of peak use | Main advantage |
|---|---|---|---|---|
| Tree cavity den | Tree squirrels, flying squirrels | Existing hollow, lined | Winter | Insulation, predator protection |
| Drey | Tree squirrels | Twig and leaf ball | Spring through fall | Cheap, replaceable, camouflaged |
| Multi-entrance burrow | Ground squirrels | Tunnel with pluggable exits | Year-round, hibernation | Ventilation, temperature stability |
| Simple escape burrow | Chipmunks | Short tunnel | Active season | Fast predator escape |
| Rock crevice | Some ground squirrels | Natural fissure | Winter | Drainage, thermal mass |
Edge cases that break the binary
The binary fails in several real situations. Eastern gray squirrels sometimes use underground culverts, storm drains, or the space under porches, which is neither tree nor burrow. Flying squirrels nest almost exclusively in cavities but will use nest boxes, and their gliding lifestyle means they never dig. Chipmunks dig shallow burrows and also climb trees, so they occupy both categories.
Another edge case is the rock squirrel and similar species in the American Southwest, which den in rock crevices and under boulders rather than in deep soil. This is shelter strategy adapted to geology, not biology. In urban areas, tree squirrels may den in attics, and ground squirrels may burrow under foundations, which creates the human-wildlife conflicts people actually notice.
The strongest caveat is that shelter choice is individual and seasonal, not fixed. A single eastern fox squirrel may use a cavity in January and a drey in June. Assuming a species always lives in one place is the mistake that leads to bad management advice.
Misconceptions worth correcting
Several popular beliefs about squirrels are wrong in ways that matter for homeowners and naturalists.
Myth: all squirrels live in trees. Many ground squirrels and prairie dogs dig burrows and rarely climb. Myth: a leafy ball in a tree is a bird nest. Dreys are squirrel-built and often have a visible entrance at the side. Myth: a hole in the yard is a snake den. Ground squirrel burrows usually have a clean, round opening with loose soil and no tracks leading away. Warning: do not block a burrow entrance during spring. Young may be inside, and sealing it causes harm and traps animals. Warning: do not assume a squirrel in an attic is a tree squirrel. Gray and flying squirrels both enter structures and need species-specific exclusion.
A related misconception is that squirrels store food only underground. Tree squirrels scatter-hoard acorns and nuts in shallow surface caches, which is a different behavior from burrow larders. The cache strategy spreads risk across many small locations rather than one deep store.
Practical actions: reading the signs and managing conflicts
You can identify shelter type from ground-level evidence within minutes. Look for the shelter, not the animal, and use the following thresholds.
Tree cavity den: a hollow 5 to 15 centimeters wide on a trunk, often with a worn edge and bark stains from squirrel traffic. Drey: a twig ball 30 to 60 centimeters across, high in a fork, visible from below. Burrow: a round opening 7 to 12 centimeters wide with a spoil mound of loose soil; multiple openings within a few meters suggest a system. Attic entry: a gap of 2 to 5 centimeters near a roofline is enough for a gray squirrel; flying squirrels need less.
For exclusion, act outside the breeding season when possible, and use one-way doors that let animals out but not back in. Repair the entry after you confirm no animals remain. For yard burrows, avoid flooding tunnels and avoid sealing them while young are present. Relocation is often regulated, so check local wildlife rules before moving an animal.
Limits of what this tells you
This explains the general pattern, not every local case. Species identification changes the answer, and many regions have multiple squirrels with different habits. Behavior also varies with food availability, predator pressure, and human development. A burrow in one neighborhood may be a storm drain two blocks away.
The honest limit is that shelter is flexible. If you see a squirrel in a tree, that does not mean it sleeps there, and if you see a hole, that does not prove which species made it. Identify the animal, the season, and the structure together, and the answer becomes reliable.