Question: how long does it take a baby to get over pneumonia?
Answer: A child usually takes a couple of weeks to fully recover. Over that time the infection-fighting (immune) system will be cleaning up the pneumonia. Coughing up phlegm is part of the cleaning up process. The cough may last up to 4 weeks but should gradually be getting better over this time.