
Pneumonia is a lung infection that can affect one or both lungs, causing the air sacs to swell with fluid or pus.
Pneumonia is especially dangerous in older individuals and children, and it is crucial to be able to identify early warning signs to obtain timely treatment and avoid complications.
Pneumonia symptoms can appear suddenly within 24 to 48 hours or gradually over several days. The most common warning signs of pneumonia include:
- Cough (dry or wet, producing thick yellow, brown, green, or blood-stained phlegm)
- Shortness of breath
- Chest pain when you breathe or cough
- Fever
- Chills
- Nausea and/or vomiting
- Diarrhea
Depending on the type of germ producing the illness, your age. and your general health, symptoms may differ and range from moderate to severe.
What are the early symptoms of pneumonia by age group?
Older people
Older people and those with compromised immune systems may experience less severe pneumonia symptoms, such as:
- Lower body temperature
- Sudden changes in mental awareness
- Fever and chills in some cases
If you suspect pneumonia in an older person, consider asking the following questions:
- Do you feel extremely tired or weak?
- Do you experience chest or rib pain when breathing or coughing?
- Do you feel nauseated?
- Have you been vomiting?
- Are you getting loose stools?
A person with dementia may occasionally be unable to accurately describe their symptoms, which adds to the difficulty of diagnosing pneumonia. The severity of the illness may go unnoticed as well, since symptoms may be similar to those of a cold.
Children
Pneumonia symptoms in children vary from child to child. Infants and newborns may not exhibit any signs of infection. Others may have symptoms such as:
- Coughing (that usually produces phlegm)
- Vomiting
- Fever
- Noisy, heavy, or faster-than-normal breathing
- Tiredness or lethargy
- Lack of appetite or inadequate feeding
- Restlessness
Because very young children cannot communicate their symptoms, it can be challenging to identify signs of infection.

SLIDESHOW
How to Prevent the Common Cold See SlideshowWhat causes pneumonia?
Pneumonia can be caused by bacteria, viruses, and fungi. The most common cause is bacteria. However, pneumonia sometimes develops after a viral infection, such as a cold or the flu.
Bacteria that can cause pneumonia include:
- Streptococcus pneumoniae
- Legionella pneumophila (Legionnaires' disease)
- Mycoplasma pneumoniae
- Chlamydia pneumoniae
- Haemophilus influenzae
Viruses that can cause pneumonia include
- Respiratory syncytial virus
- Common cold and flu viruses
- SARS-CoV-2, the virus that causes COVID-19
Virus-induced pneumonia often causes mild symptoms and resolves in a few weeks. However, it may be necessary to seek medical attention since viral pneumonia increases the risk of bacterial pneumonia.
People with chronic health problems or compromised immune systems are more likely to develop fungal pneumonia, which includes:
- Pneumocystis pneumonia
- Coccidioidomycosis, which causes valley fever
- Histoplasmosis
- Cryptococcus
What are the risk factors for pneumonia?
Anyone can get pneumonia, but certain factors can make you more susceptible to developing the disease:
- Age (the risk is higher for adults aged 65 or older and children younger than 2 years)
- Exposure to chemicals, pollutants, or toxic fumes
- Lifestyle habits, such as smoking, heavy alcohol use, and malnourishment
- Hospitalization (especially if you are in the intensive care unit) under sedation and/or on a ventilator
- Recently being sick with a cold or the flu
- Weakened immune system
- History of lung disease
- Experiencing trouble coughing or swallowing after a stroke or other condition
What are the complications of pneumonia?
Potential complications of pneumonia include the following:
- Bacteremia, which occurs when bacteria enter the bloodstream (can result in septic shock)
- Lung abscesses (pus-filled spaces in the lungs)
- Pleural disorders (affects the tissue that lines the inside of the chest cavity and covers the outside of the lungs)
- Kidney failure
- Respiratory failure
How is pneumonia diagnosed?
Pneumonia can be challenging to diagnose because the symptoms can be mistaken for a cold or flu. Doctors use the following to diagnose pneumonia:
- Medical history
- Physical exam, including listening to your lungs with a stethoscope
- Chest X-ray
- Blood tests, such as a complete blood count, to see if your immune system is actively fighting an infection
- Blood culture to determine whether you have a bacterial infection that has spread to your bloodstream
If you are in the hospital, have serious symptoms, are older, or have other health issues, you may be subjected to further testing, such as:
- Sputum test: Examines a sample of your sputum (spit) or phlegm for microorganisms (a slimy substance from deep in your lungs)
- Chest CT scan: Determines the extent of the lung damage. It might reveal any issues, such as lung abscesses or pleural effusions
- Pleural fluid culture: Examines a fluid sample collected from the pleural space for germs
- Blood oxygen level tests: Includes pulse oximetry or blood oxygen level checks and determine how much oxygen is in your blood
What are the treatment options for pneumonia?
Treatment for pneumonia varies depending on the cause and severity of the infection:
- Antibiotics are used to treat several bacterial and fungal infections. They are ineffective against viral pneumonia.
- Your doctor may recommend antiviral medications for viral pneumonia.
- Other types of fungal pneumonia are treated with antifungal medications.
If your symptoms are severe or you are at risk of complications, you may require hospitalization. You may undergo oxygen therapy if your blood oxygen levels are low. Recovery from pneumonia may take between a week to a month.
Vaccines can help prevent pneumonia caused by the flu virus or pneumococcal bacteria. Additionally, maintaining good hygiene, quitting smoking, and leading a healthy lifestyle may help prevent pneumonia.
When to call a doctor about pneumonia
People with minor symptoms are occasionally referred to as having “walking pneumonia.” This means that even if you have symptoms of the illness, you can go about your daily activities. The symptoms may go away after a while, but if they worsen, you will need to receive other treatments.
In some cases, your doctor may recommend a “wait and see” approach because the infection may resolve on its own without further treatment.
Contact a doctor immediately if you have any of the following pneumonia symptoms:
- Breathing difficulties
- Feeling light-headed when you stand up
- Severe chest pain that squeezes or feels crushing
- Blood in mucus
- Chills or fever of 101 F or higher
- Vomiting
Subscribe to MedicineNet's General Health Newsletter
By clicking Submit, I agree to the MedicineNet's Terms & Conditions & Privacy Policy and understand that I may opt out of MedicineNet's subscriptions at any time.
Childhood pneumonia: Everything you need to know https://www.unicef.org/stories/childhood-pneumonia-explained
Pneumonia https://www.rch.org.au/kidsinfo/fact_sheets/Pneumonia/
Pneumonia https://medlineplus.gov/pneumonia.html
What Are the Early Signs of Pneumonia in Children? https://www.childrensrespiratorydoctor.co.uk/what-are-the-early-signs-of-pneumonia-in-children.php
Top What Are the First Warning Signs of Pneumonia 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.amoxicillin/clavulanate
Amoxicillin/clavulanate is a combination antibacterial medication used to treat various types of bacterial infections, including lower respiratory tract infections, pneumonia, acute otitis media, sinusitis, acute bacterial rhinosinusitis, skin and skin structure infections, urinary tract infection, and others. Common side effects of amoxicillin/clavulanate include diarrhea, nausea, vomiting, abdominal distress, gas (flatulence), Candida yeast infection (candidiasis), diaper rash, Candidal diaper rash, skin rash, hives (urticaria), vaginal fungal infection (mycosis), vaginal inflammation (vaginitis), headache, and excessive platelet production (thrombocytosis).Bacterial Infections 101
Get more information on bacterial skin infections, which bacteria cause food poisoning, sexually transmitted bacteria, and more. Explore the most common bacterial infections.Can COVID-19 Cause Pneumonia?
In some cases, COVID-19 can cause life-threatening lung complications such as pneumonia, acute respiratory distress syndrome, and sepsis.Can Pneumonia Go Away On Its Own?
Mild pneumonia may be healed by body’s defense system. However severe cases of pneumonia require medical attention especially viral pneumonia.cefuroxime
Cefuroxime is an antibiotic used to treat infections of the middle ear, sinuses, skin, tonsils, and throat, and to treat laryngitis, bronchitis, pneumonia, urinary tract infections, gonorrhea, COPD, and early Lyme disease. Common side effects of cefuroxime include diarrhea, nausea, vomiting, abdominal pain, headache, rash, hives, vaginitis, and mouth ulcers.ertapenem
Ertapenem is a broad spectrum antibiotic used to treat a wide variety of bacterial infections, including community-acquired and complicated infections, including urinary tract infections, intra-abdominal infections, skin infections, pneumonia, and others. Common side effects of ertapenem include diarrhea, nausea, vomiting, abdominal pain, loose stools, constipation, infusion site reactions, headache, fever, altered mental status, and others. Consult your doctor if pregnant or breastfeeding.Haemophilus influenzae type B vaccine
Haemophilus influenzae type B (HIB) vaccine is an inactivated bacterial vaccine used for routine immunization in children to protect against infections such as ear infections, bloodstream infection, pneumonia, meningitis, and others. Common side effects of Haemophilus influenzae type B vaccine include local side effects at injection site, irritability, drowsiness, loss of appetite (anorexia), excessive crying, fever, pain, diarrhea, skin rash, middle ear infection (otitis media), and upper respiratory infection. The vaccine is not intended for use in pregnant or breastfeeding women.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.How Long Is Pneumonia Contagious?
Pneumonia may be contagious for 2-14 days. Usually, the goal of medications given for pneumonia is to limit the spread of the disease.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.Reasons You're Short of Breath
Have you ever found yourself gasping for air after just a short flight of stairs? You may just need to do a bit more exercise, or it could be something more serious.ofloxacin
Ofloxacin is an antibiotic medication prescribed for the treatment of pneumonia, bronchitis, staph infections, STDs (gonorrhea, chlamydia), urinary tract infections, and prostate infections caused by E. coli. The most common side effects of ofloxacin include nausea, vomiting, diarrhea, insomnia, headache, dizziness, itching, and vaginitis in women. Do not take ofloxacin if pregnant or breastfeeding.penicillin V
Penicillin V (Veetids and Pen-Vee-K have been discontinued) is an antibiotic prescribed to treat infections from a variety of bacteria that causes infections of the middle ear, tonsils, throat, bronchitis, pneumonia, urinary tract, and gonorrhea. Side effects include rash, itching, abdominal pain, vomiting, nausea, diarrhea. Drug interactions, dosage, and pregnancy and breastfeeding safety should be reviewed prior to taking any medication.Pneumococcal Vaccination (Pneumonia Vaccine)
Pneumococcal vaccination prevents one of the most common and severe forms of pneumonia. It is usually given only once in a lifetime, usually after the age of 55, to someone with ongoing lung problems (such as chronic obstructive pulmonary disease (COPD) or asthma) or other chronic diseases (including those involving the heart and kidneys).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.tetracycline (Sumycin)
Tetracycline (Sumycin, discontinued) is a medication that is used for treating several types of infections. Examples of infections include infections of the respiratory tract, urinary tract, and skin; urethritis, typhus, Rocky Mountain spotted fever, certain sexually transmitted diseases (STDs), acne, anthrax, cholera, and H. pylori. Side effects and drug interactions should be reviewed prior to taking tetracycline (Achromycin, Sumycin).trimethoprim/sulfamethoxazole
Trimethoprim/sulfamethoxazole is a combination antibiotic used to treat or prevent a variety of infections of the urinary, respiratory, and gastrointestinal tracts. Trimethoprim/sulfamethoxazole can cause fetal harm. Common side effects of trimethoprim/sulfamethoxazole include abdominal pain, loss of appetite (anorexia), nausea, vomiting, diarrhea, sore mouth (stomatitis), tongue inflammation (glossitis), inflammation of the pancreas (pancreatitis), liver inflammation (hepatitis), jaundice from impaired bile flow (cholestatic jaundice), elevation of liver enzymes (transaminases), elevated blood levels of bilirubin (hyperbilirubinemia), destruction of liver cells (hepatic necrosis), and allergic skin reactions.What's a Virus?
Is a virus alive? Learn the definition of a virus. Viral infections like COVID-19 can occur in your eyes, mouth, skin, or anywhere else. Should you use antibiotics to treat the flu? Is this STD a bacterium or a virus? Get the answers to the most common questions about viral infections.