Our Services
Medical Information
Helpful Resources
Published on: 1/21/2026
It depends on the cause: bacterial, viral, and atypical pneumonias can be contagious through respiratory droplets, while fungal pneumonia is usually not spread person to person. Contagious periods vary, such as bacterial often remaining contagious until 24 to 48 hours after starting antibiotics, viral from about a day before symptoms to 5 to 7 days or more, and atypical sometimes for weeks. There are several factors to consider for prevention, risk, symptoms, and when to seek care; see below to understand more.
Pneumonia is an infection of the lungs that can range from mild to life-threatening. Many people wonder whether pneumonia is contagious—and the answer depends on what's causing the infection. This article explains how different types of pneumonia spread, what raises your risk, and steps you can take to protect yourself and others.
Pneumonia can be caused by bacteria, viruses, or atypical organisms (like Mycoplasma). Each type has a different pattern of contagiousness:
Bacterial pneumonia
Viral pneumonia
Atypical pneumonia
Fungal pneumonia
Regardless of the cause, pneumonia generally spreads in the following ways:
People at higher risk of catching contagious forms of pneumonia include:
Common symptoms of pneumonia overlap with those of a bad cold or flu. They include:
Symptoms can appear suddenly or develop over several days. If you or someone you care for experiences any of the following, seek medical help right away:
If you're experiencing respiratory symptoms and want to better understand whether they could be related to pneumonia, try Ubie's free AI-powered pneumonia symptom checker for personalized guidance on your next steps.
According to the Infectious Diseases Society of America/American Thoracic Society guidelines (Mandell et al., 2007), the evaluation of community-acquired pneumonia involves:
Treatment varies by cause:
Many patients can be treated at home if they are stable, able to eat and drink, and have no severe breathing difficulties. Hospitalization may be required for those with:
Reducing the spread of pneumonia involves general infection-control measures:
Studies (Jain et al., 2015) show that hospitalization for community-acquired pneumonia remains common in the U.S. Keeping up with vaccines and good hygiene goes a long way toward lowering your personal and community risk.
Pneumonia can progress rapidly in some individuals. Always contact a healthcare professional if you notice:
If you suspect you or a loved one has pneumonia—especially if breathing becomes difficult—seek medical attention immediately.
(References)
Mandell LA, Wunderink RG, Anzueto A, et al. (2007). Infectious Diseases Society of America/American Thoracic Society consensus guidelines on the management of community-acquired pneumonia in adults. Clin Infect Dis, 17278021.
Jain S, Self WH, Wunderink RG, et al. (2015). Community-acquired pneumonia requiring hospitalization among U.S.… N Engl J Med, 25969717.
Korppi M, Leinonen M, Jokinen C. (1993). Infectivity of Mycoplasma pneumoniae pneumonia in… Pediatr Infect Dis J, 8500989.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.