The airway mucin Muc5b (but not Muc5ac) is required for mucociliary clearance, defence against bacterial infection in the airways and middle ear, and maintenance of immune homeostasis in the lungs; Muc5b deficiency causes accumulation of apoptotic macrophages, impairment of phagocytosis and reduced production of interleukin-23, leading to infection and inflammation.