Recovering from pneumonia takes longer than most people expect. Even after antibiotics clear the infection, your lungs need weeks to months to fully heal. The key to getting better is a combination of completing your prescribed treatment, managing symptoms at home, resting strategically, and easing back into normal activity at a pace your body can handle.
What Recovery Actually Looks Like
Pneumonia recovery doesn’t follow a straight line. You’ll likely notice your fever breaking first, often within the first few days of treatment. Chest pain and shortness of breath tend to improve over the first one to two weeks. But a lingering cough, fatigue, and reduced stamina can hang around for four to six weeks or longer, even after the infection itself is gone.
Many people feel dramatically better after a week and try to jump back into their normal routine. That’s one of the most common mistakes. Your lungs are still inflamed and repairing damaged tissue long after the worst symptoms pass. Pushing too hard too soon can set you back or leave you dealing with prolonged fatigue that stretches into months.
Bacterial vs. Viral Pneumonia Treatment
The type of pneumonia you have determines the core treatment. Bacterial pneumonia is treated with antibiotics, typically a course lasting five to seven days for adults with uncomplicated cases. For children between 3 months and 11 years with non-severe pneumonia, guidelines from the UK’s National Institute for Health and Care Excellence now recommend courses as short as three days. Finishing the full course matters, even when you feel better partway through.
Viral pneumonia doesn’t respond to antibiotics. Recovery relies on your immune system doing the work, supported by rest, fluids, and symptom management. In some cases, antiviral medications can help if the specific virus is identified early enough. Severe cases of either type may require hospitalization, where corticosteroids are sometimes used for adults with high-severity community-acquired pneumonia to reduce lung inflammation.
Managing Cough and Fever at Home
Your cough during pneumonia is doing important work. A productive cough, one that brings up mucus, helps clear your lungs and is generally best left alone. If congestion is making the cough less effective, an expectorant containing guaifenesin can thin the mucus and make coughing more productive.
Cough suppressants containing dextromethorphan work differently. They’re designed for dry, hacking coughs that aren’t moving mucus. If a dry cough is keeping you up at night or making it hard to rest, a suppressant can help. But suppressing a productive cough can trap mucus in your lungs and slow healing.
Be careful with combination cold and cough products that bundle multiple active ingredients, including fever reducers. If you’re already taking a separate fever reducer, you risk doubling up without realizing it. Read labels carefully and stick to single-ingredient products when possible.
Sleep Positions That Help You Breathe
How you sleep can make a real difference in comfort and breathing quality while your lungs heal. Lying flat tends to increase the feeling of congestion and shortness of breath. Propping your head and upper body up helps relieve pressure on your lungs. You can do this with a few pillows or rolled-up towels under your head and neck, an adjustable bed, or a reclining chair. Placing a pillow or bolster under your knees reduces strain on your back if you’re sleeping elevated.
Side sleeping is another good option. It keeps your spine in a neutral position and can help with one-sided congestion: sleep with your blocked nostril on top. So if your left side feels more congested, sleep on your right side. This simple adjustment uses gravity to help drain the congested side.
Deep Breathing and Gentle Movement
Your lungs lose some capacity during pneumonia because inflammation and fluid prevent parts of the lung from fully expanding. Deep breathing exercises help reopen those areas. The simplest approach is to take slow, deep breaths through your nose, hold for two to three seconds, then exhale slowly through pursed lips. Doing this for five to ten minutes a few times a day encourages full lung expansion and helps prevent mucus from settling.
If you were given an incentive spirometer (a small plastic device) in the hospital, use it as directed at home. It gives you visual feedback on how deeply you’re breathing and tracks your progress over time.
Physical activity should come back gradually. Start with short, slow walks around your home. If you feel winded or your heart is racing from minimal effort, that’s your body telling you it’s not ready for more. Most people can return to light daily activities within two to three weeks, but vigorous exercise, running, heavy lifting, intense workouts, often needs to wait six weeks or more. Let your energy levels guide you rather than a calendar.
Keep Your Indoor Air Healthy
The air in your home matters while your lungs are healing. A humidifier can ease breathing by keeping airways moist, but indoor humidity needs to stay between 30% and 50%. Above that range, excess moisture encourages the growth of bacteria, dust mites, and mold, all of which can irritate recovering lungs and trigger breathing problems. A hygrometer, available at most hardware stores for a few dollars, lets you monitor levels.
If you use a humidifier, clean it frequently. Dirty water tanks and filters breed bacteria and mold that get released into the air with the mist. Even in healthy people, contaminated humidifiers can cause flu-like symptoms or lung irritation. During pneumonia recovery, that risk is amplified. Use distilled or demineralized water and clean the tank every few days.
Signs You’re Not Improving
Some degree of lingering fatigue and cough is normal for weeks after pneumonia. But certain changes signal that something is wrong. Contact your provider if your symptoms suddenly worsen after a period of improvement, if you develop new or worsening difficulty breathing, or if you struggle to speak in full sentences because of breathlessness. A fever that returns after it had resolved, chest pain that gets sharper, or confusion (especially in older adults) also warrant a call.
Pneumonia can sometimes lead to complications like fluid buildup around the lungs or a secondary infection taking hold in weakened tissue. These aren’t common, but they’re more likely if you have underlying heart or lung conditions, a weakened immune system, or are over 65.
Reducing Your Risk of Future Pneumonia
Once you’ve had pneumonia, your risk of getting it again is higher than average, particularly in the first year. Vaccination is one of the most effective ways to lower that risk. The CDC recommends pneumococcal vaccination for all adults 50 and older who have never received a pneumococcal conjugate vaccine or whose vaccination history is unknown. Options include PCV15, PCV20, or PCV21. If PCV20 or PCV21 is used, no additional pneumococcal vaccines are needed. If PCV15 is used, a follow-up dose of a different pneumococcal vaccine is recommended about a year later.
Adults younger than 50 and children between 2 and 18 may also need pneumococcal vaccines if they have conditions that raise their risk, such as immune system disorders, chronic lung or heart disease, or cochlear implants. An annual flu shot also helps, since influenza is a common trigger for secondary bacterial pneumonia.
Beyond vaccination, the basics matter: washing your hands regularly, not smoking (or quitting if you do), and managing chronic conditions like diabetes or COPD that weaken your lungs’ defenses. If you’re recovering now, think of these steps as part of the same process, not just getting over this episode, but making the next one less likely.

