Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started
My Medicine

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Lung Disease & Respiratory Health Center

Font Size

Viral Pneumonia

Pneumonia is an infection in your lungs, and it can keep you in bed feeling very sick. It's usually caused by bacteria, viruses, or fungi. In the U.S. about 30% of pneumonias are viral.


These include:

  • Dry cough
  • Fever
  • Chills
  • Shortness of breath
  • Pain in your chest when you cough or breathe
  • Rapid breathing

If you have any of these symptoms, call your doctor.


Viruses that can lead to pneumonia include:

  • Influenza (flu) A and B viruses are the most common causes in adults.
  • Respiratory syncytial virus, or RSV, is more common in infants and children than in adults.
  • Others include coronaviruses, rhinoviruses, parainfluenza viruses, and adenoviruses, which can also cause pinkeye.

Other viruses that more rarely cause viral pneumonia include herpes simplex, measles, and chickenpox.

How Viral Pneumonia Spreads

Viruses that cause pneumonia travel through the air in droplets of fluid after someone sneezes or coughs. These fluids can get into your body through your nose or mouth. You can also get viral pneumonia after touching a virus-laden doorknob or keyboard, then touching your mouth or nose.

Diagnosing Viral Pneumonia

Your doctor’s diagnosis will depend on how severe your infection is. If you have mild symptoms, your doctor may suggest blood tests or a chest X-ray.

If your symptoms are serious, and you are 65 or older (or an infant or young child), the doctor might recommend collecting fluids. She or he may also put a camera down your throat to check your airways.


If a virus is causing your pneumonia, antibiotics won’t help, but your doctor may prescribe an antiviral medication.

  • If you have an influenza virus, your doctor may prescribe medications such as oseltamivir (Tamiflu), zanamivir (Relenza), or peramivir (Rapivab). These drugs keep flu viruses from spreading in your body.
  • If RSV is the cause of your pneumonia, your doctor may prescribe a medication such as ribavirin (Virazol). This helps to limit the spread of viruses.

When you have pneumonia, it’s important to get plenty of rest. Check back in with your doctor after treatment to make sure your lungs are clear.


The same steps you would take to try to prevent the flu also help lower your chance of pneumonia.

  • Wash your hands often. Scrub them with soap and water for at least 20 seconds before you eat or prepare food. When you are in public places, use sanitizer.
  • Get a flu vaccination each year at the beginning of flu season.
  • Stay away from people who are coughing or sneezing.
  • Keep your hands away from your eyes, ears, nose, and mouth.


WebMD Medical Reference

Reviewed by Jennifer Robinson, MD on May 10, 2015

Today on WebMD

man coughing
You may not even know you have it.
blood clot
Signs of this potentially fatal complication.
man coughing
When a cold becomes bronchitis.
human lungs
Causes behind painful breathing, fluid buildup.

chest x-ray
Bronchitis Overview
Copd Myth Fact Quiz
Energy Boosting Foods

woman coughing
Lung xray and caduceus