BackgroundImpaired respiratory function caused by respiratory muscle dysfunction is one of the common consequences of chronic obstructive pulmonary disease (COPD). In this study, two-dimensional shear wave elastography (2D-SWE) was used to measure diaphragm stiffness (DS) and intercostal muscle stiffness (IMS) in patients with COPD; in addition, the value of 2D-SWE in evaluating respiratory function was determined.MethodsIn total, 219 consecutive patients with COPD and 20 healthy adults were included. 2D-SWE was used to measure the DS and IMS, and lung function was also measured. The correlation between respiratory muscle stiffness and lung function and the differences in respiratory muscle stiffness in COPD patients with different severities were analysed.Results2D-SWE measurements of the DS and IMS presented with high repeatability and consistency, with ICCs of 0.756 and 0.876, respectively, and average differences between physicians of 0.10 ± 1.61 and 0.07 ± 1.65, respectively. In patients with COPD, the DS and IMS increased with disease severity (F1 = 224.50, F2 = 84.63, P < 0.001). In patients with COPD, the correlation with the forced expiratory volume in one second (FEV1)/forced vital capacity (FVC), predicted FEV1% value, residual volume (RV), total lung capacity (TLC), RV/TLC, functional residual capacity (FRC) and inspiratory capacity (IC) of DS (r1=-0.81, r2=-0.63, r3 = 0.65, r4 = 0.54, r5 = 0.60, r6 = 0.72 and r7=-0.41, respectively; P < 0.001) was stronger than that of IMS (r1=-0.76, r2=-0.57, r3 = 0.57, r4 = 0.47, r5 = 0.48, r6 = 0.60 and r7=-0.33, respectively; P < 0.001).Conclusion2D-SWE has potential for use in evaluating DS and IMS. A specific correlation was observed between respiratory muscle stiffness and lung function. With the worsening of the severity of COPD and the progression of lung function impairment, the DS and IMS gradually increased.