Our Services
Medical Information
Helpful Resources
Published on: 1/14/2026
Is pneumonia contagious? Yes, but it depends on the cause. Viral pneumonia spreads through respiratory droplets from 1–2 days before symptoms until about a week after onset. Bacterial pneumonia varies: Mycoplasma pneumoniae spreads easily, while Streptococcus pneumoniae rarely passes person to person. Fungal pneumonia is not contagious.
Contagiousness also depends on age, immune status, and treatment. Antibiotics quickly reduce bacterial spread, and hygiene, masks, good ventilation, and vaccination lower transmission risk.
Because pneumonia symptoms overlap with many other respiratory illnesses, identifying the cause early matters. Take a free, instant, online symptom check to better understand your symptoms and confidently navigate your next steps.
Reviewed for medical accuracy: 07/09/2026
Not seeing your question? No worries.
Submit your own QuestionIs Pneumonia Contagious?
Pneumonia is an infection that inflames the air sacs in one or both lungs. These air sacs may fill with fluid or pus, leading to cough with phlegm or pus, fever, chills, and difficulty breathing. A key question many people ask is "is pneumonia contagious?" The answer depends on what's causing it and on individual factors such as age, overall health, and immune status.
Pneumonia can result from several types of pathogens:
Each pathogen has different patterns of spread and levels of contagiousness.
Whether pneumonia is contagious largely hinges on its cause:
Viral Pneumonia
Bacterial Pneumonia
Fungal Pneumonia
Several factors affect whether you catch pneumonia from someone else:
Standard precautions³ are effective in most settings. Key measures include:
Symptoms of pneumonia vary but often include:
If you experience any of the following, seek medical attention immediately:
If you're immunocompromised or concerned you may be experiencing symptoms, you can check if your symptoms match Pneumocystis Pneumonia using Ubie's free AI-powered symptom checker for personalized guidance on next steps.
It's natural to worry about catching pneumonia. Remember:
If you're ever unsure about your symptoms or your risk, speak to a doctor—especially if you have a high-risk condition or notice severe symptoms. Pneumonia can be serious but prompt care and preventive steps can keep you safer and healthier.
¹ Leung NH, et al. Respiratory virus shedding in exhaled breath and efficacy of face masks. Nat Med. 2020;26(5):676–680.
² Tsochatzis EA, Bosch J, Burroughs AK. Liver cirrhosis. Lancet. 2014;383(9930):1749–1761.
³ Siegel JD, Rhinehart E, Jackson M, Chiarello L. Guideline for Isolation Precautions: Preventing Transmission of Infectious Agents in Healthcare Settings. Am J Infect Control. 2007;35(10 Suppl 2):S65–S164.
(References)
Siegel JD, Rhinehart E, Jackson M, & Chiarello L. (2007). Guideline for Isolation Precautions: Preventing Transmiss… Am J Infect Control, 18068815.
Leung NHL, Chu DKW, Shiu EYC, Chan KH, McDevitt JJ, Hau BJP, Yen HL, Li Y, Ip DKM, Peiris JSM, Seto WH, Leung GM, Milton DK, & Cowling BJ. (2020). Respiratory virus shedding in exhaled breath and efficacy of… Nat Med, 32229344.
Tsochatzis EA, Bosch J, & Burroughs AK. (2014). Liver cirrhosis… Lancet, 24723400.
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.