A parent-friendly guide to pneumonia in children: types, symptoms by age, diagnosis, antibiotics vs. supportive care, expected recovery, prevention, and red ...
Walking Pneumonia in School-Age Kids: Why the Cough Lingers
Published · Last updatedSarah Mitchell
Sarah Mitchell is a Registered Pediatric Nurse and a mother of three who has spent over a decade helping families navigate the beautiful, chaotic early years of childhood. She combines evidence-based medical knowledge with real-world parenting experience to offer practical, compassionate advice. At Awesome Parent, Sarah's mission is to help exhausted parents find solutions, trust their instincts, and finally get some sleep.
In the pediatric clinic, “walking pneumonia” was one of those diagnoses that made parents look at me like I was messing with them. “So… it is pneumonia, but my kid is still walking around the living room asking for snacks?” Yep. That is exactly why it gets that nickname.
In school-age kids, the classic “walking pneumonia” story is often caused by a bacterium called Mycoplasma pneumoniae. But not every milder, slow-burn pneumonia is mycoplasma. Respiratory viruses can do it too, and occasionally other bacteria (like Chlamydia pneumoniae) are in the mix. Either way, the pattern can look deceptively mild at first, and the cough can hang on long after your child seems fine otherwise. Let’s break down what is going on and what you should do next.

What walking pneumonia is
Walking pneumonia is a type of pneumonia where symptoms are often milder than the classic pneumonia many of us picture (high fever, very sick child, fast breathing, clearly miserable). With Mycoplasma pneumoniae, the infection can inflame the airways and sometimes the lung tissue, but many kids still have enough energy to play, go to school, and argue about bedtime.
It is most common in school-age kids and teens, though younger children can get it too. It spreads through respiratory droplets, which is why it can move through classrooms, teams, and households.
Slow-building symptoms
Unlike viral colds that hit hard in the first couple of days, mycoplasma often has a gradual ramp-up. Parents tell me things like: “It started as a little cough… then it just never left.”
Common symptoms
- Persistent dry cough (often the main symptom)
- Sore throat or scratchy throat early on
- Low-grade fever or no fever at all
- Fatigue (some kids are only mildly tired, others are wiped out after school)
- Headache
- Chest discomfort from frequent coughing
- Wheezing can happen, especially in kids with asthma or reactive airways
Some kids will have a runny nose, but often the story is more cough-focused than snot-focused.

Why they can seem OK
Mycoplasma can cause real inflammation in the airways and lungs while still producing relatively mild whole-body symptoms. In plain English: the cough can be intense, but your child may not look as sick as you would expect for pneumonia.
A few reasons this happens:
- Lower or absent fever is common compared with some other pneumonias.
- Symptoms creep in, so kids and parents adjust gradually.
- Cough is out of proportion to how your child looks and acts.
That does not mean it should be ignored. It means you may need to trust the pattern more than your first impression. A cough that is worsening over a week, disrupting sleep, or lingering past the usual cold timeline deserves a check-in.
Why the cough lingers
This is the part that drives families crazy, and I get it. You finally have a kid who is eating again and acting normal, but the cough is still showing up at 2 AM like it pays rent.
With walking pneumonia, the cough can linger because:
- Airway inflammation takes time to settle. Even after the infection is controlled, irritated airways can stay extra sensitive.
- The cough reflex becomes easy to trigger. Cold air, running at recess, laughing, or bedtime lying down can set it off.
- Mucus clearance is slow. Some kids develop a wetter cough later as the lungs and airways clear out.
- Asthma or allergies can amplify it. Mycoplasma can trigger wheezing in kids who are prone to it.
How long can it last? Many kids improve steadily over 1 to 2 weeks, but it is not unusual for the cough to last 3 to 6 weeks. Some kids bounce back faster, some take longer. What matters most is the trend. If the cough is not gradually improving, is getting worse, or is paired with red flags (below), that is a different situation and should be reassessed.
When to call the pediatrician
Call your child’s clinician if any of these are true:
- The cough lasts more than 10 to 14 days without clear improvement
- Fever lasts more than 3 days, returns after improving, or is high (especially 104°F or higher)
- Your child has chest pain, shortness of breath, or is avoiding activity because breathing feels hard
- Cough is causing vomiting or disrupting sleep night after night
- Your child has asthma and symptoms are flaring or rescue inhaler is needed more than usual
- You are hearing wheezing or noticing a whistling sound when they breathe out
Even if it turns out not to be mycoplasma, a prolonged cough often benefits from a focused exam and a plan.

Red flags
If you ever feel like your child is working hard to breathe, trust that instinct and get help right away.
Go to urgent care or the ER now if your child has:
- Trouble breathing, fast breathing, or visible effort (ribs pulling in, belly breathing, flaring nostrils)
- Blue or gray lips/face
- Pauses in breathing or severe lethargy
- Signs of dehydration (very dry mouth, not peeing at least every 8 to 12 hours, dizziness, no tears)
- Confusion or hard to wake
- Persistent chest pain or severe chest tightness
Also seek urgent evaluation for infants, children with chronic lung or heart disease, immune compromise, or if you are unsure. It is always okay to be the parent who asks twice.
Do kids need testing?
Sometimes yes, often no. In real-world pediatrics, walking pneumonia is frequently a clinical diagnosis based on the symptom pattern, lung exam, how long the cough has been going on, and what is circulating in the community.
Testing may be considered when:
- Symptoms are significant and the diagnosis is unclear
- Your child is at higher risk for complications
- Your child is not improving as expected
- There are outbreaks in a school or team setting and the clinician is trying to confirm the cause
What tests might be used?
- Chest X-ray: can show pneumonia changes, though findings can be subtle.
- Respiratory PCR panel (a nose or throat swab): may include mycoplasma in some settings.
- Targeted mycoplasma PCR: depends on local availability.
Blood tests are not always necessary for mild cases, and “just to be sure” testing is not always helpful if it will not change treatment.
Antibiotics
Mycoplasma is a bacteria, but it is a bit unusual. It does not respond to antibiotics like amoxicillin that are commonly used for ear infections and strep throat.
If a clinician suspects or confirms Mycoplasma pneumoniae, they may prescribe an antibiotic that targets atypical bacteria, most commonly a macrolide (such as azithromycin). In older children and teens, other antibiotic options may be considered based on age, allergy history, and local resistance patterns. (Macrolide resistance is reported in some areas, which is one reason your clinician might tailor the plan if your child is not improving.)
Should every lingering cough get antibiotics?
No. Most prolonged coughs in kids are still viral, post-viral irritation, asthma-related, allergy-related, or sinus-related. Antibiotics are considered when the overall story fits walking pneumonia or when an exam and risk factors point in that direction.
What antibiotics can and cannot do
- They may modestly shorten symptoms for some children and may reduce spread after effective treatment starts, but transmission can happen before anyone knows what is going on.
- They do not always stop the cough quickly. Even with the right antibiotic, the cough can take weeks to fully fade because the airways need time to heal.
If your child was prescribed an antibiotic, give it exactly as directed and call your clinician if side effects show up or symptoms are worsening instead of improving.
School and contagiousness
This is the practical question every parent needs answered, especially when the cough seems endless.
In general, kids can return to school when they:
- Have been fever-free for 24 hours without fever-reducing medicine
- Are well enough to participate (reasonable energy, can get through the day)
- Do not have breathing distress
If your child is started on an antibiotic for suspected or confirmed mycoplasma, many clinicians and schools use a practical rule of thumb of returning after about 24 hours of antibiotics if symptoms are improving, but this varies. Mycoplasma can be contagious for a while, and kids can spread it before treatment starts, so follow your pediatrician’s guidance and your school’s policy.
The reality: a lingering cough alone does not always mean your child is too contagious to attend school, but it can be disruptive and exhausting. If they are coughing nonstop, sleeping poorly, or needing frequent breaks, a day or two of rest can help.

What helps at home
There is no magic trick that erases a mycoplasma cough overnight, but you can make nights more manageable.
- Warm fluids: tea, warm water with honey (only for kids over 1 year), broth. This can soothe throat irritation.
- Humidified air: a cool-mist humidifier can help some kids sleep more comfortably.
- Steamy bathroom breaks: 10 minutes of warm shower steam can loosen irritation before bed.
- Sleep positioning: slightly elevated head and chest can reduce nighttime cough triggered by postnasal drip.
- Asthma plan: if your child has asthma, use their prescribed rescue and controller medications as directed, and call if symptoms are escalating.
- Reduce spread: cover coughs, wash hands, do not share drinks or utensils, and get some fresh air and ventilation when possible.
A quick note from my triage nurse brain: over-the-counter cough and cold medicines are not recommended for young children, and even in older kids the benefit is limited. If you are unsure what is safe for your child’s age and health history, ask your pediatrician or pharmacist.
Recovery timeline
What is typical
- Days 1 to 7: cough starts and gradually worsens; mild fever or fatigue may appear
- Week 2: many kids begin to turn the corner; energy improves; cough may persist
- Weeks 3 to 6: cough slowly fades, often lingering with exercise, cold air, or bedtime
Those are common patterns, not a promise. Some kids peak earlier, some later.
Re-check is smart if:
- The cough is not trending better week by week
- Your child is losing weight, not eating, or missing lots of school due to fatigue
- New fever starts after initial improvement
- You notice wheezing, exercise intolerance, or frequent nighttime coughing (possible asthma flare)
Other things it could be
Not every weeks-long cough is walking pneumonia. Depending on the age, vaccines, exposures, and what the cough sounds like, your pediatrician may also think about:
- Pertussis (whooping cough), especially with coughing fits, vomiting after coughing, or known exposure
- Post-viral cough, where the infection is gone but the airways stay irritated
- Asthma or cough-variant asthma, especially with nighttime cough or exercise cough
- Allergies or postnasal drip
- Sinusitis, especially with persistent nasal symptoms plus cough
- Typical bacterial pneumonia, which can look more sudden with higher fever and a sicker-appearing child
This is why a good timeline and a lung exam matter. Treatment changes depending on the cause.
Uncommon symptoms
Most kids with mycoplasma do not have major complications, but occasionally it can come with symptoms outside the lungs. Call your child’s clinician promptly if your child develops new or concerning symptoms like:
- Rash, especially widespread or with blistering
- New ear pain or significant sinus pain
- Severe headache, neck stiffness, confusion, or unusual sleepiness
- Worsening chest pain or fainting
If something feels off beyond “a cough,” you are not overreacting by checking in.
FAQ
Is walking pneumonia contagious?
Yes. Mycoplasma spreads through respiratory droplets, especially with close contact. Good hand hygiene helps, but because it spreads through coughing and talking, it can still move through families and classrooms.
Can my child get it again?
Yes. Immunity is not always long-lasting, so reinfection can happen.
Does a lingering cough always mean the antibiotics did not work?
No. A lingering cough can be part of normal recovery. What matters is the overall trend: improving energy, no breathing distress, fever resolving, and cough gradually becoming less frequent or less intense over time.
Should siblings be treated too?
Not automatically. Siblings who develop symptoms should be evaluated based on their own symptoms and risk factors. Preventive antibiotics for household contacts are not routinely used in otherwise healthy families unless a clinician recommends it for a specific reason.
The bottom line
Walking pneumonia is often sneaky: a slow-building illness in school-age kids where the cough can hang on long after everything else looks normal. The classic cause is Mycoplasma pneumoniae, but not every “walking pneumonia” cough is mycoplasma, which is why patterns, exams, and follow-up matter.
Most children recover well, but it is worth checking in with your pediatrician when the cough is dragging past two weeks, sleep is falling apart, or breathing seems harder than it should.
If you are in that “Is this normal or is this pneumonia?” spiral at 3 AM, you are not alone. Bring the timeline, describe what the cough sounds like, and trust that you are allowed to ask for a clear plan.
Sarah Mitchell
Sarah Mitchell is a Registered Pediatric Nurse and a mother of three who has spent over a decade helping families navigate the beautiful, chaotic early years of childhood. She combines evidence-based medical knowledge with real-world parenting experience to offer practical, compassionate advice. At Awesome Parent, Sarah's mission is to help exhausted parents find solutions, trust their instincts, and finally get some sleep.