How long does pulmonary rehabilitation take after viral lung infection? The duration varies depending on severity, but most programs last several weeks with structured breathing exercises.