Lung diseases, such as cystic fibrosis and COPD, are characterized by mucus obstruction and chronic airway inflammation, but their mechanistic link remains poorly understood. Here, we focus on the function of the mucostatic airway microenvironment on epigenetic reprogramming of airway macrophages (AM) and resulting transcriptomic and phenotypical changes. Using a mouse model of muco-obstructive lung disease (Scnn1b-transgenic), we identify epigenetically controlled, differentially regulated pathways and transcription factors involved in inflammatory responses and macrophage polarization. Functionally, AMs from Scnn1b-transgenic mice have reduced efferocytosis and phagocytosis, and excessive inflammatory responses upon lipopolysaccharide challenge, mediated through enhanced Irf1 function and expression. Ex vivo stimulation of wild-type AMs with native mucus impairs efferocytosis and phagocytosis capacities. In addition, mucus induces gene expression changes, comparable with those observed in AMs from Scnn1b-transgenic mice. Our data show that mucostasis induces epigenetic reprogramming of AMs, leading to changes favoring tissue damage and disease progression. Targeting these altered AMs may support therapeutic approaches in patients with muco-obstructive lung diseases.