Most birds spend the night hidden in dense vegetation, tree cavities, or other sheltered spots that protect them from predators and weather. Unlike their nests, which are only used during breeding season, these roosting sites are chosen purely for safety and warmth. Where a bird sleeps depends on its species, the season, and what shelter is available.
Common Roosting Spots
Songbirds like sparrows, finches, and robins typically tuck themselves into dense shrubs, thickets, or evergreen trees. Evergreens are especially popular because their thick foliage blocks wind and hides birds from owls and other nighttime hunters year-round. Deciduous trees work fine in summer when they’re full of leaves, but once fall strips the branches bare, birds shift to conifers or other dense cover.
Cavity-nesting species like woodpeckers, bluebirds, and chickadees sleep inside tree holes, old woodpecker cavities, or even birdhouses. Outside of breeding season, these birds still rely on enclosed spaces for overnight shelter, particularly in winter. Chimney swifts take cavity roosting to an extreme. They can’t perch on branches at all, so they cling to vertical surfaces inside chimneys, hollow trees, or caves. During the nonbreeding season, large numbers of swifts pile into a single chimney together.
Waterfowl like ducks and geese often sleep right on the water. Being surrounded by open water makes it hard for land predators to approach undetected. Shorebirds roost on mudflats or sandbars for the same reason: open sightlines in every direction.
Why Safety Drives Roosting Choices
The primary factor in where a bird sleeps is predator avoidance. Owls, raccoons, snakes, and cats are all active at night, and a sleeping bird is an easy target. Birds choose roosting sites that make them hard to find or hard to reach. Research on roosting behavior has found that birds show remarkably high site fidelity, returning to the same specific spot night after night once they’ve confirmed it’s safe. Some species even roost in dry, exposed habitats that seem inhospitable but are rarely visited by predators.
Height matters too. Many songbirds roost well above ground level, making them harder for climbing predators to reach. Birds that sleep in cavities gain a physical barrier, since a predator would need to reach inside a small hole to get them.
How Birds Sleep Without Falling
Perching birds have a built-in locking system in their feet. When a bird settles onto a branch and bends its legs, tendons running along the underside of each toe automatically tighten, curling the toes around the perch. The deep flexor tendons that attach to the claw-bearing tips of each toe are interconnected, so they work together across multiple toes to create a strong, passive grip. The bird doesn’t need to use any muscular effort to hold on. It can fall completely asleep and stay locked in place until it straightens its legs again.
Sleeping With One Eye Open
Birds have a remarkable ability that mammals lack: they can sleep with half their brain at a time. This is called unihemispheric sleep, and it allows a bird to keep one eye open and alert while the other half of its brain rests. The open eye connects to the awake hemisphere, giving the bird the ability to spot approaching threats even while sleeping.
A study on mallard ducks showed just how precisely birds control this ability. Ducks positioned at the edges of a group, where they were most exposed, showed a 150% increase in half-brain sleep compared to ducks in the safer center of the group. The edge ducks also pointed their open eye outward, toward the direction a predator would most likely come from. When researchers presented a threatening visual stimulus to the open eye, the ducks responded almost instantly. Birds essentially post their own sentries, and those sentries are themselves.
Communal Roosting in Cold Weather
Many species gather in large groups to sleep, especially during winter. Crows are famous for forming massive winter roosts numbering in the thousands. Starlings do the same, creating those dramatic swirling murmurations at dusk before settling into a shared roosting tree. But communal roosting isn’t just for large flocks. Small birds like long-tailed tits and even wrens huddle together in tight clusters inside cavities or dense brush.
The thermal benefit is significant. Research on sociable weavers found that the temperature inside a shared roosting chamber rises substantially with more birds present. Birds in larger groups spent less time below their critical thermal minimum, the temperature at which their bodies have to burn considerably more energy just to stay warm. Huddling reduces the amount of body surface exposed to cold air, and each bird contributes body heat to the group. These energy savings during winter directly improve survival rates. Studies on several species have found that individuals in smaller groups suffer higher mortality during cold months than those in larger groups.
Hummingbirds and Overnight Torpor
Hummingbirds face a unique problem at night. Their tiny bodies lose heat rapidly, and they have almost no fat reserves to burn. Their solution is torpor, a state of dramatically reduced metabolism that resembles a miniature hibernation. During shallow torpor, a hummingbird’s body temperature drops by about 20 degrees Fahrenheit. In deep torpor, the drop is a staggering 50 degrees below normal daytime temperature. Heart rate and breathing slow to a fraction of their waking levels. A hummingbird in deep torpor can appear completely lifeless, hanging motionless from its perch. Come morning, it takes several minutes for the bird to warm back up and resume normal activity.
Birds That Sleep While Flying
Some birds don’t land at all for days or weeks at a time, raising the obvious question of when they sleep. Frigatebirds, studied with brain-activity monitors during transoceanic flights, provided the first direct evidence that birds can sleep in midair. They manage it in remarkably short bursts. In flight, sleep episodes averaged only about 12 seconds, compared to roughly 28 seconds when sleeping on land. The longest sleep episodes in flight topped out at around two to three and a half minutes, while on land they could stretch past nine minutes.
Frigatebirds slept more during circling flight on rising air currents, when the aerodynamic demands were lower, with episodes averaging about 13 seconds versus 7 seconds during straight flight. They also experienced brief flashes of deep sleep (the equivalent of REM sleep in mammals) lasting about 5 seconds, during which muscle tone dropped and the birds’ heads would nod. Despite this momentary loss of control, they maintained their flight path. In total, frigatebirds sleeping in flight got far less rest than they did on land, suggesting that airborne sleep is a compromise rather than a full substitute.
How Light Pollution Disrupts Sleep
Urban birds face a challenge their rural counterparts don’t: artificial light. Streetlights, building lights, and illuminated signs can trick birds into staying active later or waking earlier, compressing the hours available for rest. Research has confirmed that artificial light at night disrupts sleep patterns in wild birds, though cavity-nesting species appear to be partially shielded. Sleeping inside an enclosed space blocks much of the ambient light, giving cavity nesters an advantage in lit urban environments. Open-roosting songbirds in cities don’t have that buffer, which may contribute to chronic sleep disruption over time.

