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, a bacterium that causes community-acquired pneumonia (the kind you catch outside a hospital). However, amoxicillin does not work against viruses, fungi, or certain resistant bacteria, so your doctor must first identify what is causing your pneumonia before prescribing it.
Whether amoxicillin is the right choice depends on your age, how sick you are, where you caught the infection, and what bacteria are common in your area. A doctor will consider all of these factors, not just the diagnosis of pneumonia alone.
Key Takeaways
- Amoxicillin treats bacterial pneumonia caused by susceptible bacteria, particularly Streptococcus pneumoniae, but does not work against viral or fungal pneumonia.
- Doctors typically prescribe amoxicillin for mild to moderate community-acquired pneumonia in otherwise healthy adults, often as an outpatient.
- If you have severe pneumonia, are hospitalized, or have other health conditions, your doctor may choose a different antibiotic or combination of antibiotics.
- Resistance to amoxicillin is increasing in some regions, so your doctor may test the bacteria or choose an alternative antibiotic based on local patterns.
- Completing the full course of amoxicillin as prescribed is essential, even if you feel better before the medication runs out.
How doctors decide whether to use amoxicillin for pneumonia
When you arrive with pneumonia symptoms, your doctor will take a chest X-ray and may order blood tests or a sputum culture (a sample of mucus you cough up). These tests help identify whether the pneumonia is bacterial, viral, or fungal. If the tests suggest bacterial pneumonia and you are otherwise healthy and not severely ill, amoxicillin is often a reasonable first choice.
Your doctor also considers your age and medical history. Amoxicillin is commonly used in children and adults under 50 with no other serious illnesses. If you are older, pregnant, have diabetes, heart disease, or a weakened immune system, your doctor may choose a different antibiotic or a combination of antibiotics instead.
The setting matters too. If you caught pneumonia in the community (not in a hospital), amoxicillin is more likely to work. If you are hospitalized or were recently in a healthcare facility, resistant bacteria are more common, and your doctor will probably use a stronger antibiotic.
When amoxicillin is not the right choice
Amoxicillin will not treat viral pneumonia, which accounts for a significant portion of pneumonia cases. Viruses like influenza and respiratory syncytial virus (RSV) cause pneumonia that your immune system must fight on its own; antibiotics do not help. Your doctor may prescribe antivirals for flu-related pneumonia, but amoxicillin will not be part of that treatment.
Amoxicillin also does not work against atypical bacteria such as Mycoplasma pneumoniae or Chlamydia pneumoniae, which cause "walking pneumonia" — a milder infection where you stay on your feet. These require different antibiotics, usually macrolides like azithromycin or fluoroquinolones.
If you are severely ill, hospitalized, or have risk factors for resistant bacteria, your doctor will likely start with a broader-spectrum antibiotic (one that works against more types of bacteria) or a combination of antibiotics. Once culture results come back, the doctor may switch to amoxicillin if the bacteria is susceptible, or continue with the stronger antibiotic if it is not.
Antibiotic resistance and amoxicillin
Resistance to amoxicillin has been rising in many parts of the world. Some strains of Streptococcus pneumoniae no longer respond to amoxicillin, especially at standard doses. This means that even if amoxicillin is prescribed, it may not work for your particular infection.
To address this, some doctors now prescribe higher doses of amoxicillin for pneumonia than they would for a simple ear infection. Others choose alternative antibiotics from the start, depending on what resistant bacteria are common in their region. Your doctor knows the resistance patterns in your area and will factor that into their decision.
What to expect if you are prescribed amoxicillin
If your doctor prescribes amoxicillin for pneumonia, you will typically take it by mouth — usually 500 mg or 875 mg three times a day for 7 to 10 days. You should start feeling better within 48 to 72 hours, with fever dropping and cough beginning to improve. However, improvement does not mean the infection is gone.
It is critical to finish the entire course of amoxicillin, even if you feel much better after a few days. Stopping early allows bacteria to survive and multiply, which can lead to the infection returning or becoming resistant to the antibiotic. Mark your calendar or set phone reminders to help you remember to take every dose.
If you do not feel better after 48 to 72 hours, or if you feel worse, contact your doctor. This may mean the bacteria is resistant to amoxicillin, or that your pneumonia is not bacterial. Your doctor may order additional tests or switch you to a different antibiotic.
Side effects and allergies
Common side effects of amoxicillin include nausea, diarrhea, and rash. Most are mild and go away when you finish the medication. Taking amoxicillin with food can reduce nausea.
If you have a penicillin allergy, you cannot take amoxicillin — amoxicillin is a penicillin-type antibiotic. Tell your doctor about any previous allergic reactions to penicillin, amoxicillin, or related antibiotics. If you are allergic, your doctor will prescribe a different antibiotic, such as a macrolide or fluoroquinolone.
A rash that appears during amoxicillin treatment is not always an allergy. Many viral infections cause a rash that coincides with amoxicillin use. However, if the rash is severe, spreads quickly, or is accompanied by difficulty breathing or swelling of the face or throat, stop taking the medication and seek immediate medical attention.
Other antibiotics doctors use for pneumonia
If amoxicillin is not suitable for you, several other antibiotics can treat bacterial pneumonia. Azithromycin (a macrolide) covers atypical bacteria and is often used in combination with amoxicillin or as a standalone treatment. Fluoroquinolones like levofloxacin or moxifloxacin are broad-spectrum antibiotics that work against many bacteria and are often used for more severe cases or in hospitalized patients.
For penicillin-allergic patients, cephalosporins are an option if the allergy was not severe (cephalosporins have a small cross-reactivity risk with penicillin). Clindamycin is another alternative. Your doctor will choose based on your allergy history, severity of illness, and local resistance patterns.
Frequently Asked Questions
How long does amoxicillin take to work for pneumonia?
You should notice improvement within 48 to 72 hours — fever typically drops and cough begins to ease. However, complete recovery takes longer, and you should finish the full course of medication even if you feel better.
Can I take amoxicillin at home, or do I need to be hospitalized?
If your pneumonia is mild to moderate and you are otherwise healthy, you can take amoxicillin at home as an outpatient. Hospitalization is usually reserved for severe pneumonia, older adults, or those with other serious health conditions.
What should I do if amoxicillin is not working?
Contact your doctor if you do not improve after 48 to 72 hours or if you feel worse. Your doctor may order additional tests to identify the cause or switch you to a different antibiotic. Do not stop taking amoxicillin on your own without speaking to your doctor first.
Is amoxicillin safe during pregnancy?
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 so they can confirm amoxicillin is the best choice for your situation.
Can amoxicillin prevent pneumonia?
Amoxicillin is not used to prevent pneumonia in healthy people. It is prescribed only after pneumonia has been diagnosed. Vaccination against influenza and pneumococcal disease is the main way to reduce your risk of pneumonia.