Amoxicillin can treat some types of pneumonia, but not all

Amoxicillin is an antibiotic that works against certain bacteria. It can treat bacterial pneumonia caused by susceptible organisms — most commonly Streptococcus pneumoniae and Haemophilus influenzae. However, amoxicillin does not work against viral pneumonia, fungal pneumonia, or pneumonia caused by bacteria that have developed resistance to this drug. Your doctor will determine whether amoxicillin is the right choice based on what type of pneumonia you have and what caused it.

The decision to use amoxicillin depends on several factors: your age, the severity of your illness, whether you have other health conditions, and what organisms are most likely causing your pneumonia in your area. A doctor may start you on amoxicillin if they suspect a common bacterial cause, or they may choose a different antibiotic based on your specific situation.

Key Takeaways

  • Amoxicillin treats bacterial pneumonia caused by certain bacteria, but not viral or fungal pneumonia.
  • Your doctor will decide whether amoxicillin is appropriate based on your age, symptoms, severity, and local patterns of bacterial resistance.
  • Amoxicillin is often given as a first-line treatment for community-acquired pneumonia in outpatient settings when bacteria are suspected.
  • If amoxicillin does not improve your symptoms within 48 to 72 hours, your doctor may switch you to a different antibiotic.
  • Completing the full course of amoxicillin as prescribed is important, even if you feel better before the course ends.

How amoxicillin works against pneumonia bacteria

Amoxicillin is a penicillin-type antibiotic that kills bacteria by breaking down their cell walls. It works well against Streptococcus pneumoniae, which is the most common cause of bacterial pneumonia in adults, and against Haemophilus influenzae, another frequent culprit. These bacteria are considered "susceptible" to amoxicillin, meaning the drug can destroy them.

The drug does not work against viruses, so if your pneumonia is caused by a virus — such as influenza or respiratory syncytial virus (RSV) — amoxicillin will not help. Viral pneumonia is treated differently, often with supportive care like rest, fluids, and oxygen if needed. Your doctor can sometimes tell whether your pneumonia is bacterial or viral based on your symptoms, chest X-ray findings, and blood tests, though this is not always clear at first.

When doctors prescribe amoxicillin for pneumonia

Amoxicillin is commonly prescribed as a first-line treatment for community-acquired pneumonia — pneumonia you caught outside a hospital — in adults who are otherwise healthy and have mild to moderate symptoms. It is often given by mouth as a pill or liquid, which makes it practical for people being treated at home rather than in the hospital.

Doctors are more likely to prescribe amoxicillin if you are young, have no serious underlying illnesses, and your pneumonia does not appear severe. If you are older, have chronic lung disease, diabetes, heart disease, or a weakened immune system, your doctor may choose a different antibiotic that covers a broader range of bacteria. Similarly, if you are hospitalized with pneumonia, you will likely receive a stronger antibiotic by injection rather than amoxicillin by mouth.

Your doctor may also consider local patterns of antibiotic resistance in your area. In some regions, certain bacteria have become resistant to amoxicillin, making other drugs more effective. This is why the same diagnosis may be treated differently depending on where you live.

Signs that amoxicillin is working

If amoxicillin is the right treatment for your pneumonia, you should begin to feel better within 48 to 72 hours. Your fever may drop, your cough may become less severe, and you may have more energy. You may still cough for several weeks even after the infection is gone, because your airways need time to heal.

If you do not feel better after three days, or if you feel worse, contact your doctor. This could mean the bacteria causing your pneumonia are resistant to amoxicillin, or that your pneumonia is viral rather than bacterial. Your doctor may order additional tests or switch you to a different antibiotic.

When amoxicillin will not work

Amoxicillin cannot treat viral pneumonia. If your pneumonia is caused by influenza, RSV, or another virus, amoxicillin will have no effect. Viral pneumonia is managed with supportive care — rest, fluids, fever management, and oxygen if your blood oxygen level drops. Some people with severe viral pneumonia may receive antiviral medications, but these are different from antibiotics.

Amoxicillin also will not work if the bacteria causing your pneumonia have developed resistance to penicillin-type drugs. This resistance is becoming more common in some areas and in certain populations. If you have been treated with amoxicillin or similar antibiotics recently, your bacteria may already be resistant, and your doctor will choose a different drug.

Fungal pneumonia, which is rare in healthy people but can occur in those with weakened immune systems, requires antifungal medications, not antibiotics like amoxicillin.

How to take amoxicillin correctly

Amoxicillin is usually prescribed as a pill or liquid taken by mouth, typically three times a day or twice a day depending on the dose. The standard course lasts 7 to 10 days. It is important to take the full course even if you feel better after a few days, because stopping early can allow the infection to return and may contribute to antibiotic resistance.

Take amoxicillin at evenly spaced intervals — for example, if you take it three times daily, space the doses about 8 hours apart. You can take it with or without food, though taking it with food may reduce stomach upset. If you forget a dose, take it as soon as you remember, unless it is almost time for your next dose. Do not double up on doses.

If you have a severe allergic reaction to amoxicillin — such as difficulty breathing, swelling of the face or throat, or a severe rash — stop taking it and seek emergency care. If you have a milder rash or mild stomach upset, contact your doctor before stopping the medication.

What happens if amoxicillin does not work

If your symptoms do not improve after 48 to 72 hours, your doctor will likely switch you to a different antibiotic. Common alternatives include azithromycin (a macrolide antibiotic), fluoroquinolones like levofloxacin, or amoxicillin-clavulanate (amoxicillin combined with a drug that overcomes certain types of resistance). Your doctor may also order a sputum culture or blood culture to identify exactly which bacteria are causing your pneumonia.

If your pneumonia is worsening despite treatment, you may need to be hospitalized for stronger antibiotics given by injection and for oxygen support. Hospitalization is more likely if you are having trouble breathing, your oxygen level is dropping, you are confused, or you have signs of sepsis (a serious blood infection).

Frequently Asked Questions

Can I take amoxicillin left over from a previous prescription?

No. Do not use old amoxicillin. Leftover antibiotics may have lost potency, and using them without a doctor's evaluation means you are not getting the right dose or the right drug for your current illness. Pneumonia requires a fresh prescription and a doctor's assessment of what type of pneumonia you have.

What if I am allergic to penicillin — can I take amoxicillin?

No. Amoxicillin is a penicillin-type antibiotic, and people allergic to penicillin can have an allergic reaction to amoxicillin. Tell your doctor about any penicillin allergy before starting any antibiotic. Your doctor can prescribe an alternative antibiotic that is safe for you.

How long does amoxicillin take to cure pneumonia?

You should feel noticeably better within 48 to 72 hours if amoxicillin is working. However, the full course typically lasts 7 to 10 days, and you may continue to cough for weeks after the infection is cleared. Complete the entire course as prescribed, even if you feel well.

Can amoxicillin prevent pneumonia?

Amoxicillin is not used to prevent pneumonia in healthy people. It is prescribed only to treat an active infection. The best prevention is vaccination (pneumococcal and flu vaccines), good hand hygiene, not smoking, and managing chronic health conditions.

Is amoxicillin safe to take while pregnant?

Amoxicillin is generally considered safe during pregnancy and is often used to treat bacterial infections in pregnant women. However, always tell your doctor you are pregnant before starting any medication. Your doctor will weigh the benefits of treating your pneumonia against any potential risks.