Walking pneumonia is a mild lung infection caused by the atypical bacterium Mycoplasma pneumoniae, and it is behind many of the lingering coughs going around Philadelphia right now. Fishtown Medicine treats confirmed cases with a macrolide such as azithromycin, or doxycycline when that fails, while sparing antibiotics for the many coughs that are viral and clear on their own.
TL;DR: A wave of lingering cough is moving through Philadelphia this summer, and a good share of it looks like walking pneumonia, a mild lung infection from an atypical bacterium called Mycoplasma pneumoniae. It comes on slowly, leaves you functional but wiped out, and the cough can hang on for 3 to 6 weeks. Most coughs like this are viral and get better on their own, so antibiotics are often the wrong tool. When it is Mycoplasma, though, the usual amoxicillin or a standard Z-Pak can miss it, because this bug has no cell wall and rising resistance to that class. The skill is telling the two apart and treating only what needs treating.
You have been coughing for almost 3 weeks. It started like a normal cold, then the congestion faded and the cough stayed, dry and nagging, worse at night, bad enough that people at work keep asking if you are alright. You never spiked a scary fever. You have mostly kept going. But you are tired in a way that does not match "just a cough," and if someone already gave you a Z-Pak, it may not have touched it.
I have heard some version of this from several people across Philly in the past couple of weeks, and I want to start by saying the obvious thing out loud: a cough that lasts this long is worth taking seriously, and it does not mean you are being dramatic. Most of these coughs are viral and will heal on their own. A meaningful slice of them are walking pneumonia, and that one has a specific fix. What follows is how to tell where you land, and what helps.
What is walking pneumonia, and is that what is going around?
Walking pneumonia is a mild pneumonia caused most often by Mycoplasma pneumoniae, an atypical bacterium. "Walking" is the giveaway in the name: people stay on their feet, going to work and running errands while a low-grade lung infection simmers, which is why it spreads unnoticed through households, offices, and classrooms before anyone knows a lung infection is in the room.
Two things make this summer worth a note. First, the country has been in a Mycoplasma surge since 2024 that has not fully let up, and unlike flu and RSV, which are winter illnesses, Mycoplasma tends to circulate in the warmer months and into early fall. Second, we are seeing the local version of that pattern right now, a run of weeks-long coughs and mild pneumonias in otherwise healthy adults. It can feel viral at the start, and often it is viral, which is what makes the atypical-bacterial cases easy to miss.
What are the symptoms of walking pneumonia?
Walking pneumonia symptoms build gradually over a week or 2 rather than hitting all at once, which is part of why people push through it. The pattern to recognize:
- A dry, hacking cough that becomes the main event and outlasts everything else
- A low-grade fever, more of a simmer than a spike
- Fatigue that is heavier than the illness seems to justify
- Sore throat, headache, and sometimes an earache
- Chest soreness, usually from the mechanical strain of coughing rather than deep chest pain
- Occasionally some shortness of breath with exertion
The signature is the timeline. A common cold's cough fades inside a week or 2. Walking pneumonia's cough can run 3 to 6 weeks, and the fatigue trails behind it. If you feel roughly functional but distinctly unwell, with a cough that has settled in for the long haul, that mismatch is the clue.
Why is the cough lasting for weeks?
There are 2 different reasons a cough drags on, and they call for opposite responses, which is why sorting them out matters.
The first is post-infectious airway inflammation. Any respiratory infection, viral or bacterial, irritates and strips the lining of the bronchial tubes, and that lining takes time to heal. During those weeks the airways stay twitchy and a lingering cough continues even after the infection itself is gone. Here, still coughing does not mean still infected, and the answer is time, soothing measures, and sometimes an inhaler rather than another antibiotic.
The second reason is that the infection was never a passing virus in the first place. An untreated atypical infection like Mycoplasma can keep the cough going because the bug is still there, still driving the inflammation. This is the case where a targeted antibiotic changes the course. Telling these apart is a clinical judgment based on the timeline, the fever pattern, the exam, and sometimes a chest x-ray, and it is the whole reason a weeks-long cough deserves a careful look rather than a shrug.
Why didn't my Z-Pak or amoxicillin work?
This is the question I hear most, and the answer is worth understanding. If you were given amoxicillin or a related drug and the cough did not let up, it may be because that class cannot touch this organism at all.
Most common antibiotics, the penicillins and cephalosporins including amoxicillin and its cousins, kill bacteria by attacking the cell wall. Mycoplasma has no cell wall. That single quirk of its biology makes it immune to that entire family of drugs, no matter the dose or duration. So amoxicillin failing against a lingering cough is not a sign the cough is untreatable; it can be a sign the target was wrong.
The drugs that do work hit a different pathway, protein production inside the bug. The main options are the macrolides such as azithromycin, the familiar 5-day "Z-Pak," and the tetracyclines such as doxycycline. Here is the newer wrinkle: macrolide resistance in Mycoplasma has been climbing worldwide, so even a correctly chosen Z-Pak sometimes falls short. When a macrolide has already failed, or when resistance is a concern, doxycycline is often the better pick. A prescription that matches the bug and the resistance picture is the difference between a cough that lifts in a few days and one that grinds on for another month.
None of this means antibiotics are the answer for every cough. Over 90% of acute bronchitis is viral, and for those, antibiotics do nothing but expose you to side effects and drive resistance. The goal is to treat the infections that are bacterial and leave the viral ones alone.
Is it bronchitis, walking pneumonia, or regular pneumonia?
These three sit on a spectrum, and the labels describe how deep and how serious the infection is:
- Acute bronchitis is inflammation of the larger airways, usually viral, with a cough that is annoying but self-limited. Antibiotics rarely help.
- Walking pneumonia is a mild infection that has reached the lung tissue, most often from Mycoplasma. You feel unwell but stay upright, and a targeted antibiotic helps when it is confirmed.
- Typical (lobar) pneumonia is the more severe picture: higher fever, feeling knocked flat, faster breathing, sometimes sharp chest pain, and a cough that can bring up colored phlegm. This one needs prompt evaluation and treatment.
| Feature | Acute Bronchitis | Walking Pneumonia (Mycoplasma) | Typical Pneumonia |
|---|---|---|---|
| Onset | After a cold | Gradual over 1 to 2 weeks | Often sudden |
| Fever | Low or none | Low-grade, lingering | High |
| Cough | Dry to loose, self-limited | Dry, hacking, weeks long | Wet, may be colored |
| How you feel | Annoyed but functional | Functional but distinctly unwell | Knocked flat |
| Breathing | Normal | Occasionally short with effort | Fast, labored |
| Antibiotics | Rarely needed (viral) | Help when confirmed | Needed |
One more possibility belongs on this list for adults: pertussis, or whooping cough. Case counts have run higher in recent years, it is badly underdiagnosed in adults, and in a vaccinated grown-up it often shows up as nothing more than a stubborn cough for weeks, sometimes with coughing fits that end in a gasp or make you vomit. It is worth naming because it changes both the treatment and the need to protect the people around you.
Preventive Care
Stay ahead of seasonal health threats with a proactive physician in your corner.
When do antibiotics help a cough, and when do they not?
The honest answer is that most lingering coughs do not need antibiotics, and a smaller share clearly do. Antibiotics earn their place when the picture points to an atypical or bacterial infection: a walking pneumonia pattern that fits Mycoplasma, a suspected pertussis, or a true pneumonia. They do not help, and can cause harm, when the cough is a viral bronchitis or the tail end of post-infectious airway inflammation.
That line is where a careful history and exam pay off. The wrong move in both directions is common: handing a Z-Pak to every cough, which breeds resistance and does nothing for a virus, or dismissing a 4-week Mycoplasma cough as "just a virus" and leaving a treatable infection to smolder. The right move is to match the treatment to what is present.
When should you worry, and when is it an emergency?
Most walking pneumonia is safe to manage at home with the right plan. Certain signs, though, mean the infection has outgrown that plan and you need to be seen, sometimes urgently.
Get evaluated soon if:
- The cough has run past 3 weeks with no sign of improvement
- You had a "bounce back," better for a few days, then a new fever and feeling worse
- You are coughing up colored or blood-streaked phlegm
- You have an underlying lung or heart condition, or a weakened immune system
Go to the emergency room if:
- You are short of breath, or cannot finish a sentence without stopping for air
- You have chest pain that is constant or sharp with each breath
- Your lips or fingertips look bluish, or you feel confused or faint
- Your breathing or heart rate feels fast and will not settle
Local context: the summer cough making the rounds
Summer respiratory illness confuses people, because the reflex is to blame allergies or the office air conditioning when a cough shows up in July. Infections travel year-round, and Mycoplasma tends to favor the late-summer stretch. It moves easily in the places Philadelphians share air: a warehouse floor, a Center City open-plan office, a crowded SEPTA car, a house where one person's "cold" becomes everyone's 3-week cough over the following month. If a lingering cough is circling your workplace or household right now, you are not imagining the pattern.
The upside is that walking pneumonia rarely calls for an emergency room. A 6-hour wait at Jefferson or Penn to be told you have a mild pneumonia and handed a prescription is time you do not need to spend. This is the kind of thing that can be sorted out by history, an exam, and a chest x-ray when warranted, and treated without a waiting room.
How Fishtown Medicine approaches a lingering cough
At Fishtown Medicine, a cough that has run past a couple of weeks gets treated as a question with a clear answer. The value of direct primary care here is judgment plus access: you can tell me the full timeline the same day, I can weigh viral against atypical-bacterial from the history and exam, arrange a chest x-ray if the lung picture warrants it, and, for a membership patient, a home visit means you can be listened to at your doorstep instead of sitting in an urgent care.
If it points to walking pneumonia, the prescription is chosen for the bug and the resistance picture, a macrolide such as azithromycin when that fits, or doxycycline when a macrolide has already failed or resistance is likely. If it points to a virus, the plan is honest about that too: the things that soothe a healing airway, a clear list of the red flags that would change the plan, and no antibiotic you do not need. Either way, you leave knowing what this is and what to watch for.
Pediatric coughs are best handled by your child's pediatrician or our home-visit team, since walking pneumonia is common in school-age children and the dosing and evaluation differ.
If you are in the Philadelphia area and stuck with a cough that will not quit, tell Dr. Ash what is going on at Fishtown Medicine.
Key Takeaways
- A lingering-cough illness is circulating in Philadelphia this summer, and much of it fits walking pneumonia from Mycoplasma pneumoniae, which favors the late-summer months.
- Walking pneumonia builds gradually and leaves you functional but unwell, with a dry cough that can last 3 to 6 weeks.
- Amoxicillin and other cell-wall antibiotics cannot treat Mycoplasma, which has no cell wall; a macrolide such as azithromycin or, given rising resistance, doxycycline is what works.
- Most acute bronchitis is viral and needs supportive care, so the goal is to treat the bacterial cases and leave the viral ones alone.
- Pertussis is an underdiagnosed cause of a weeks-long adult cough and belongs on the list.
- Shortness of breath, chest pain, a "bounce back" fever, or a cough worsening past 3 weeks means it is time to be seen.
Related at Fishtown Medicine
- Philadelphia Seasonal Illness Tracker: what is circulating in Philly right now
- Congestion and respiratory relief: for the cold that started it
- Flu strategy and COVID strategy: the winter respiratory playbooks
- Long COVID care: when a cough and fatigue outlast the infection
Scientific References
- Centers for Disease Control and Prevention. About Mycoplasma pneumoniae Infection. https://www.cdc.gov/mycoplasma/about/index.html
- Kinkade S, Long NA. Acute Bronchitis. American Family Physician. 2016;94(7):560-565.
- Pereyre S, Goret J, Bebear C. Mycoplasma pneumoniae: Current Knowledge on Macrolide Resistance and Treatment. Frontiers in Microbiology. 2016;7:974.
- Waites KB, Talkington DF. Mycoplasma pneumoniae and its role as a human pathogen. Clinical Microbiology Reviews. 2004;17(4):697-728.
- Centers for Disease Control and Prevention. Pertussis (Whooping Cough) Surveillance and Trends. https://www.cdc.gov/pertussis/php/surveillance/index.html
Frequently Asked Questions
Common Questions
Deep-Dive Questions
Ready when you are
Dr. Ash reads every intake himself, and answers questions personally - usually within a few hours.



