How pneumonia is cured depends entirely on what caused it. Bacterial pneumonia is treated with antibiotics, viral pneumonia may require antiviral drugs or simply time, and fungal pneumonia needs antifungal medications that can last months. Most people with mild to moderate pneumonia recover at home with the right medication and supportive care, though severe cases require hospitalization. The majority feel better within one to two weeks, but full recovery often takes a month or longer.
Bacterial Pneumonia Treatment
Bacterial pneumonia is the most common type that requires direct medical treatment, and antibiotics are the standard cure. Your doctor will typically prescribe antibiotics based on the most likely bacteria involved, and you should start feeling improvement within two to three days. If you don’t, that’s a signal to contact your doctor because the antibiotic may need to be changed or the infection may be caused by something other than typical bacteria.
One important distinction: a type called “walking pneumonia,” caused by Mycoplasma bacteria, doesn’t respond to standard antibiotics like penicillin. These bacteria lack a cell wall, which makes them naturally resistant to that entire class of drugs. Macrolide antibiotics are the first-line treatment instead. For children and pregnant women, options are more limited since some alternative antibiotics carry risks for those groups.
Finishing your full course of antibiotics matters even after you feel better. Stopping early can leave surviving bacteria behind, potentially causing a relapse or contributing to antibiotic resistance.
Viral Pneumonia Treatment
Viral pneumonia, often caused by influenza or RSV, doesn’t respond to antibiotics. For flu-related pneumonia, antiviral medication works best when started within two days of symptom onset, though doctors still recommend starting it as soon as possible even after that window, especially for severe cases or hospitalized patients. The standard treatment course is five days of twice-daily oral medication, though some cases can be treated with a single-dose antiviral.
Many cases of viral pneumonia, particularly milder ones, resolve on their own with rest and supportive care. Your immune system does the heavy lifting while you manage symptoms. The risk is that viral pneumonia can weaken lung defenses enough to allow a secondary bacterial infection, which then requires antibiotics on top of the original treatment.
Fungal Pneumonia Treatment
Fungal pneumonia is less common but requires a very different approach and much more patience. Treatment courses are dramatically longer than bacterial pneumonia. Mild to moderate cases typically need antifungal medication for 6 to 12 months, depending on the specific fungus. Chronic infections can require 12 to 24 months of treatment, and some, like fungal meningitis in certain patients, need lifelong medication.
People with weakened immune systems, such as those with HIV/AIDS or organ transplant recipients, face the highest risk for fungal pneumonia. Certain fungal infections are also geographically concentrated. Histoplasmosis is common in the Ohio and Mississippi River valleys, while coccidioidomycosis (valley fever) clusters in the southwestern United States. If you live in or have traveled through these regions and develop persistent respiratory symptoms, fungal pneumonia is worth considering.
What You Can Do at Home
Whether your pneumonia is bacterial, viral, or fungal, supportive care at home makes a real difference in how quickly you recover. Staying well-hydrated is one of the most important things you can do. Fluids keep the mucus in your lungs thin, making it easier to cough up and clear the infection. Warm beverages are particularly helpful.
Steamy showers, warm baths, and humidifiers can open your airways and ease breathing. Rest is non-negotiable, even if you start feeling better early in your treatment. Pushing yourself back into normal activity too soon is one of the most common reasons recovery stalls. Your body is using significant energy to fight the infection, and that process doesn’t stop just because your fever breaks.
Over-the-counter fever reducers and pain relievers can help manage symptoms, but avoid cough suppressants unless your doctor specifically recommends one. Coughing is your body’s mechanism for clearing infected mucus from your lungs, and suppressing it can slow recovery.
When Pneumonia Requires Hospitalization
Doctors assess pneumonia severity using several key markers: level of confusion, kidney function, breathing rate (30 breaths per minute or higher is concerning), low blood pressure, and age 65 or older. The more of these risk factors present, the more likely hospital care is needed.
In the hospital, the primary intervention for many patients is supplemental oxygen. When blood oxygen saturation drops below 92%, supplemental oxygen is typically administered and adjusted to keep levels between 92% and 96%. For patients with chronic lung conditions like COPD, doctors target a slightly lower range of 88% to 92% because too much oxygen can paradoxically worsen breathing in those cases.
If oxygen levels can’t be maintained with standard delivery methods, or if breathing becomes severely compromised, mechanical ventilation may be necessary. This represents the most serious end of pneumonia treatment and typically involves intensive care.
Recovery Timeline
Recovery from pneumonia is slower than most people expect. Some people bounce back and return to normal routines in one to two weeks, but for others, it takes a month or more. Most people continue to feel tired for about a month regardless of when other symptoms clear. This lingering fatigue is normal and not a sign that treatment failed.
Symptoms tend to resolve in a predictable order. Fever usually breaks first, within the first few days of treatment. Cough and chest discomfort can linger for several weeks. Energy is typically the last thing to fully return. If you had a severe case or were hospitalized, expect the timeline to stretch further.
Doctors may recommend a follow-up chest X-ray around six weeks after diagnosis, particularly if you still have symptoms or if there are risk factors for an underlying condition like lung cancer. This imaging confirms the infection has fully cleared and rules out anything else going on in the lungs.
Preventing Pneumonia
Vaccination is the most effective prevention tool. The CDC recommends pneumococcal vaccines for all adults 50 and older who haven’t previously received one. Two of the newer vaccines, PCV20 and PCV21, are single-dose options that complete your pneumococcal vaccination in one shot. An older option, PCV15, requires a follow-up dose of a different vaccine about a year later. For adults with weakened immune systems, cochlear implants, or cerebrospinal fluid leaks, that follow-up interval can be shortened to eight weeks.
Annual flu vaccination also reduces pneumonia risk since influenza is a leading cause of viral pneumonia and can set the stage for secondary bacterial pneumonia. Beyond vaccines, the basics matter: frequent handwashing, not smoking (which damages the lung’s natural defenses), and managing chronic conditions like diabetes or heart disease that increase vulnerability to lung infections.