Barn swallows are very adaptable birds and can nest anywhere with open areas for foraging, a water source, and a sheltered ledge. They seek out open habitats of all types, including agricultural areas, and are commonly found in barns or other outbuildings. They will also build nests under bridges, the eaves of old houses, and boat docks, as well as in rock caves and even on slow-moving trains.
While migrating, they tend to fly over open areas, often near water or along mountain ridges. Barn swallows generally nest below 3000 m elevation.
Range elevation: 3000 (high) m.
Habitat Regions: temperate ; tropical ; terrestrial
Terrestrial Biomes: savanna or grassland ; chaparral ; forest
Other Habitat Features: urban ; suburban ; agricultural ; riparian ; caves