Many patients with chronic pulmonary diseases, such as interstitial lung disease, cystic fibrosis, and non-cystic fibrosis bronchiectasis, suffer from dyspnea and exercise intolerance. Reduced lung compliance is the main cause of the patients' dyspnea, but weak respiratory muscles could be an additional factor. The diaphragm is considered the major respiratory muscle. Our study aimed to detect diaphragmatic thickness and excursion by ultrasound in pediatric patients with chronic pulmonary diseases to assess respiratory muscle weakness in these patients. A case-control study was conducted on 130 patients with pediatric chronic pulmonary diseases (childhood interstitial lung diseases, cystic fibrosis, and non-cystic fibrosis bronchiectasis) and 100 control subjects. Ultrasound was used to detect diaphragmatic excursion and thickness, which were correlated with the severity of the disease, both clinically and functionally. The right and left diaphragmatic excursions were significantly lower in the patients (19.469 ± 9.984 and 18.5 ± 10.131, respectively) than in the control subjects (29.6 ± 14.131 and 25.6 ± 12.827, respectively) (p values of 0.002 and 0.019). In contrast, the difference in the right and left diaphragmatic thicknesses between the patients and the controls was statistically insignificant (p values of 0.884 and 0.344). The left diaphragmatic excursion was positively correlated with the patients' age and weight, while both the right and the left diaphragmatic excursion significantly correlated with the patients' height, FEV1/FVC ratio, and heart rate. The diaphragmatic excursion is lower in children and adolescents with chronic pulmonary diseases than in healthy control subjects. The diaphragmatic excursion is positively correlated with patients' age, weight, height, FEV1/FVC ratio, and heart rate.