An increasing body of evidence indicates the relevance of microbiota for pulmonary health and disease. Independent investigations recently demonstrated that the lung harbors a resident microbiota. Therefore, it is intriguing that a lung microbiota can shape pulmonary immunity and epithelial barrier functions. Here, we discuss the ways how the composition of the microbial community in the lung may influence pulmonary health and vice versa, factors that determine community composition. Prominent microbiota at other body sites such as the intestinal one may also contribute to pulmonary health and disease. However, it is difficult to discriminate between influences of lung vs. gut microbiota due to systemic mutuality between both communities. With focuses on asthma and respiratory infections, we discuss how microbiota of lung and gut can determine pulmonary immunity and barrier functions.