Cystic fibrosis (CF) is a hereditary disease that is characterized by defective mucociliary clearance, airway obstruction, chronic infection, and persistent inflammation. Cystic fibrosis pulmonary exacerbation (CFPE) majorly causes the morbidity of CF patients. Although CF has been demonstrated to change the composition of lung microbial community, previous studies have not made efforts to study the differences in the mechanism of assembly and diversity maintenance of lung microbial community in CF patients. In this study, we applied the neutral theory of biodiversity to comparatively investigate the assembly and diversity maintenance of the lung microbial community before and after the antibiotic treatment by reanalyzing the dataset from Fodor et al's study. We found that no one sample in the lung microbial communities of the sputum samples of Exacerbation group, nor those of End-of-treatment group satisfied the predictions of neutral model, suggesting that the neutral-process does not dominate in CF patients before and after antibiotic treatments. By comparing the biodiversity parameter between Exacerbation and End-of-treatment group, we found that the former had the significantly higher biodiversity, but the change in diversity parameter is slight and the P value is close to.05 (P value = .41). Therefore, our second finding is that although CFPE may increase the biodiversity of lung microbial community, the change is not essential.