Migratory birds are considered as vectors of infectious diseases, owing to their potential for transmitting pathogens over large distances. The populations of barn swallow (Hirundo rustica) migrate from Southeast Asia to the Japanese mainland during spring and migrate back to Southeast Asia during autumn. This migratory population is estimated to comprise approximately hundreds to thousands of individuals per year. However, to date, not much is known about the gastrointestinal microbiota of the barn swallow. In this study, we characterized the fecal bacterial community in barn swallow. Using 16S rRNA gene metagenomic sequencing analysis, we examined the presence and composition of potentially pathogenic bacteria in the fecal samples, which were collected during spring season from Osaka. The number (±S.D.) of total bacteria was approximately 2.1(±3.4)×108 per gram of feces. In most samples, the bacterial community composition was dominated by families, such as Enterobacteriaceae, Pseudomonadaceae, Mycoplasmataceae, Enterococcaceae, Streptococcaceae, and Alcaligenaceae. However, no relationship was found between the bacterial community composition and geographical area in the fecal samples. Potentially pathogenic bacteria were detected at the rate of >0.1%, which included Pseudomonas spp., Escherichia/Shigella spp., Enterobacter spp., Yersinia spp., Mycoplasma spp., Enterococcus spp., Achromobacter spp., and Serratia spp. Our results suggested that barn swallow is instrumental in the transmission of these genera over large distances.