Objective. This study aimed to clarify the mechanism of Fei-Xian formula (FXF) in the treatment of pulmonary fibrosis based on network pharmacology analysis combined with molecular docking validation. Methods. Firstly, ingredients in FXF with pharmacological activities, together with specific targets, were identified based on the BATMA-TCM and TCMSP databases. Then, targets associated with pulmonary fibrosis, which included pathogenic targets as well as those known therapeutic targets, were screened against the CTD, TTD, GeneCards, and DisGeNet databases. Later, Cytoscape was employed to construct a candidate component-target network of FXF for treating pulmonary fibrosis. In addition, for nodes within the as-constructed network, topological parameters were calculated using CytoHubba plug-in, and the degree value (twice as high as the median degree value for all the nodes) was adopted to select core components as well as core targets of FXF for treating pulmonary fibrosis, which were subsequently utilized for constructing the core network. Furthermore, molecular docking study was carried out on those core active ingredients together with the core targets using AutoDock Vina for verifying results of network pharmacology analysis. At last, OmicShare was employed for enrichment analysis of the core targets. Results. Altogether 12 active ingredients along with 13 core targets were identified from our constructed core component-target network of FXF for the treatment of pulmonary fibrosis. As revealed by enrichment analysis, the 13 core targets mostly concentrated in regulating biological functions, like response to external stimulus (from oxidative stress, radiation, UV, chemical substances, and virus infection), apoptosis, cell cycle, aging, immune process, and protein metabolism. In addition, several pathways, like IL-17, AGE-RAGE, TNF, HIF-1, PI3K-AKT, NOD-like receptor, T/B cell receptor, and virus infection-related pathways, exerted vital parts in FXF in the treatment of pulmonary fibrosis. Conclusions. FXF can treat pulmonary fibrosis through a “multicomponent, multitarget, and multipathway” mean. Findings in this work lay foundation for further exploration of the FXF mechanism in the treatment of pulmonary fibrosis.