QuestionBarn swallow
How Do Swallows Build Their Nests? Mud Cups Explained

Barn swallows build their nests from mud. Both partners collect hundreds of small beakfuls of wet mud from puddles and riverbanks, mix them with grass and hair, and press them one by one onto a beam or ledge inside a barn or shed, building up an open cup that they line with soft feathers.
Contents
Step by step: building a mud cup
Nest building starts soon after the barn swallow returns from its winter quarters. The male picks a site and shows it to a female with song and circling flights. Once paired, the two birds build together, although the female usually does more of the work.
The basic material is mud. The swallows land at the edge of a puddle, pond or wet farmyard, scoop up a small pellet of mud in the bill and carry it back to the nest site. Each pellet is pressed against the wall or beam and smoothed into place with quick sideways movements of the head. Grass stems, straw and horse or cattle hair are mixed in, which works like the straw in old mud bricks and stops the nest from cracking as it dries.
The pair lays down the mud in layers, letting each layer dry a little before adding the next. Building a brand-new nest takes about one to two weeks, and many hundreds of trips. Finally the cup is lined with fine grass and feathers, which keep the eggs warm and soft.
What a barn swallow nest looks like
A finished barn swallow nest is a neat, open half-cup, made of brown mud with visible pellets and wisps of grass. It is usually fixed to a vertical surface just below a ceiling, or placed on top of a beam, a ledge, a light fitting or a nail. The open top lets the parents fly straight in and out.
Other swallows build quite different homes:
| Species | Nest type and site |
|---|---|
| Barn swallow | Open mud cup inside barns, stables, sheds, porches and under bridges |
| House martin | Closed mud cup with a small entrance hole, under the outside eaves of houses |
| Cliff swallow | Gourd-shaped mud nest with an entrance tube, in large colonies on cliffs, bridges and dams |
| Sand martin (bank swallow) | Burrow dug into a sandy riverbank or quarry face |
| Tree swallow | Tree holes and nest boxes, lined with grass and feathers |
The swift, which looks similar in flight, does not use mud at all. It builds a flat nest of feathers and plant fluff caught in the air, glued together with saliva, inside holes in buildings.
Why mud matters
Mud nesting has advantages: the material is free and abundant on farms, and a dry mud cup is strong and long lasting. But it depends on the weather. In a dry spring, puddles and wet soil can be hard to find, and nest building may be delayed. In very wet weather, freshly laid mud may not dry, and heavy new nests sometimes fall.
Mud also has to be the right texture. If it is too sandy it crumbles, and if it is too runny it slumps before it sets, so swallows sometimes fly some distance from the nest to find a suitable puddle or bank.
Why swallows nest near people
Before people built barns, barn swallows nested in caves, rock overhangs and cliffs. Today, almost all of them nest in human structures, and in North America natural nest sites are now rarely used.
Buildings offer several benefits. Roofs protect the nest from rain and from birds of prey such as hawks, and the open doors and windows of barns let swallows fly in and out freely. Livestock attract large numbers of flies, giving parents a rich supply of food close to the nest. As farming changes, though, closed modern sheds and fewer animals mean fewer nesting places and fewer insects for swallows.
Reused nests and broods per season
Because building a nest takes so much effort, old nests are highly valued. Barn swallows readily repair a nest from the previous year with a fresh layer of mud and new lining, and many nests are used for 10–15 years; one was reported to have been in use for 48 years. Adults often return to the same farm, and sometimes the same nest, each spring.
Most pairs raise two broods per summer in the same nest, and occasionally three in warmer regions. The female lays four or five eggs on average, incubation lasts 14–19 days, and the chicks leave the nest after 18–23 days. Young swallows from the first brood sometimes help their parents feed the second brood. In autumn, the families leave for their winter quarters, described in where do swallows go in winter?
Swallow nests and the law
In much of Europe and North America, swallow nests are protected by law while they are in use. Old folk beliefs also protected them: farmers once thought that destroying a swallow’s nest would bring bad luck, such as cows giving bloody milk. Today, conservationists encourage farmers and homeowners to leave barn doors or windows open in summer and to leave nests in place, because a pair returning to an existing nest can start breeding sooner.
Frequently asked questions
How long does it take a swallow to build a nest?
A pair of barn swallows usually needs about one to two weeks to build a brand-new nest, depending on the weather and how easy it is to find wet mud. Repairing an old nest from the previous year takes only a few days.
Do swallows use the same nest every year?
Often, yes. Barn swallows readily repair and reuse old nests, and the same pair, or a new pair, may use a nest for many years. Nests lasting 10–15 years are common, and one was reported to have been in use for 48 years.
What is a swallow nest made of?
A barn swallow nest is made of small pellets of wet mud, carried in the bill and strengthened with grass, straw and hair. The inside is lined with soft grass and feathers, often white ones, to cushion and insulate the eggs.
Is it illegal to remove a swallow nest?
In many countries active nests are protected by law. In the United States and Canada, barn swallow nests, eggs and young are protected under migratory bird laws, and in the European Union wild birds and their active nests are protected under the Birds Directive.
How many babies do swallows have?
A barn swallow lays two to seven eggs per clutch, usually four or five. Most pairs raise two broods in a summer, sometimes three in warmer regions, so a successful pair can raise around eight to ten young in a year.
Sources and further reading
- Cornell Lab of Ornithology, All About Birds, "Barn Swallow"
- RSPB, "Swallow"
- Turner, A., The Barn Swallow (T & AD Poyser, 2006)
Cite this page
“How Do Swallows Build Their Nests? Mud Cups Explained.” Animal Atlas, https://animals.bigworldlist.com/questions/how-do-swallows-build-nests/.
Barn swallow: more questions and guides
- Animal profileBarn Swallow (Hirundo rustica): Facts, Migration and Nests
- QuestionDo Swallows Fly Low Before Rain? Weather Lore Tested
- QuestionHow Do Birds Know Where to Migrate? Navigation Explained
- ComparisonSwallow vs Swift: How to Tell These Fast Fliers Apart
- QuestionWhere Do Swallows Go in Winter? Swallow Migration Routes
- QuestionWhy Do Birds Migrate? Food, Daylight and Breeding Explained