The respiratory tract is a complex organ system that is responsible for the exchange of oxygen and carbon dioxide. The human respiratory tract spans from the nostrils to the lung alveoli and is inhabited by niche-specific communities of bacteria. The microbiota of the respiratory tract probably acts as a gatekeeper that provides resistance to colonization by respiratory pathogens. The respiratory microbiota might also be involved in the maturation and maintenance of homeostasis of respiratory physiology and immunity. The ecological and environmental factors that direct the development of microbial communities in the respiratory tract and how these communities affect respiratory health are the focus of current research. Concurrently, the functions of the microbiome of the upper and lower respiratory tract in the physiology of the human host are being studied in detail. In this Review, we will discuss the epidemiological, biological and functional evidence that support the physiological role of the respiratory microbiota in the maintenance of human health.