The aim of our study was to establish the frequency of the minor allele of the MUC5B gene in the population of patients with HP and to find the relationship between the MUC5B promoter region polymorphism and the development of lung fibrosis, the severity of the disease course, and the response to the treatment in patients with HP. The gene discussed is MUC5B; the disease is hypersensitivity pneumonitis.