
Pneumonia may be contagious for 2-14 days. Usually, the goal of medications given for pneumonia is to limit the spread of the disease. A person with bacterial pneumonia will stop being contagious within two days of taking antibiotics. However, rarely, the treatment may have to be administered for at least two weeks or more before a person is no longer contagious, depending upon which type of bacteria has caused the disease. Individuals with viral pneumonia are less contagious after symptoms have subsided.
Symptoms of pneumonia
Pneumonia is a common but serious lung infection that affects breathing capability in an individual. Pneumonia makes an individual weak because oxygen in the bloodstream decreases. In this infection, the air sacs in the lungs become swollen and fill up with fluid or pus. Pneumonia may be caused by bacteria, a virus, or fungi. The common symptoms of pneumonia include:
How does pneumonia spread?
Usually, patients affected with pneumonia may cough or sneeze, which creates small respiratory droplets that contain the disease-causing organism. Other people may get infected if they breathe in those droplets. Most people who spend a short amount of time with someone who is sick may not get infected. However, the disease often spreads between people who live together because they spend a lot of time together such as schools, college residence halls, military barracks, nursing homes, and hospitals.
What are the different causes of pneumonia?
Bacteria are the most common cause. Several different types of bacteria can cause pneumonia, including:
- Streptococcus pneumoniae
- Legionella pneumophila (often called Legionnaires' disease)
- Mycoplasma pneumoniae
- Chlamydia pneumoniae
- Haemophilus influenzae
Viruses that infect the respiratory tract may cause pneumonia. Viral pneumonia is often mild and goes away on its own within a few weeks but sometimes may become serious and need immediate medical attention. An individual with viral pneumonia is usually also at risk of getting bacterial pneumonia. Different viruses that can cause pneumonia include:
- SARS-CoV-2, the virus that causes COVID-19
- Respiratory syncytial virus (RSV)
- Some common cold and flu viruses
Fungal pneumonia is more common in people who have chronic health problems or weakened immune systems. Some of the types include:
- Pneumocystis pneumonia (PCP)
- Coccidioidomycosis, which causes valley fever
- Histoplasmosis
- Cryptococcus
How is pneumonia treated?
Pneumonia treatment depends on the type of disease-causing germ. It may take time to recover from pneumonia. Some people feel better within a week. For other people, it can take a month or more.
- Antibiotics are considered the treatment of choice for pneumonia because they can treat bacterial pneumonia and some types of fungal pneumonia. However, they may not work for viral pneumonia.
- Antiviral medicines such Tamiflu (oseltamivir) and Relenza (zanamivir) are prescribed for viral pneumonia.
- Antifungal medicines such as Diflucan (fluconazole), Sporanox (itraconazole), Ancobon (flucytosine), and Nizoral (ketoconazole) may be prescribed to treat other types of fungal pneumonia.
- Patients may be treated in a hospital if symptoms are severe or if they are at risk of complications such as a low blood oxygen level. Patients may need oxygen therapy in a few cases.

QUESTION
What is pneumonia? See AnswerHealth Solutions From Our Sponsors
Top How Long Is Pneumonia Contagious? Related Articles
Respiratory Illnesses: 13 Types of Lung Infections
Is your cough caused by a cold, flu, pneumonia or something else? Learn causes of respiratory infection like bronchitis, pneumonia, SARS, Coronavirus COVID-19 bird flu, and more.Fetroja (cefiderocol)
Fetroja (cefiderocol) is an antibiotic used to treat several species of otherwise antibiotic-resistant bacteria. These bacteria can cause complicated urinary tract infections (UTIs) and stubborn hospital-acquired or ventilator-acquired pneumonia.How Do I Know if My Child has Pneumonia?
Pneumonia is a lung infection that affects many children. Learn the signs of pneumonia in children, what causes pneumonia in children, how doctors diagnose pneumonia in children, and what you can do to treat pneumonia in children.Interstitial Lung Disease (Interstitial Pneumonia)
Interstitial lung disease refers to a variety of diseased that thicken the tissue between the lungs' air sacks. Symptoms of interstitial lung disease include shortness of breath, cough, and vascular problems, and their treatment depends on the underlying cause of the tissue thickening. Causes include viruses, bacteria, tobacco smoke, environmental factors, cancer, and heart or kidney failure.Is Pneumonia Contagious?
Pneumonia is inflammation of the lung usually caused by bacterial or viral infection (rarely, also by fungi) that causes the air sacs to fill with pus. If inflammation affects both lungs, the infection is termed double pneumonia. If it affects one lung, it is termed single pneumonia. If it affects only a certain lobe of a lung it's termed lobar pneumonia. Most pneumonias are caused by bacteria and viruses, but some pneumonias are caused by inhaling toxic chemicals that damage lung tissue.Nuzyra (omadacycline)
Nuzyra (omadacycline) is a tetracycline class antibiotic indicated for the treatment of adult patients with the infections caused by susceptible microorganisms, including community-acquired bacterial pneumonia (CABP) and acute bacterial skin and skin structure infections (ABSSSI).Pneumonia
Pneumonia is inflammation of the lungs caused by fungi, bacteria, or viruses. Symptoms and signs include cough, fever, shortness of breath, and chills. Antibiotics treat pneumonia, and the choice of the antibiotic depends upon the cause of the infection.Do I Have Pneumonia Quiz
Pneumonia can be deadly. Take the Pneumonia Quiz on MedicineNet to learn more about this highly contagious, infectious disease.Teflaro (ceftaroline fosamil)
Teflaro (ceftaroline fosamil) is a cephalosporin antibiotic used to treat skin infections or pneumonia caused by bacteria. Common side effects of Teflaro include nausea, vomiting, constipation, diarrhea, dizziness, and itching.Unasyn (ampicillin and sulbactam)
Unasyn is indicated for the treatment of infections due to susceptible strains of the designated microorganisms in conditions such as skin and skin structure infections, intra-abdominal infections, and gynecological infections.Viral pneumonia: Symptoms, Causes And Treatment
Pneumonia is an infection in your lungs that is usually caused by bacteria, viruses or fungi. About 30% of pneumonia cases reported in the United States are viral. Symptoms include dry cough, fever, chills, difficulty breathing, chest pain and rapid breathing.What Are the Side Effects of the Pneumonia Vaccine?
The pneumonia vaccine can help protect against pneumococcal infections. Learn what the pneumonia vaccine is all about, and what to do if you experience side effects.What are the Three Major Causes of Pneumonia?
Pneumonia is a lung infection that affects many people. Learn the signs of pneumonia, what causes it, how doctors diagnose it, and what you can do to treat it.What Is the Most Common Cause of Bronchiectasis?
Bronchiectasis is a chronic lung condition in which the bronchi (tube-like passageways that transfer air within the lungs) get permanently damaged and widened. The most common causes of bronchiectasis are pneumonia, pertussis, tuberculosis and non-tuberculosis mycobacterium.Xenleta (lefamulin)
Xenleta is a semi-synthetic antibacterial agent for oral and intravenous administration. Xenleta is indicated for the treatment of adults with community-acquired bacterial pneumonia (CABP) caused by susceptible microorganisms, including Streptococcus pneumoniae, Staphylococcus aureus (methicillin-susceptible isolates), Haemophilus influenzae, Legionella pneumophila, Mycoplasma pneumoniae, and Chlamydophila pneumoniae.