Emergency?Call 911 or go to the nearest emergency department.

Parent resources · Symptoms & common illnesses

Pneumonia in Children: When a Cough Needs a Closer Look

What to watch for beyond the cough, when to seek care, and what treatment and recovery usually involve.

About 7 min read
On this page

Most coughs in children come from ordinary colds and get better on their own. But sometimes a cough is a sign of pneumonia—an infection deep in the lungs.

This guide explains what pneumonia is, how to tell when a cough needs attention, and when to call your child's doctor or seek emergency care.

What is pneumonia?

Pneumonia is an infection that inflames the air sacs in one or both lungs, making it harder for your child to breathe. Most children recover fully, and many can be treated at home after medical assessment.

Viruses are a common cause, especially in babies and preschool-aged children. These include viruses that also cause colds and flu, such as RSV. Pneumonia can also be caused by bacteria, and sometimes viral and bacterial infections occur together.

In school-age children and teens, Mycoplasma pneumoniae is another possible cause. It can cause a milder illness often called “walking pneumonia,” although some children become more unwell.

Not every child with pneumonia needs antibiotics. The clinician considers the child's age, examination, illness pattern, and likely cause when choosing treatment.

How pneumonia usually starts

Pneumonia often begins looking like a common cold: runny nose, congestion, and a cough.

Over a few days, instead of improving, the child may get worse. Fever may persist or return, the cough may worsen, and breathing may become faster or harder.

A child who was starting to improve and then becomes noticeably worse should be checked. This pattern does not prove pneumonia, but it is a useful reason to contact the pediatrician.

The signs that matter most

A cough by itself—even a bad-sounding one—is usually not the most important sign. Pay close attention to how hard your child is working to breathe and how fast they are breathing.

Watch for:

  • Fast breathing, especially while calm or asleep rather than crying or active
  • Working hard to breathe: skin pulling inward between or under the ribs or at the base of the neck with each breath
  • Nostrils flaring with each breath
  • Grunting with breathing out, particularly in a baby
  • Fever, poor appetite, and low energy along with the cough
  • Chest or belly pain, or pain when breathing

These signs can occur with other illnesses too. They tell you that your child may need assessment; they cannot diagnose pneumonia at home.

How to count breathing

With your child resting quietly, count chest or belly rises for a full minute. One rise and fall counts as one breath. Tell the clinician the number and whether your child was calm, asleep, crying, or feverish.

Normal breathing rates change with age. Babies breathe faster than older children, so there is no single number that works for every child. A rate that is persistently faster than usual deserves prompt advice.

Fever can speed up breathing. If your child is otherwise breathing comfortably, you can observe the rate again as they settle or become more comfortable. Do not delay care to count breaths or wait for the fever to fall if breathing looks difficult.

Our Coughs, Colds & RSV guide explains retractions and other signs of increased breathing effort.

When to call your child's doctor

Call now for breathing that is noticeably faster than usual or any new breathing difficulty. Your child may need assessment immediately rather than waiting for a later appointment. Use the emergency guidance below for more serious signs.

Arrange same-day advice or evaluation for a cough or cold with:

  • Fever lasting more than about 3 days, returning after improvement, or worsening after several days
  • A cough that is steadily worsening
  • Less drinking or fewer wet diapers than usual
  • Chest pain or significant belly pain
  • Symptoms that have lasted about a week without beginning to improve
  • Increasing tiredness or a child who seems much less like themselves

Children with heart, lung, or immune-system conditions may need earlier assessment. Follow their medical team's plan.

Trust your instincts. If something feels wrong even without a specific sign on this list, it is reasonable to call.

When to seek emergency care right away

Call 911

  • Severe trouble breathing, gasping, or struggling for each breath
  • Blue or gray lips, tongue, or face
  • Pauses in breathing
  • Being unresponsive, very hard to wake, or unusually limp
  • A seizure that is happening now, a first seizure, or failure to recover normally afterward
  • Any situation in which your child appears to have a life-threatening emergency or may worsen dangerously during the drive

Go to the emergency department promptly

  • Significant pulling in around the ribs or neck with each breath
  • Grunting with each breath
  • Difficulty drinking, feeding, speaking, or crying because breathing is taking too much effort
  • Inability to keep fluids down with signs of dehydration
  • A harsh, high-pitched sound when breathing in—called stridor—while calm or resting
  • A baby with breathing difficulty

If these signs are severe, worsening quickly, or make transport unsafe, call 911.

Stridor usually points to an upper-airway problem rather than pneumonia, but it still needs prompt assessment when present at rest.

What to expect at the visit

The doctor will assess the illness pattern, examine your child, and listen to the lungs. They may check the oxygen level with a painless sensor on a finger or toe.

A chest X-ray or blood tests are not always needed. They may be useful when the diagnosis is uncertain, the child is more unwell, oxygen is low, a complication is suspected, or recovery is not going as expected.

Many children are treated at home. If typical bacterial pneumonia is suspected, amoxicillin is often a first choice. Another antibiotic may be needed depending on the likely germ, allergies, and other circumstances.

Antibiotics do not treat viruses. Some viral infections have specific treatments, but supportive care is the main treatment for many children with viral pneumonia. Because the cause is not always clear, let the clinician guide the decision.

Ask when your child should be reviewed and what changes should prompt an earlier call. Our Antibiotics for Children guide covers safe use and common side effects.

Caring for your child at home

Once a clinician has assessed your child and recommended home treatment:

  • Offer fluids in small, frequent amounts. Continue breast milk or formula for babies.
  • Use acetaminophen or ibuprofen for discomfort when appropriate for age and weight. Ibuprofen is generally used from age 6 months; avoid it in a dehydrated child unless the clinician advises otherwise. See our Fever in Children guide for weight-based dosing and precautions.
  • Allow rest and quiet activities as tolerated.
  • Keep the home smoke-free and avoid vaping exposure.
  • Give any prescribed antibiotic for the dose and number of days directed, unless the clinician changes the plan.
  • Do not use cough suppressants to treat pneumonia unless your child's clinician specifically recommends a product. Avoid routine over-the-counter cough and cold medicines in children under 6 unless specifically advised.

What recovery should look like

Breathing, fever, drinking, and energy should gradually improve. A cough can linger for several weeks even while the child is otherwise recovering.

Contact the clinician if your child is not starting to improve within about 48 to 72 hours of starting antibiotics. Seek help sooner for worsening symptoms, new fever after improvement, more difficult breathing, poor drinking, or increasing sleepiness.

Keep the follow-up arranged by your clinician. A lingering cough is more reassuring when breathing is comfortable, fever has settled, and your child is steadily returning to usual activities.

Preventing pneumonia

Keeping recommended immunizations current helps prevent several infections that can cause pneumonia. These include vaccines against pneumococcus, Hib, whooping cough, and influenza when eligible.

Regular handwashing, covering coughs, and keeping your child away from tobacco smoke also help reduce risk. No measure prevents every case.

Key takeaways

  • Watch breathing effort, alertness, drinking, and the overall illness pattern—not only how the cough sounds.
  • Fast or difficult breathing needs prompt medical advice. Severe difficulty, color changes, pauses in breathing, or difficulty waking needs 911.
  • Do not wait for fever medicine to work when breathing looks difficult.
  • A clinician can often diagnose pneumonia without an X-ray.
  • Antibiotics help bacterial pneumonia; the choice depends on the likely cause.
  • Seek reassessment if recovery stalls or symptoms worsen.

Medical references

Browse all parent resources