The prognosis for infants with CDH varies widely and depends on several factors, including the size of the hernia, the degree of lung hypoplasia (underdevelopment), and the presence of other congenital anomalies. Advances in prenatal diagnosis, neonatal care, and surgical techniques have improved survival rates, but long-term outcomes can include respiratory issues, gastrointestinal problems, and developmental delays.