We first quantified and localized RANKL, its receptor RANK and IL-17A in lungs of patients with COPD, smokers and non-smokers. Here, TNFSF11 is linked to chronic obstructive pulmonary disease.