When treated with antibiotics, many cases ofpneumonialast about two to three weeks.
This article explains how long pneumonia can last and the various factors that can influence recovery times.
It also describes the risk of complications or relapse from pneumonia.

Illustration by Tara Anand for Verywell Health
The recovery time can vary based on whether the infection is mild, moderate, or severe.
People hospitalized for pneumonia can expect to be admitted for anywhere from four to 16 days.
Age
In people 65 and older, pneumonia is never considered mild.
Recovery times tend to be longer in this age group, particularly if hospitalization is needed.
Types of Pneumonia
Recovery times can also vary based on the infectious cause of pneumonia.
Some studies suggest that pneumonia sparked by COVID-19 can take significantly longer.
Other types take longer to resolve.
In this population group, antifungal drugs may be needed for up to 12 months.
Can Pneumonia Go Away on Its Own?
Most cases of viral pneumonia will go away on their own if symptoms are mild.
Hospitalization with supportive care may be needed in severe cases.
General Health
Your general health before you get pneumonia can influence recovery times after you get pneumonia.
Institute for Quality and Efficiency in Health Care.How are the different types of pneumonia classified?
National Heart, Blood, and Lung Institute.Pneumonia: recovery.