🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 98 (from laksa001)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
2 months ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH2.2 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://www.healthline.com/health/symptoms-of-lung-infection
Last Crawled2026-02-08 20:48:25 (2 months ago)
First Indexed2019-04-12 16:43:02 (7 years ago)
HTTP Status Code200
Meta TitleLung Infection: Symptoms, Pneumonia, and Causes
Meta DescriptionA lung infection can be caused by bacteria, a virus, or a fungus. Learn the symptoms of different types of lung infections and how doctors treat them.
Meta Canonicalnull
Boilerpipe Text
A lung infection happens when a virus, bacteria, or fungus gets into your lungs and causes inflammation. Lung infections can range from mild to severe and may require medical treatment. A lung infection is exactly what it sounds like: an infection of one or both of your lungs. There are a couple of common types of lung infections. One of the most common lung infections is pneumonia . Pneumonia affects the smaller air sacs of your lungs. It’s most often caused by contagious bacteria but can also be caused by a virus or fungus. You can get pneumonia by breathing in pneumonia-causing bacteria or a virus from someone with pneumonia. This may occur if the person with pneumonia sneezes or coughs. Read on to learn the most common symptoms of a lung infection and what treatment you can expect if you have one. A lung infection can be caused by a virus, bacteria, and sometimes even a fungus. When the large bronchial tubes that carry air to and from your lungs become infected, it’s referred to as bronchitis . Bronchitis is more likely to be caused by a virus than by bacteria. Viruses can also attack your lungs or the air passages that lead to your lungs. This is called bronchiolitis . Viral bronchiolitis most commonly occurs in infants. Lung infections such as pneumonia can range from mild to severe. They may be more severe for people with weakened immune systems or chronic conditions, such as chronic obstructive pulmonary disease (COPD) . The symptoms of a lung infection vary from mild to severe. This depends on several factors, including your age and overall health, and whether the infection is caused by a virus, bacteria, or fungus . The symptoms may be similar to those of a cold or flu, but they tend to last longer. If you have a lung infection, here are the most common symptoms to expect: Cough that produces thick mucus Coughing helps to rid your body of the mucus produced from inflammation of your airways and lungs. This mucus may also contain blood. With bronchitis or pneumonia, you may have a cough that produces thick mucus that may have a distinct color, including: clear white green yellowish gray A cough can linger for several weeks even after other symptoms have improved. Stabbing chest pains Chest pain caused by a lung infection is often described as sharp or stabbing. The chest pain tends to worsen while coughing or breathing deeply. Sometimes sharp pains can be felt in your mid to upper back. Fever A fever occurs as your body tries to fight off the infection. Your normal body temperature is typically around 98.6°F (37°C). If you have a bacterial lung infection, your fever may rise as high as a dangerous 105°F (40.5°C). Any high fever above 102°F (38.9°C) often results in many other symptoms, such as: sweating chills muscle aches dehydration headache weakness You should see a doctor or healthcare professional if your fever goes above 102°F (38.9°C) or if it lasts more than 3 days. Body aches Your muscles and back may ache when you have a lung infection. This is called myalgia. Sometimes you can develop inflammation in your muscles. This can also lead to body and muscle aches when you have an infection. Runny nose A runny nose and other flu-like symptoms, such as sneezing, often accompany a lung infection such as bronchitis. Shortness of breath Shortness of breath means that you feel like breathing is difficult or that you can’t breathe in completely. You should see a doctor right away if you’re having trouble breathing. Fatigue You’ll usually feel sluggish and tired as your body fights off an infection. Rest is crucial during this time. Wheezing When you exhale, you might hear a high-pitched whistling sound known as wheezing. This results from narrowed airways or inflammation. Bluish appearance of your skin or lips Your lips or nails may start to appear slightly blue in color due to a lack of oxygen. Crackling or rattling sounds in your lungs One of the telltale signs of a lung infection is a crackling sound in the base of the lungs, also known as bibasilar crackles . A doctor can hear these sounds using a tool called a stethoscope. Viruses or bacteria tend to cause lung infections. Common types of lung infections may include: pneumonia bronchitis bronchiolitis More rarely, a fungal infection may also cause lung infections. These fungi may include: Pneumocystis jirovecii Aspergillus Histoplasma capsulatum Certain fungal lung infections occur more commonly in people who are immunosuppressed, either from certain types of cancer or HIV or from taking immunosuppressive medications. This can include pneumocystis pneumonia. But other endemic fungal infections such as pulmonary coccidioidomycosis (valley fever) can affect anyone. They’re contracted by breathing in spores that are commonly found in the soil in the deserts of the Southwestern United States and in Central and South America. Pneumonia Pneumonia is a common lung infection. It affects the air sacs of your lungs. This infection can impact anyone at any age, and it can be caused by viruses, bacteria, or fungi. bacteria such as Streptococcus pneumonia (most common), Haemophilus influenzae , and Mycoplasma pneumoniae viruses such as the influenza virus or respiratory syncytial virus (RSV) or severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the virus that causes coronavirus disease 19 (COVID-19) Doctors also use three different terms to classify pneumonia. They help doctors consider whether people are at risk of drug-resistant pathogens . They include: Community-acquired pneumonia: If someone developed pneumonia from work or a social event, they probably have community-acquired pneumonia. Healthcare-associated pneumonia: This type occurs when someone develops pneumonia during or after a recent hospital stay. Ventilator-associated pneumonia: When someone develops pneumonia after being on a ventilator, this is classified as ventilator-associated pneumonia. Vaccines may help protect you from certain types of pneumonia. If you have pneumonia, a doctor can help determine a treatment plan. Multiple treatment options can help resolve pneumonia, depending on the cause. Bronchitis Bronchitis occurs when your bronchial tubes become inflamed. These tubes deliver air into your lungs. Bronchitis is usually caused by viral illnesses rather than bacterial infections. But bacterial infections can also cause bronchitis. Causes of bronchitis can include: the influenza virus RSV bacteria such as: Mycoplasma pneumoniae Chlamydia pneumoniae Bordetella pertussis Bronchiolitis Bronchiolitis occurs when the smallest air passages in your lungs called bronchioles become inflamed. This can cause coughing and difficulty breathing. RSV is the most common cause of bronchiolitis. But it can be caused by other viruses. It’s more common in children. A doctor or healthcare professional will ask you about your medical history and symptoms. They may ask questions about your job, recent travel, or exposure to animals. A doctor will measure your temperature and listen to your chest with a stethoscope to check for crackling sounds. Common ways to diagnose a lung infection can include: imaging, such as a chest X-ray or CT scan spirometry, a tool that measures how much and how quickly you take in air with each breath pulse oximetry to measure the level of oxygen in your blood taking a sample of mucus or nasal discharge for further testing throat swab complete blood count blood culture A bacterial infection usually requires antibiotics to clear it up. A fungal lung infection may require treatment with an antifungal medication , such as ketoconazole or voriconazole. Antibiotics won’t work on viral infections. Most of the time, you’ll have to wait until your body fights off the infection on its own. In the meantime, you can help your body fight off the infection and make yourself more comfortable with the following home care remedies: take acetaminophen or ibuprofen to lower your fever drink lots of water try hot tea with honey or ginger gargle salt water rest as much as possible use a humidifier to create moisture in the air take any prescribed antibiotic until it’s gone For more severe lung infections, you may need to stay at a hospital during your recovery. During your stay, you may receive antibiotics, intravenous (IV) fluids, and respiratory therapy if you’re having difficulty breathing. Lung infections can be serious if not treated. In general, you may want to see a doctor if your cough lasts more than 3 weeks or you’re having trouble breathing. You can book an appointment with a doctor in your area using our Healthline FindCare tool . A fever can mean different things depending on your age. In general, you should follow these guidelines: Infants See a doctor if your infant is: younger than 3 months, with a temperature above 100.4°F (38°C) between 3 and 6 months, with a fever above 102°F (38.9°C) and seems unusually irritable, sluggish, or uncomfortable between 6 and 24 months, with a fever above 102°F (38.9°C) for more than 24 hours Children See a doctor if your child: has a fever above 102.2°F (38.9°C) is restless or irritable, vomits repeatedly, or has a severe headache has had a fever for more than 3 days has a serious medical illness or a compromised immune system has recently been to a developing country Adults You should make an appointment to see a doctor if you: have a body temperature above 103°F (39.4°C) have had a fever for more than 3 days have a serious medical illness or a compromised immune system have recently been to a developing country You should also get emergency treatment at the nearest emergency room or call 911 or local emergency services if a fever is accompanied by any of the following symptoms: mental confusion trouble breathing stiff neck chest pain seizures persistent vomiting unusual skin rash hallucinations inconsolable crying in children If you have a weakened immune system and develop a fever, shortness of breath, or a cough that brings up blood, get emergency medical care right away. Not all lung infections can be prevented, but you can minimize your risk with the following tips: wash your hands regularly avoid touching your face or mouth avoid sharing utensils, food, or drinks with other people avoid being in crowded places where a virus can be easily spread avoid smoking tobacco, or consider quitting smoking if you smoke get a flu shot every year to prevent influenza infection get vaccinated for COVID-19 (please note some vaccines may still be under emergency use authorization for certain groups) For those at greater risk, the best way to prevent bacterial pneumonia from the most common strains of bacteria is either the PCV13 pneumococcal conjugate vaccine or PPSV23 pneumococcal polysaccharide vaccine. Healthcare professionals recommend these vaccines for: infants older adults people who smoke those with chronic health conditions A lung infection causes symptoms similar to the cold or flu but may be more severe and typically last longer. Your immune system will typically be able to clear a viral lung infection over time. Antibiotics are used to treat bacterial lung infections. See a doctor right away if you have: difficulty breathing a bluish color in your lips or fingertips severe chest pain a high fever cough with mucus that’s getting worse People older than 65 years of age, children younger than 2 years of age, and people with chronic health conditions or a compromised immune system should get medical treatment right away if they experience any symptoms of a lung infection.
Markdown
- Health Conditions ### Health Conditions [All](https://www.healthline.com/directory/topics) - [Breast Cancer](https://www.healthline.com/breast-cancer) - [Cancer Care](https://www.healthline.com/cancer-care) - [Caregiving for Alzheimer's Disease](https://www.healthline.com/alzheimers-disease) - [Chronic Kidney Disease](https://www.healthline.com/ckd) - [Chronic Obstructive Pulmonary Disease (COPD)](https://www.healthline.com/copd) - [Digestive Health](https://www.healthline.com/digestive-health) - [Eye Health](https://www.healthline.com/eye-health) - [Heart Health](https://www.healthline.com/heart-health) - [Menopause](https://www.healthline.com/menopause) - [Mental Health](https://www.healthline.com/mental-health) - [Migraine](https://www.healthline.com/migraine) - [Multiple Sclerosis (MS)](https://www.healthline.com/multiple-sclerosis) - [Parkinson’s Disease](https://www.healthline.com/parkinsons-disease) - [Psoriasis](https://www.healthline.com/psoriasis) - [Rheumatoid Arthritis (RA)](https://www.healthline.com/rheumatoid-arthritis) - [Sleep Health](https://www.healthline.com/sleep) - [Type 2 Diabetes](https://www.healthline.com/type-2-diabetes) - [Weight Management](https://www.healthline.com/weight-management) ### Condition Spotlight [All](https://www.healthline.com/sponsored-topics) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons-_controlling-ulcerative-colitis-236x236_360.png) Controlling Ulcerative Colitis](https://www.healthline.com/program/controlling-uc) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons_navigating-life-with-biopolar-236x236-1.png) Navigating Life with Bipolar Disorder](https://www.healthline.com/program/navigating-life-with-bipolar-disorder) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons-_mastering-your-geographic-atrophy-236x236_360.png) Mastering Geographic Atrophy](https://www.healthline.com/program/mastering-your-geographic-atrophy-care) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons_managing-type-2-diabetes-236x236-1.png) Managing Type 2 Diabetes](https://www.healthline.com/program/managing-type-2-diabetes-with-food-and-fitness) - Wellness ### Wellness Topics [All](https://www.healthline.com/wellness) - [CBD](https://www.healthline.com/cbd) - [Fitness](https://www.healthline.com/fitness) - [Healthy Aging](https://www.healthline.com/healthy-aging) - [Hearing](https://www.healthline.com/hearing-health) - [Mental Well-Being](https://www.healthline.com/mental-health) - [Nutrition](https://www.healthline.com/nutrition) - [Parenthood](https://www.healthline.com/parenthood) - [Recipes](https://www.healthline.com/recipes) - [Sexual Health](https://www.healthline.com/sexual-health) - [Skin Care](https://www.healthline.com/skincare) - [Sleep Health](https://www.healthline.com/sleep) - [Vitamins and Supplements](https://www.healthline.com/vitamins-supplements) - [Women's Wellness](https://www.healthline.com/program/womens-wellness) ### Product Reviews [All](https://www.healthline.com/reviews) - [At-Home Testing](https://www.healthline.com/reviews/at-home-tests) - [Men's Health](https://www.healthline.com/reviews/mens-health-products) - [Mental Health](https://www.healthline.com/reviews/mental-health-services-and-products) - [Nutrition](https://www.healthline.com/reviews/nutrition-products) - [Sleep](https://www.healthline.com/reviews/sleep-products) - [Vitamins and Supplements](https://www.healthline.com/reviews/vitamin-and-supplement-products) - [Women's Health](https://www.healthline.com/reviews/womens-health-products) ### Featured Programs [All](https://www.healthline.com/sponsored-topics) - [![](https://media.post.rvohealth.io/wp-content/uploads/2025/02/HL_Dexcom-Stelo_Key-Art_Circular-Thumbnail_236x236.png) Your Guide to Glucose Health](https://www.healthline.com/program/your-guide-to-glucose-health) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons-_understanding-inflammation-and-aging-236x236_360.png) Inflammation and Aging](https://www.healthline.com/program/understanding-inflammation-and-aging) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons-_cold-and-flu-236x236_360.png) Cold & Flu Season Survival Guide](https://www.healthline.com/program/cold-flu-survival-guide) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/navigation-icons_shes-good-for-real-236x236-1.png) She’s Good for Real](https://www.healthline.com/program/shes-good-for-real) - Tools ### Featured - [Video Series](https://www.healthline.com/video) - [Pill Identifier](https://www.healthline.com/pill-identifier) - [FindCare](https://care.healthline.com/find-care) - [Drugs A-Z](https://www.healthline.com/drugs) - [Medicare Plans by State](https://www.healthline.com/about/health-medicare-state-coverage) ### Lessons [All](https://learn.healthline.com/) - [Crohn’s and Ulcerative Colitis Essentials](https://www.healthline.com/app/inflammatory-bowel-disease?utm_source=lessonshome) - [Diabetes Nutrition](https://www.healthline.com/app/type-2-diabetes?utm_source=lessonshome) - [High Cholesterol](https://www.healthline.com/app/high-cholesterol?utm_source=lessonshome) - [Taming Inflammation in Psoriasis](https://www.healthline.com/app/pso-inflammation?utm_source=lessonshome) - [Taming Inflammation in Psoriatic Arthritis](https://www.healthline.com/app/psa-inflammation?utm_source=lessonshome) ### Newsletters [All](https://www.healthline.com/newsletter-signup) - [Anxiety and Depression](https://www.healthline.com/newsletter-signup/anxiety-and-depression) - [Digestive Health](https://www.healthline.com/newsletter-signup/ibd) - [Heart Health](https://www.healthline.com/newsletter-signup/heart-health) - [Migraine](https://www.healthline.com/newsletter-signup/migraine) - [Nutrition Edition](https://www.healthline.com/newsletter-signup/nutrition) - [Type 2 Diabetes](https://www.healthline.com/newsletter-signup/type-2-diabetes) - [Wellness Wire](https://www.healthline.com/newsletter-signup/wellness-wire) ### Lifestyle Quizzes - [Find a Diet](https://activation.healthline.com/assessment/assessment/diets/prompt/1?v=1&tc=120226&subid=hl_dietfinder_1_) - [Find Healthy Snacks](https://activation.healthline.com/assessment/assessment/pregnancy-snacks/prompt/1?v=1) - [Weight Management](https://www.healthline.com/nutrition/weight-management-quiz) - [How Well Do You Sleep?](https://www.healthline.com/health/healthy-sleep/quiz-how-well-do-you-sleep#1) - [Are You a Workaholic?](https://www.healthline.com/health/mental-health/quiz-are-you-a-workaholic#quiz-are-you-a-workaholic) - Featured ### Health News [All](https://www.healthline.com/health-news) - [Medicare 2026 Changes](https://www.healthline.com/health-news/medicare-open-enrollment-2026-key-changes) - [Can 6-6-6 Walking Workout Help You Lose Weight?](https://www.healthline.com/health-news/666-walking-trend-weight-loss) - [This Couple Lost 118 Pounds Together Without Medication](https://www.healthline.com/health-news/married-couple-loses-119-pounds-together-without-meds) - [5 Science-Backed Ways to Live a Longer Life](https://www.healthline.com/health-news/healthy-ways-to-improve-longevity) - [Morning Coffee May Help You Live Longer](https://www.healthline.com/health-news/morning-coffee-heart-health-benefits) ### This Just In - [5 Tips for a Healthy Lifestyle](https://www.healthline.com/health/fitness-nutrition/healthy-lifestyle-benefits) - [How to Disinfect Your House After the Flu](https://www.healthline.com/health/flu/how-to-disinfect-house-after-flu) - [Best Vegan and Plant-Based Meal Delivery for 2025](https://www.healthline.com/nutrition/plant-based-meal-delivery) - [Does Medicare Cover Pneumonia Shots?](https://www.healthline.com/health/medicare/does-medicare-cover-pneumonia-shots) - [Chromosomes, Genetics, and Your Health](https://www.healthline.com/health/chromosomes-and-genetics) ### Top Reads - [Best Multivitamins for Women](https://www.healthline.com/nutrition/multivitamins-womens-health) - [Best Multivitamins for Men](https://www.healthline.com/nutrition/best-multivitamins-for-men) - [Best Online Therapy Services](https://www.healthline.com/health/our-top-10-online-therapy-picks) - [Online Therapy That Takes Insurance](https://www.healthline.com/health/mental-health/online-therapy-that-takes-insurance) - [Buy Ozempic Online](https://www.healthline.com/nutrition/buy-ozempic-online) - [Mounjaro Overview](https://www.healthline.com/health/drugs/mounjaro) ### Video Series - [Youth in Focus](https://www.healthline.com/health/video/youth-in-focus) - [Healthy Harvest](https://www.healthline.com/health/nutrition/video/healthy-harvest#1) - [Through an Artist's Eye](https://www.healthline.com/health/breast-cancer/metastatic-breast-cancer-artist-eye) - [Future of Health](https://www.healthline.com/health/video/future-of-health) - Connect ### Find Your Bezzy Community Bezzy communities provide meaningful connections with others living with chronic conditions. Join Bezzy on the web or mobile app. [All](https://www.bezzy.com/?utm_source=healthline&utm_medium=nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2022/01/Bezzy-Breast-Cancer.png) Breast Cancer](https://www.bezzybc.com/lp/2/?utm_source=healthline&utm_medium=hl-nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2022/01/Bezzy-Multiple-Sclerosis.png) Multiple Sclerosis](https://www.bezzyms.com/?utm_source=healthline&utm_medium=hl-nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/11/Bezzy-DEP-Icon-Circle.png) Depression](https://www.bezzydepression.com/?utm_source=healthline&utm_medium=hl-nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2025/01/Bezzy-MIG-Icon-Circle.png) Migraine](https://www.bezzymigraine.com/?utm_source=healthline&utm_medium=hl-nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2024/12/Bezzy-T2D-Icon-Circle.png) Type 2 Diabetes](https://www.bezzyt2d.com/?utm_source=healthline&utm_medium=hl-nav-bar-connections) - [![](https://media.post.rvohealth.io/wp-content/uploads/2022/04/Bezzy-PsO.png) Psoriasis](https://www.bezzypsoriasis.com/?utm_source=healthline&utm_medium=hl-nav-bar-connections) ### Follow us on social media Can't get enough? Connect with us for all things health. Subscribe [Skin Care](https://www.healthline.com/skincare) - [Your Skin](https://www.healthline.com/skincare/skin-youre-in) - [Science](https://www.healthline.com/skincare/skin-science) - [Ingredients](https://www.healthline.com/skincare/ingredients) - [Routine](https://www.healthline.com/skincare/build-your-routine) - [Acne](https://www.healthline.com/skincare/acne) - [Conditions](https://www.healthline.com/skincare/conditions-and-concerns) - [Procedures](https://www.healthline.com/skincare/procedures) - [Products](https://www.healthline.com/skincare/products) - [Sun Protection](https://www.healthline.com/skincare/sun-protection) - [Natural](https://www.healthline.com/skincare/natural-and-diy) - [Hair & Nails](https://www.healthline.com/skincare/hair-and-nails) # 10 Symptoms of a Lung Infection ![](https://i0.wp.com/post.healthline.com/wp-content/uploads/2022/01/Adithya-Cattamanchi-500x500-Bio.png?w=105&h=105) [Medically reviewed]() by [Adithya Cattamanchi, M.D.]() — Written by [Jacquelyn Cafasso]() — [Updated on December 8, 2022]() - [Definition](https://www.healthline.com/health/symptoms-of-lung-infection#definition) - [Symptoms](https://www.healthline.com/health/symptoms-of-lung-infection#symptoms) - [Causes](https://www.healthline.com/health/symptoms-of-lung-infection#causes) - [Diagnosis](https://www.healthline.com/health/symptoms-of-lung-infection#diagnosis) - [Treatments](https://www.healthline.com/health/symptoms-of-lung-infection#treatments) - [When to see a doctor](https://www.healthline.com/health/symptoms-of-lung-infection#when-to-see-a-doctor) - [Prevention](https://www.healthline.com/health/symptoms-of-lung-infection#prevention) - [Takeaway](https://www.healthline.com/health/symptoms-of-lung-infection#takeaway) A lung infection happens when a virus, bacteria, or fungus gets into your lungs and causes inflammation. Lung infections can range from mild to severe and may require medical treatment. A lung infection is exactly what it sounds like: an infection of one or both of your lungs. There are a couple of common types of lung infections. One of the most common lung infections is [pneumonia](https://www.healthline.com/health/pneumonia). Pneumonia affects the smaller air sacs of your lungs. It’s most often caused by contagious [bacteria](https://www.healthline.com/health/bacterial-pneumonia) but can also be caused by a virus or fungus. You can get pneumonia by breathing in pneumonia-causing bacteria or a virus from someone with pneumonia. This may occur if the person with pneumonia sneezes or coughs. Read on to learn the most common symptoms of a lung infection and what treatment you can expect if you have one. ## [What is a lung infection?]() A lung infection can be caused by a virus, bacteria, and sometimes even a fungus. When the large bronchial tubes that carry air to and from your lungs become infected, it’s referred to as [bronchitis](https://www.healthline.com/health/bronchitis). Bronchitis is more likely to be caused by a virus than by bacteria. Viruses can also attack your lungs or the air passages that lead to your lungs. This is called [bronchiolitis](https://www.healthline.com/health/bronchiolitis). Viral bronchiolitis most commonly occurs in infants. Lung infections such as pneumonia can range from mild to severe. They may be more severe for people with weakened immune systems or chronic conditions, such as [chronic obstructive pulmonary disease (COPD)](https://www.healthline.com/health/copd). ## [Symptoms]() The symptoms of a lung infection vary from mild to severe. This depends on several factors, including your age and overall health, and whether the infection is caused by a virus, bacteria, or [fungus](https://www.healthline.com/health/fungal-infection). The symptoms may be similar to those of a cold or flu, but they tend to last longer. If you have a lung infection, here are the most common symptoms to expect: ### Cough that produces thick mucus Coughing helps to rid your body of the mucus produced from inflammation of your airways and lungs. This mucus may also contain blood. With bronchitis or pneumonia, you may have a cough that produces thick mucus that may have a distinct color, including: - clear - white - green - yellowish gray A cough can linger for several weeks even after other symptoms have improved. ### Stabbing chest pains [Chest pain](https://www.healthline.com/health/chest-pain) caused by a lung infection is often described as sharp or stabbing. The chest pain tends to worsen while coughing or breathing deeply. Sometimes sharp pains can be felt in your mid to upper back. ### Fever A [fever](http://healthline.com/symptom/fever) occurs as your body tries to fight off the infection. Your normal body temperature is typically around 98.6°F (37°C). If you have a bacterial lung infection, your fever may rise as high as a dangerous 105°F (40.5°C). Any high fever above 102°F (38.9°C) often results in many other symptoms, such as: - sweating - [chills](https://www.healthline.com/health/chills) - muscle aches - dehydration - [headache](https://www.healthline.com/health/headache) - weakness You should see a doctor or healthcare professional if your fever goes above 102°F (38.9°C) or if it lasts more than 3 days. ### Body aches Your muscles and back may ache when you have a lung infection. This is called myalgia. Sometimes you can develop inflammation in your muscles. This can also lead to body and [muscle aches](https://www.healthline.com/health/muscle-aches) when you have an infection. ### Runny nose A runny nose and other flu-like symptoms, such as sneezing, often accompany a lung infection such as bronchitis. ### Shortness of breath [Shortness of breath](https://www.healthline.com/health/what-does-shortness-of-breath-feel-like) means that you feel like breathing is difficult or that you can’t breathe in completely. You should see a doctor right away if you’re having trouble breathing. ### Fatigue You’ll usually feel sluggish and tired as your body fights off an infection. Rest is crucial during this time. ### Wheezing When you exhale, you might hear a high-pitched whistling sound known as wheezing. This results from narrowed airways or inflammation. ### Bluish appearance of your skin or lips Your lips or nails may start to appear slightly blue in color due to a lack of oxygen. ### Crackling or rattling sounds in your lungs One of the telltale signs of a lung infection is a crackling sound in the base of the lungs, also known as [bibasilar crackles](https://www.healthline.com/health/bibasilar-crackles). A doctor can hear these sounds using a tool called a stethoscope. ## [Causes]() Viruses or bacteria tend to cause lung infections. Common types of lung infections may include: - pneumonia - bronchitis - bronchiolitis More rarely, a fungal infection may also cause lung infections. These fungi may include: - *Pneumocystis jirovecii* - *[Aspergillus](https://www.healthline.com/health/aspergillosis)* - *[Histoplasma capsulatum](https://www.healthline.com/health/histoplasmosis)* Certain fungal lung infections occur more commonly in people who are immunosuppressed, either from certain types of cancer or HIV or from taking immunosuppressive medications. This can include pneumocystis pneumonia. But other endemic fungal infections such as pulmonary coccidioidomycosis (valley fever) can affect anyone. They’re contracted by breathing in spores that are commonly found in the soil in the deserts of the Southwestern United States and in Central and South America. ### Pneumonia Pneumonia is a common lung infection. It affects the air sacs of your lungs. This infection can impact anyone at any age, and it can be caused by viruses, bacteria, or fungi. Common causes of pneumonia [can include](https://www.cdc.gov/pneumonia/causes.html): - bacteria such as *Streptococcus pneumonia* (most common), *Haemophilus influenzae*, and *[Mycoplasma pneumoniae](https://www.healthline.com/health/mycoplasma-pneumonia)* - viruses such as the influenza virus or [respiratory syncytial virus (RSV)](https://www.healthline.com/health/rsv-test) or severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the virus that causes [coronavirus disease 19 (COVID-19)](https://www.healthline.com/health/coronavirus-pneumonia) Doctors also use three different terms to classify pneumonia. They help doctors consider whether people are at risk of [drug-resistant pathogens](https://www.healthline.com/health/antibiotics/antibiotic-resistance). They include: - **Community-acquired pneumonia:** If someone developed pneumonia from work or a social event, they probably have community-acquired pneumonia. - **Healthcare-associated pneumonia:** This type occurs when someone develops pneumonia during or after a recent hospital stay. - **Ventilator-associated pneumonia:** When someone develops pneumonia after being on a ventilator, this is classified as ventilator-associated pneumonia. Vaccines may help protect you from certain types of pneumonia. If you have pneumonia, a doctor can help determine a treatment plan. Multiple treatment options can help resolve pneumonia, depending on the cause. ### Bronchitis [Bronchitis](https://www.healthline.com/health/bronchitis) occurs when your bronchial tubes become inflamed. These tubes deliver air into your lungs. Bronchitis is usually caused by viral illnesses rather than bacterial infections. But bacterial infections can also cause bronchitis. Causes of bronchitis can include: - the [influenza](https://www.healthline.com/health/cold-flu/flu) virus - [RSV](https://www.healthline.com/health/respiratory-syncytial-virus-rsv) - bacteria such as: - *Mycoplasma pneumoniae* - *Chlamydia pneumoniae* - *Bordetella pertussis* ### Bronchiolitis [Bronchiolitis](https://www.healthline.com/health/bronchiolitis) occurs when the smallest air passages in your lungs called bronchioles become inflamed. This can cause coughing and difficulty breathing. RSV is the most common cause of bronchiolitis. But it can be caused by other viruses. It’s more common in children. ## [Diagnosis]() A doctor or healthcare professional will ask you about your medical history and symptoms. They may ask questions about your job, recent travel, or exposure to animals. A doctor will measure your temperature and listen to your chest with a stethoscope to check for crackling sounds. Common ways to diagnose a lung infection can include: - imaging, such as a [chest X-ray](https://www.healthline.com/health/chest-x-ray) or [CT scan](https://www.healthline.com/health/ct-scan) - spirometry, a tool that measures how much and how quickly you take in air with each breath - [pulse oximetry](https://www.healthline.com/health/pulse-oximetry) to measure the level of oxygen in your blood - taking a sample of mucus or nasal discharge for further testing - [throat swab](https://www.healthline.com/health/throat-swab-culture) - complete blood count - [blood culture](https://www.healthline.com/health/blood-culture) ## [Treatments]() A bacterial infection usually requires antibiotics to clear it up. A fungal lung infection may require treatment with an [antifungal medication](https://www.healthline.com/health/fungal-infection/antifungal), such as ketoconazole or voriconazole. Antibiotics won’t work on viral infections. Most of the time, you’ll have to wait until your body fights off the infection on its own. In the meantime, you can help your body fight off the infection and make yourself more comfortable with the following home care remedies: - take acetaminophen or ibuprofen to lower your fever - drink lots of water - try hot tea with honey or ginger - gargle salt water - rest as much as possible - use a humidifier to create moisture in the air - take any prescribed antibiotic until it’s gone For more severe lung infections, you may need to stay at a hospital during your recovery. During your stay, you may receive antibiotics, intravenous (IV) fluids, and [respiratory therapy](https://www.healthline.com/health/what-is-a-respiratory-therapist) if you’re having difficulty breathing. ## [When to see a doctor]() Lung infections can be serious if not treated. In general, you may want to see a doctor if your cough lasts more than 3 weeks or you’re having trouble breathing. You can book an appointment with a doctor in your area using our [Healthline FindCare tool](https://www.healthline.com/find-care). A fever can mean different things depending on your age. In general, you should follow these guidelines: ### Infants See a doctor if your infant is: - younger than 3 months, with a temperature above 100.4°F (38°C) - between 3 and 6 months, with a fever above 102°F (38.9°C) and seems unusually irritable, sluggish, or uncomfortable - between 6 and 24 months, with a fever above 102°F (38.9°C) for more than 24 hours ### Children See a doctor if your child: - has a fever above 102.2°F (38.9°C) - is restless or irritable, vomits repeatedly, or has a severe headache - has had a fever for more than 3 days - has a serious medical illness or a compromised immune system - has recently been to a developing country ### Adults You should make an appointment to see a doctor if you: - have a body temperature above 103°F (39.4°C) - have had a fever for more than 3 days - have a serious medical illness or a compromised immune system - have recently been to a developing country You should also get emergency treatment at the nearest emergency room or call 911 or local emergency services if a fever is accompanied by any of the following symptoms: - mental confusion - trouble breathing - stiff neck - chest pain - seizures - persistent vomiting - unusual skin rash - hallucinations - inconsolable crying in children If you have a weakened immune system and develop a fever, shortness of breath, or a cough that brings up blood, get emergency medical care right away. ## [Prevention]() Not all lung infections can be prevented, but you can minimize your risk with the following tips: - wash your hands regularly - avoid touching your face or mouth - avoid sharing utensils, food, or drinks with other people - avoid being in crowded places where a virus can be easily spread - avoid smoking tobacco, or consider quitting smoking if you smoke - get a flu shot every year to prevent influenza infection - get vaccinated for COVID-19 (please note some vaccines may still be under emergency use authorization for certain groups) For those at greater risk, the best way to prevent bacterial pneumonia from the most common strains of bacteria is either the PCV13 pneumococcal conjugate vaccine or PPSV23 pneumococcal polysaccharide vaccine. Healthcare professionals [recommend](https://www.cdc.gov/pneumonia/prevention.html) these vaccines for: - infants - older adults - people who smoke - those with chronic health conditions ## [The bottom line]() A lung infection causes symptoms similar to the cold or flu but may be more severe and typically last longer. Your immune system will typically be able to clear a viral lung infection over time. Antibiotics are used to treat bacterial lung infections. See a doctor right away if you have: - difficulty breathing - a bluish color in your lips or fingertips - severe chest pain - a high fever - cough with mucus that’s getting worse People older than 65 years of age, children younger than 2 years of age, and people with chronic health conditions or a compromised immune system should get medical treatment right away if they experience any symptoms of a lung infection. ### How we reviewed this article: Sources History Healthline has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions, and medical journals and associations. We only use quality, credible sources to ensure content accuracy and integrity. You can learn more about how we ensure our content is accurate and current by reading our [editorial policy](https://www.healthline.com/about/process). - Bronchitis. (n.d.). <https://www.nhlbi.nih.gov/health-topics/bronchitis> - Causes of pneumonia. (2022). <https://www.cdc.gov/pneumonia/causes.html> - Chest infections. (2020). <https://www.nhs.uk/conditions/chest-infection/> - Definitions of symptoms for reportable illnesses. (2017). <https://www.cdc.gov/quarantine/air/reporting-deaths-illness/definitions-symptoms-reportable-illnesses.html> - Pneumococcal vaccination. (2022). <https://www.cdc.gov/vaccines/vpd/pneumo/index.html> - Pneumonia. (2022). <https://www.cdc.gov/pneumonia/index.html> - Pneumonia. (2022). <https://www.lung.org/lung-health-and-diseases/lung-disease-lookup/pneumonia/> - Pneumonia can be prevented — Vaccines can help. (2022). <https://www.cdc.gov/pneumonia/prevention.html> Share this article ![](https://i0.wp.com/post.healthline.com/wp-content/uploads/2022/01/Adithya-Cattamanchi-500x500-Bio.png?w=105&h=105) [Medically reviewed]() by [Adithya Cattamanchi, M.D.]() — Written by [Jacquelyn Cafasso]() — [Updated on December 8, 2022]() ## related stories - [Bacterial Pneumonia: Symptoms, Treatment, and Prevention](https://www.healthline.com/health/bacterial-pneumonia?utm_source=ReadNext) - [Overview of Bronchiolitis](https://www.healthline.com/health/bronchiolitis?utm_source=ReadNext) - [Pediatricians Release Child Vaccine Recommendations That Break With CDC](https://www.healthline.com/health-news/aap-child-vaccine-recommendations-break-with-cdc?utm_source=ReadNext) - [Pediatricians, Major Medical Groups Ignore RFK Jr.’s New Vaccine Schedule](https://www.healthline.com/health-news/doctors-pediatricians-ignoring-new-vaccine-guidelines?utm_source=ReadNext) - [U.S. May Lose Measles-Free Status Amid Outbreaks in South Carolina, Other States](https://www.healthline.com/health-news/us-measles-outbreak-2026?utm_source=ReadNext) ### Read this next - [Bacterial Pneumonia: Symptoms, Treatment, and Prevention](https://www.healthline.com/health/bacterial-pneumonia?utm_source=ReadNext) Medically reviewed by [Debra Sullivan, Ph.D., MSN, R.N., CNE, COI](https://www.healthline.com/medical-team) [How is bacterial pneumonia different from viral? What's the best way to treat pneumonia and prevent it from reoccurring?](https://www.healthline.com/health/bacterial-pneumonia?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health/bacterial-pneumonia?utm_source=ReadNext) - [Overview of Bronchiolitis](https://www.healthline.com/health/bronchiolitis?utm_source=ReadNext) Medically reviewed by [E. Mimi Arquilla, DO](https://www.healthline.com/medical-team) [READ MORE](https://www.healthline.com/health/bronchiolitis?utm_source=ReadNext) - [Pediatricians Release Child Vaccine Recommendations That Break With CDC](https://www.healthline.com/health-news/aap-child-vaccine-recommendations-break-with-cdc?utm_source=ReadNext) [The American Academy of Pediatrics has released new vaccine guidance, counteracting that of the CDC.](https://www.healthline.com/health-news/aap-child-vaccine-recommendations-break-with-cdc?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/aap-child-vaccine-recommendations-break-with-cdc?utm_source=ReadNext) - [Pediatricians, Major Medical Groups Ignore RFK Jr.’s New Vaccine Schedule](https://www.healthline.com/health-news/doctors-pediatricians-ignoring-new-vaccine-guidelines?utm_source=ReadNext) [Pediatric medical professionals are pushing back against new CDC recommendations that implemented major changes to the childhood immunization schedule.](https://www.healthline.com/health-news/doctors-pediatricians-ignoring-new-vaccine-guidelines?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/doctors-pediatricians-ignoring-new-vaccine-guidelines?utm_source=ReadNext) - [U.S. May Lose Measles-Free Status Amid Outbreaks in South Carolina, Other States](https://www.healthline.com/health-news/us-measles-outbreak-2026?utm_source=ReadNext) [The U.S. may lose its measles-free status, which it has held since 2000. Experts say vaccine hesitancy may be fueling measles outbreaks, most recently…](https://www.healthline.com/health-news/us-measles-outbreak-2026?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/us-measles-outbreak-2026?utm_source=ReadNext) - [HHS Overhauls Childhood Vaccine Schedule, Recommending Fewer Shots](https://www.healthline.com/health-news/new-cdc-childhood-vaccination-guidelines?utm_source=ReadNext) [New CDC childhood vaccination guidelines reduce the number of primarily targeted diseases from 16 to what the Department of Health and Human Services…](https://www.healthline.com/health-news/new-cdc-childhood-vaccination-guidelines?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/new-cdc-childhood-vaccination-guidelines?utm_source=ReadNext) - [Drugstore Nasal Spray May Cut COVID-19 Risk by 69%, Cold Risk by 71%](https://www.healthline.com/health-news/common-nasal-spray-may-prevent-covid-19-study?utm_source=ReadNext) [Researchers say people using a common allergy nasal spray, azelastine, were 69% less likely to contract COVID-19. Participants in the trial were…](https://www.healthline.com/health-news/common-nasal-spray-may-prevent-covid-19-study?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/common-nasal-spray-may-prevent-covid-19-study?utm_source=ReadNext) - [CDC Panel Adds New Rules to Childhood Vaccine Schedule, COVID Shots](https://www.healthline.com/health-news/cdc-vaccine-panel-acip-new-vaccine-recommendations?utm_source=ReadNext) [Acting CDC director Jim O'Neill recently called for the MMR vaccine to be distributed into three monovalent shots. In September, The CDC’s vaccine…](https://www.healthline.com/health-news/cdc-vaccine-panel-acip-new-vaccine-recommendations?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/cdc-vaccine-panel-acip-new-vaccine-recommendations?utm_source=ReadNext) - ['Super Flu' Variant Spreads Across U.S. — Why It's Not Too Late to Get a Shot](https://www.healthline.com/health-news/flu-season-2025-influenza-vaccine?utm_source=ReadNext) [A new flu variant of influenza A, or H3N2, has been nicknamed the "super flu." Experts say that the new flu variant and low rates of flu vaccinations…](https://www.healthline.com/health-news/flu-season-2025-influenza-vaccine?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/flu-season-2025-influenza-vaccine?utm_source=ReadNext) - [FDA Approves New COVID Vaccines With Restrictions. Can You Get a Shot?](https://www.healthline.com/health-news/updated-covid-19-vaccine-restrictions-fall-2025?utm_source=ReadNext) [The FDA approved updated COVID-19 shots for the fall, but federal health officials have changed their recommendations on who should receive them.](https://www.healthline.com/health-news/updated-covid-19-vaccine-restrictions-fall-2025?utm_source=ReadNext) [READ MORE](https://www.healthline.com/health-news/updated-covid-19-vaccine-restrictions-fall-2025?utm_source=ReadNext) © 2026 Healthline Media LLC. All rights reserved. Healthline Media is an RVO Health Company. Our website services, content, and products are for informational purposes only. Healthline Media does not provide medical advice, diagnosis, or treatment. [See additional information](https://www.healthline.com/additional-information). - [About Us](https://www.healthline.com/about) - [Contact Us](https://www.healthline.com/about/contact-us) - [Privacy Policy](https://www.healthline.com/privacy-policy) - [Privacy Settings](https://www.healthline.com/privacy-settings) - [Advertising Policy](https://www.healthline.com/advertising-policy) - [Health Topics](https://www.healthline.com/directory/topics) - [Sitemap](https://www.healthline.com/sitemap) - [Medical Affairs](https://www.healthline.com/medical-team) - [Content Integrity](https://www.healthline.com/about/content-integrity) - [Newsletters](https://www.healthline.com/newsletter-signup) - © 2026 Healthline Media LLC. All rights reserved. Healthline Media is an RVO Health Company. Our website services, content, and products are for informational purposes only. Healthline Media does not provide medical advice, diagnosis, or treatment. [See additional information](https://www.healthline.com/additional-information). © 2026 Healthline Media LLC. All rights reserved. Healthline Media is an RVO Health Company. Our website services, content, and products are for informational purposes only. Healthline Media does not provide medical advice, diagnosis, or treatment. [See additional information](https://www.healthline.com/additional-information). [About](https://www.healthlinemedia.com/?utm_source=healthline.com&utm_medium=site&utm_campaign=footer&utm_content=about)[Careers](https://rvohealth.com/careers)[Advertise with us](https://www.healthlinemedia.com/advertise?utm_source=healthline.com&utm_medium=site&utm_campaign=footer&utm_content=advertise) OUR BRANDS [Healthline](https://www.healthline.com/)[Medical News Today](https://www.medicalnewstoday.com/)[Greatist](https://greatist.com/)[Psych Central](https://psychcentral.com/)[Bezzy](https://bezzy.com/) ![](http://b.scorecardresearch.com/p?c1=2&c2=38584006&cv=3.9&cj=1&comscorekw=main)
Readable Markdown
A lung infection happens when a virus, bacteria, or fungus gets into your lungs and causes inflammation. Lung infections can range from mild to severe and may require medical treatment. A lung infection is exactly what it sounds like: an infection of one or both of your lungs. There are a couple of common types of lung infections. One of the most common lung infections is [pneumonia](https://www.healthline.com/health/pneumonia). Pneumonia affects the smaller air sacs of your lungs. It’s most often caused by contagious [bacteria](https://www.healthline.com/health/bacterial-pneumonia) but can also be caused by a virus or fungus. You can get pneumonia by breathing in pneumonia-causing bacteria or a virus from someone with pneumonia. This may occur if the person with pneumonia sneezes or coughs. Read on to learn the most common symptoms of a lung infection and what treatment you can expect if you have one. A lung infection can be caused by a virus, bacteria, and sometimes even a fungus. When the large bronchial tubes that carry air to and from your lungs become infected, it’s referred to as [bronchitis](https://www.healthline.com/health/bronchitis). Bronchitis is more likely to be caused by a virus than by bacteria. Viruses can also attack your lungs or the air passages that lead to your lungs. This is called [bronchiolitis](https://www.healthline.com/health/bronchiolitis). Viral bronchiolitis most commonly occurs in infants. Lung infections such as pneumonia can range from mild to severe. They may be more severe for people with weakened immune systems or chronic conditions, such as [chronic obstructive pulmonary disease (COPD)](https://www.healthline.com/health/copd). The symptoms of a lung infection vary from mild to severe. This depends on several factors, including your age and overall health, and whether the infection is caused by a virus, bacteria, or [fungus](https://www.healthline.com/health/fungal-infection). The symptoms may be similar to those of a cold or flu, but they tend to last longer. If you have a lung infection, here are the most common symptoms to expect: Cough that produces thick mucus Coughing helps to rid your body of the mucus produced from inflammation of your airways and lungs. This mucus may also contain blood. With bronchitis or pneumonia, you may have a cough that produces thick mucus that may have a distinct color, including: - clear - white - green - yellowish gray A cough can linger for several weeks even after other symptoms have improved. Stabbing chest pains [Chest pain](https://www.healthline.com/health/chest-pain) caused by a lung infection is often described as sharp or stabbing. The chest pain tends to worsen while coughing or breathing deeply. Sometimes sharp pains can be felt in your mid to upper back. Fever A [fever](http://healthline.com/symptom/fever) occurs as your body tries to fight off the infection. Your normal body temperature is typically around 98.6°F (37°C). If you have a bacterial lung infection, your fever may rise as high as a dangerous 105°F (40.5°C). Any high fever above 102°F (38.9°C) often results in many other symptoms, such as: - sweating - [chills](https://www.healthline.com/health/chills) - muscle aches - dehydration - [headache](https://www.healthline.com/health/headache) - weakness You should see a doctor or healthcare professional if your fever goes above 102°F (38.9°C) or if it lasts more than 3 days. Body aches Your muscles and back may ache when you have a lung infection. This is called myalgia. Sometimes you can develop inflammation in your muscles. This can also lead to body and [muscle aches](https://www.healthline.com/health/muscle-aches) when you have an infection. Runny nose A runny nose and other flu-like symptoms, such as sneezing, often accompany a lung infection such as bronchitis. Shortness of breath [Shortness of breath](https://www.healthline.com/health/what-does-shortness-of-breath-feel-like) means that you feel like breathing is difficult or that you can’t breathe in completely. You should see a doctor right away if you’re having trouble breathing. Fatigue You’ll usually feel sluggish and tired as your body fights off an infection. Rest is crucial during this time. Wheezing When you exhale, you might hear a high-pitched whistling sound known as wheezing. This results from narrowed airways or inflammation. Bluish appearance of your skin or lips Your lips or nails may start to appear slightly blue in color due to a lack of oxygen. Crackling or rattling sounds in your lungs One of the telltale signs of a lung infection is a crackling sound in the base of the lungs, also known as [bibasilar crackles](https://www.healthline.com/health/bibasilar-crackles). A doctor can hear these sounds using a tool called a stethoscope. Viruses or bacteria tend to cause lung infections. Common types of lung infections may include: - pneumonia - bronchitis - bronchiolitis More rarely, a fungal infection may also cause lung infections. These fungi may include: - *Pneumocystis jirovecii* - *[Aspergillus](https://www.healthline.com/health/aspergillosis)* - *[Histoplasma capsulatum](https://www.healthline.com/health/histoplasmosis)* Certain fungal lung infections occur more commonly in people who are immunosuppressed, either from certain types of cancer or HIV or from taking immunosuppressive medications. This can include pneumocystis pneumonia. But other endemic fungal infections such as pulmonary coccidioidomycosis (valley fever) can affect anyone. They’re contracted by breathing in spores that are commonly found in the soil in the deserts of the Southwestern United States and in Central and South America. Pneumonia Pneumonia is a common lung infection. It affects the air sacs of your lungs. This infection can impact anyone at any age, and it can be caused by viruses, bacteria, or fungi. - bacteria such as *Streptococcus pneumonia* (most common), *Haemophilus influenzae*, and *[Mycoplasma pneumoniae](https://www.healthline.com/health/mycoplasma-pneumonia)* - viruses such as the influenza virus or [respiratory syncytial virus (RSV)](https://www.healthline.com/health/rsv-test) or severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the virus that causes [coronavirus disease 19 (COVID-19)](https://www.healthline.com/health/coronavirus-pneumonia) Doctors also use three different terms to classify pneumonia. They help doctors consider whether people are at risk of [drug-resistant pathogens](https://www.healthline.com/health/antibiotics/antibiotic-resistance). They include: - **Community-acquired pneumonia:** If someone developed pneumonia from work or a social event, they probably have community-acquired pneumonia. - **Healthcare-associated pneumonia:** This type occurs when someone develops pneumonia during or after a recent hospital stay. - **Ventilator-associated pneumonia:** When someone develops pneumonia after being on a ventilator, this is classified as ventilator-associated pneumonia. Vaccines may help protect you from certain types of pneumonia. If you have pneumonia, a doctor can help determine a treatment plan. Multiple treatment options can help resolve pneumonia, depending on the cause. Bronchitis [Bronchitis](https://www.healthline.com/health/bronchitis) occurs when your bronchial tubes become inflamed. These tubes deliver air into your lungs. Bronchitis is usually caused by viral illnesses rather than bacterial infections. But bacterial infections can also cause bronchitis. Causes of bronchitis can include: - the [influenza](https://www.healthline.com/health/cold-flu/flu) virus - [RSV](https://www.healthline.com/health/respiratory-syncytial-virus-rsv) - bacteria such as: - *Mycoplasma pneumoniae* - *Chlamydia pneumoniae* - *Bordetella pertussis* Bronchiolitis [Bronchiolitis](https://www.healthline.com/health/bronchiolitis) occurs when the smallest air passages in your lungs called bronchioles become inflamed. This can cause coughing and difficulty breathing. RSV is the most common cause of bronchiolitis. But it can be caused by other viruses. It’s more common in children. A doctor or healthcare professional will ask you about your medical history and symptoms. They may ask questions about your job, recent travel, or exposure to animals. A doctor will measure your temperature and listen to your chest with a stethoscope to check for crackling sounds. Common ways to diagnose a lung infection can include: - imaging, such as a [chest X-ray](https://www.healthline.com/health/chest-x-ray) or [CT scan](https://www.healthline.com/health/ct-scan) - spirometry, a tool that measures how much and how quickly you take in air with each breath - [pulse oximetry](https://www.healthline.com/health/pulse-oximetry) to measure the level of oxygen in your blood - taking a sample of mucus or nasal discharge for further testing - [throat swab](https://www.healthline.com/health/throat-swab-culture) - complete blood count - [blood culture](https://www.healthline.com/health/blood-culture) A bacterial infection usually requires antibiotics to clear it up. A fungal lung infection may require treatment with an [antifungal medication](https://www.healthline.com/health/fungal-infection/antifungal), such as ketoconazole or voriconazole. Antibiotics won’t work on viral infections. Most of the time, you’ll have to wait until your body fights off the infection on its own. In the meantime, you can help your body fight off the infection and make yourself more comfortable with the following home care remedies: - take acetaminophen or ibuprofen to lower your fever - drink lots of water - try hot tea with honey or ginger - gargle salt water - rest as much as possible - use a humidifier to create moisture in the air - take any prescribed antibiotic until it’s gone For more severe lung infections, you may need to stay at a hospital during your recovery. During your stay, you may receive antibiotics, intravenous (IV) fluids, and [respiratory therapy](https://www.healthline.com/health/what-is-a-respiratory-therapist) if you’re having difficulty breathing. Lung infections can be serious if not treated. In general, you may want to see a doctor if your cough lasts more than 3 weeks or you’re having trouble breathing. You can book an appointment with a doctor in your area using our [Healthline FindCare tool](https://www.healthline.com/find-care). A fever can mean different things depending on your age. In general, you should follow these guidelines: Infants See a doctor if your infant is: - younger than 3 months, with a temperature above 100.4°F (38°C) - between 3 and 6 months, with a fever above 102°F (38.9°C) and seems unusually irritable, sluggish, or uncomfortable - between 6 and 24 months, with a fever above 102°F (38.9°C) for more than 24 hours Children See a doctor if your child: - has a fever above 102.2°F (38.9°C) - is restless or irritable, vomits repeatedly, or has a severe headache - has had a fever for more than 3 days - has a serious medical illness or a compromised immune system - has recently been to a developing country Adults You should make an appointment to see a doctor if you: - have a body temperature above 103°F (39.4°C) - have had a fever for more than 3 days - have a serious medical illness or a compromised immune system - have recently been to a developing country You should also get emergency treatment at the nearest emergency room or call 911 or local emergency services if a fever is accompanied by any of the following symptoms: - mental confusion - trouble breathing - stiff neck - chest pain - seizures - persistent vomiting - unusual skin rash - hallucinations - inconsolable crying in children If you have a weakened immune system and develop a fever, shortness of breath, or a cough that brings up blood, get emergency medical care right away. Not all lung infections can be prevented, but you can minimize your risk with the following tips: - wash your hands regularly - avoid touching your face or mouth - avoid sharing utensils, food, or drinks with other people - avoid being in crowded places where a virus can be easily spread - avoid smoking tobacco, or consider quitting smoking if you smoke - get a flu shot every year to prevent influenza infection - get vaccinated for COVID-19 (please note some vaccines may still be under emergency use authorization for certain groups) For those at greater risk, the best way to prevent bacterial pneumonia from the most common strains of bacteria is either the PCV13 pneumococcal conjugate vaccine or PPSV23 pneumococcal polysaccharide vaccine. Healthcare professionals [recommend](https://www.cdc.gov/pneumonia/prevention.html) these vaccines for: - infants - older adults - people who smoke - those with chronic health conditions A lung infection causes symptoms similar to the cold or flu but may be more severe and typically last longer. Your immune system will typically be able to clear a viral lung infection over time. Antibiotics are used to treat bacterial lung infections. See a doctor right away if you have: - difficulty breathing - a bluish color in your lips or fingertips - severe chest pain - a high fever - cough with mucus that’s getting worse People older than 65 years of age, children younger than 2 years of age, and people with chronic health conditions or a compromised immune system should get medical treatment right away if they experience any symptoms of a lung infection.
Shard98 (laksa)
Root Hash11478817528691466898
Unparsed URLcom,healthline!www,/health/symptoms-of-lung-infection s443