Bacterial Pneumonia

This is when the air sacs in your lungs become inflamed and filled with fluid or pus because of a bacterial infection. It's a common lung infection.

Condition

What people with Bacterial Pneumonia report

Every report comes from a Lived member, sent anonymously.

Have you tried Z-Pak (Azithromycin) for Bacterial Pneumonia?

NameHow it went

About Bacterial Pneumonia

What It Is

Bacterial pneumonia is an infection of one or both lungs caused by bacteria. The infection inflames the tiny air sacs where oxygen passes into the blood, and those sacs fill with fluid or pus. That is why pneumonia causes a cough, often with thick or discolored mucus, along with fever, chills, shortness of breath and chest pain that sharpens with a deep breath or cough. Many people also feel exhausted, lose their appetite or have nausea. Bacteria are among the most common causes of pneumonia, and bacterial pneumonia tends to be more serious than the viral kind. It ranges from an illness treated at home to one that needs hospital care, depending on the germ, the person's age and their overall health. Older adults and people with weakened immune systems may not have the usual picture: they can have milder symptoms, a lower than normal temperature, weakness, or sudden confusion as the main sign.

Causes & Risk Factors

Most bacterial pneumonia is caught in everyday life rather than in a hospital. The most common cause in the United States is Streptococcus pneumoniae, often called pneumococcus. Other bacteria cause what is sometimes called atypical pneumonia: Mycoplasma usually causes a milder illness known as walking pneumonia, while Legionella causes Legionnaires' disease, a severe form linked to contaminated water systems such as hot tubs and large building plumbing. Bacterial pneumonia can also develop on top of a cold, the flu or COVID-19, when a virus has already irritated the airways. Risk is higher for children 2 and younger and adults 65 and older, and for people with lung disease such as asthma or chronic obstructive pulmonary disease (COPD), heart failure, diabetes or a weakened immune system. Smoking, heavy alcohol use and crowded living settings such as nursing homes also raise risk. Trouble swallowing after a stroke, or being heavily sedated, can let food, drink or saliva slip into the lungs and carry bacteria with it. These factors make pneumonia more likely but do not mean a person caused their illness.

How It's Diagnosed

Pneumonia can be hard to tell apart from a bad cold, bronchitis or the flu at first. A clinician asks about symptoms, recent illness, travel and exposures, and listens to the lungs with a stethoscope for crackles or areas where air is not moving well. A chest X-ray is the usual way to confirm pneumonia, because it shows the inflamed, fluid-filled part of the lung. A small clip on the finger (pulse oximetry) estimates how much oxygen is in the blood; a low reading suggests the infection is keeping the lungs from passing enough oxygen into the blood. For people well enough to be treated at home, extra tests are often unnecessary, and treatment starts based on the overall picture. People who are sicker, older or have other health problems may have blood tests, a test for flu or COVID-19, a sputum test (examining mucus coughed up from the lungs), blood cultures to check whether bacteria have spread to the bloodstream, or a CT (computed tomography) scan, which shows the lungs in more detail than an X-ray. Even with testing, the exact bacteria often are not identified. Clinicians also judge how severe the pneumonia is. Scoring tools such as the Pneumonia Severity Index combine age, other conditions, vital signs and test results to estimate risk. Alongside practical questions, such as whether someone can keep eating and drinking and has help at home, these guide whether treatment at home is safe or hospital care is needed.

Treatment Options

Bacterial pneumonia is treated with antibiotics, which kill the bacteria or stop them from multiplying. Antibiotics do not work against viruses, which is one reason the clinician considers whether a virus such as flu is involved. Many people improve at home on antibiotic tablets, and most start to feel better within one to three days. The prescriber sets how long to take them, often only a few days to a week for uncomplicated pneumonia once someone is clearly improving. That course, even when short, is the complete treatment: take it as prescribed and do not stop on your own, since stopping too soon can let the infection come back. The choice of antibiotic depends on age, other health conditions, recent antibiotic use and local resistance patterns. Healthy adults are often treated with a single antibiotic, such as amoxicillin (a penicillin-type antibiotic) or doxycycline (a tetracycline-type antibiotic), while people with heart, lung or other chronic conditions usually receive broader coverage, sometimes two antibiotics together. Common options include macrolides such as azithromycin and fluoroquinolones such as levofloxacin. Each has trade-offs: an antibiotic allergy, a heart rhythm problem, an aortic aneurysm (a bulge in the body's main artery), or a past C. difficile infection (a serious antibiotic-related diarrhea) can steer the choice, so it helps to tell the prescriber about all of these. People with more serious pneumonia are treated in a hospital with antibiotics and fluids given through a vein, and oxygen if their blood oxygen is low. A few need intensive care or a breathing machine. If fluid or pus collects around the lung or forms an abscess, it may need to be drained. Rest, fluids and medicine for fever and aches help with comfort; check with a clinician before using cough or cold medicines.

What to Expect

Recovery takes longer than many people expect. Fever and breathing usually improve over the first few days of antibiotics, but a cough can linger for weeks, and tiredness often lasts about a month. Some people are back to their normal routines in one to two weeks; for older adults and people who were hospitalized, it can take a month or more. Gentle activity, sleep, fluids and avoiding smoke and alcohol support recovery, and a clinician can advise when to return to work or exercise. Most people whose symptoms clear within a week do not need a repeat chest X-ray, though one may be advised for people who smoke, are slow to recover or have ongoing symptoms. Serious pneumonia can leave lasting effects, including weakness, low mood and strain on existing heart conditions, and some people benefit from breathing exercises or pulmonary rehabilitation. Pneumonia that keeps coming back is worth raising, because it may point to an underlying problem. After recovery, vaccines lower the chance of another episode and tend to make pneumonia milder when it happens. In the United States, the Centers for Disease Control and Prevention (CDC) recommends pneumococcal vaccination for all adults 50 and older, adults 19 to 49 with certain health conditions, and all children younger than 5. A yearly flu vaccine also helps, since flu can lead to bacterial pneumonia. Hand washing and not smoking reduce risk further.

When to Seek Help

Contact a clinician promptly if a cough comes with fever, chills, shortness of breath or chest pain when breathing, especially for a young child, an adult over 65, or someone with a chronic illness or weakened immune system, in whom pneumonia can worsen quickly. If you are already taking antibiotics, call your care team right away if you are not improving after two to three days, or if symptoms get worse after starting to improve. Mild new confusion, unusual drowsiness or new weakness in an older adult, without breathing trouble, needs same-day medical assessment. Call 911 or go to an emergency department for severe trouble breathing, difficulty speaking because of breathlessness, or bluish lips or fingertips, which are signs the body is not getting enough oxygen. Call 911 as well if someone with pneumonia becomes very hard to wake, or is confused along with fast or labored breathing. These can be signs of dangerously low oxygen or of sepsis, a life-threatening reaction that can happen when the infection spreads into the bloodstream.

Questions to Ask Your Doctor

  1. 1.How sure are we that this is bacterial pneumonia, and do I need any tests to find the cause?
  2. 2.Why is treatment at home, or in the hospital, the right choice for me?
  3. 3.How quickly should I feel better on this antibiotic, and what should I do if I do not?
  4. 4.When can I return to work, exercise and my usual activities, and do I need a follow-up visit or X-ray?
  5. 5.Which vaccines do I need to lower my chance of getting pneumonia again?

Last reviewed • Oct 2026

Educational content, not medical advice.