Viral pneumonia is treated primarily with rest, fluids, and symptom management, though specific antiviral medications can help when the infection is caught early. Unlike bacterial pneumonia, antibiotics don’t work against viruses, so treatment focuses on supporting your body while it fights off the infection. Most people with mild to moderate cases recover at home within one to two weeks, though fatigue can linger for a month or longer.
Antivirals for Specific Viruses
Not all viral pneumonia is treated the same way. The type of virus determines whether an antiviral medication can help, and timing matters. Antivirals work best when started within the first 48 hours of symptoms.
For influenza-caused pneumonia, four antiviral drugs are currently available. Oseltamivir (Tamiflu) is the most commonly prescribed, taken as a pill or liquid twice daily for five days. Baloxavir (Xofluza) is a single-dose pill, which makes it convenient, though it’s not recommended for hospitalized patients or during pregnancy. Zanamivir (Relenza) is an inhaled powder taken twice daily for five days, but it’s not an option if you have asthma or COPD. Peramivir (Rapivab) is given as a one-time IV infusion, typically in a clinical setting.
COVID-19 and RSV each have their own antiviral options, and flu antivirals won’t work against them. Your doctor will choose the right medication based on which virus is causing your pneumonia, which is why testing matters early on.
Supportive Care at Home
For most people with viral pneumonia, the core of treatment happens at home. Your body needs energy to fight the infection, and the basics make a real difference: staying hydrated, getting genuine rest, and managing symptoms so you can sleep and eat.
Over-the-counter fever reducers and pain relievers can help with the body aches, headache, and high temperatures that typically come with viral pneumonia. Cough is one of the most persistent symptoms, and while suppressing it completely isn’t always ideal (coughing helps clear mucus from your lungs), a cough suppressant at night can help you get the sleep your body needs to heal. Staying upright or propped up on pillows can also make breathing easier.
One important note: recovery from pneumonia takes longer than most people expect. The National Heart, Lung, and Blood Institute notes that while some people bounce back in one to two weeks, others need a month or more. Most people still feel tired for about a month even after the acute symptoms resolve. Pushing yourself back into a full routine too early can set you back, so ease into normal activities gradually.
When Hospitalization Is Needed
Most viral pneumonia can be managed at home, but certain warning signs mean you need hospital-level care. Doctors use scoring systems to assess severity, and a few key thresholds drive the decision. An oxygen saturation below 90% is a major red flag. A respiratory rate at or above 30 breaths per minute (roughly twice the normal rate) signals that your lungs are struggling. Confusion, very low blood pressure, and being over 65 with other health conditions also push the risk higher.
In the hospital, treatment typically involves supplemental oxygen, IV fluids, and closer monitoring. In severe cases, mechanical ventilation may be necessary. The mortality risk climbs significantly with severity: moderate-risk patients face a 3% to 15% chance of death within 30 days, while high-risk patients face over 15%.
Antibiotics and Viral Pneumonia
This is an area where practice is shifting. Doctors have historically prescribed antibiotics alongside other treatments for pneumonia, even when a virus was the suspected cause, as a precaution against bacterial coinfection. The latest clinical practice guidelines from the American Thoracic Society now recommend against this for otherwise healthy outpatients who test positive for a respiratory virus. If you don’t have significant underlying health conditions, empiric antibiotics likely aren’t necessary.
The reason this matters: bacterial coinfection is less common than many people assume. A large study of over 885,000 viral respiratory cases in Ontario found that only 0.5% had a concurrent bacterial infection. The rates varied by virus. About 4.7% of influenza B cases and 3.9% of influenza A cases had bacterial coinfection, compared to just 0.3% of COVID-19 cases. Unnecessary antibiotic use contributes to antibiotic resistance, so avoiding them when they won’t help is genuinely important.
That said, if your symptoms worsen after initially improving, or you develop a new high fever several days into your illness, a secondary bacterial infection may have taken hold. At that point, antibiotics become appropriate and necessary.
Treatment Differences in Children
Children with viral pneumonia generally follow the same basic approach of rest, fluids, and fever management. However, a few things differ. Aspirin should never be given to children with viral illnesses due to the risk of Reye’s syndrome, a rare but serious condition. Cough and cold medications are also not recommended for young children.
Most children recover well from viral pneumonia without complications. In rare cases where fluid accumulates around the lungs (a condition called parapneumonic effusion), current pediatric guidelines favor monitoring small, uncomplicated collections rather than intervening immediately. Larger or more symptomatic fluid collections may require drainage.
Reducing Your Risk
Vaccination is the most effective way to prevent the viral infections that cause pneumonia in the first place. Annual flu vaccines, up-to-date COVID-19 vaccines, and RSV vaccines (now available for older adults and certain other groups) all reduce the likelihood of severe respiratory illness progressing to pneumonia.
Pneumococcal vaccines, while targeted at bacterial pneumonia specifically, are 60% to 80% effective in high-risk groups including people over 65 and those with weakened immune systems. Since childhood pneumococcal vaccination became routine, rates of severe pneumococcal disease in the U.S. have dropped by 88%. These vaccines can safely be given alongside flu or COVID-19 shots, so there’s no need to space them out across multiple visits.

