What treatment looks like for a child with pneumonia
Treatment for pneumonia in children depends on what caused it — whether a virus, bacterium, or sometimes both — and how sick your child is. A doctor will examine your child, often order a chest X-ray, and sometimes take a sample to identify the cause. From there, the plan might be antibiotics (which work only against bacteria), supportive care at home, or hospital admission if your child is struggling to breathe or having trouble keeping fluids down.
Most children with pneumonia recover at home with close watching and time. The goal is to ease symptoms while your child's body or the medication fights the infection. This usually takes one to three weeks, though a lingering cough can last longer.
Key Takeaways
- Bacterial pneumonia is treated with antibiotics, which a doctor prescribes only after confirming bacteria is the cause — usually through a chest X-ray or blood test.
- Viral pneumonia does not respond to antibiotics; treatment focuses on rest, fluids, fever management, and monitoring for worsening symptoms.
- Most children recover at home, but hospital care is needed if your child has rapid or labored breathing, low oxygen levels, or cannot drink fluids.
- Symptoms often worsen before they improve, and a cough can persist for weeks even after the infection clears.
- Follow-up care includes watching for signs of relapse and, in some cases, a repeat X-ray to confirm the lungs have cleared.
How doctors decide between antibiotics and supportive care
When your child arrives at the doctor's office or hospital, the first step is figuring out whether bacteria or a virus is causing the pneumonia. A chest X-ray usually shows pneumonia, but it does not always tell the doctor which type. The doctor will also ask about your child's symptoms, how quickly they started, and whether other children in your area have had similar illnesses recently.
If the doctor suspects bacterial pneumonia — because of the pattern of symptoms, a high fever, or findings on the X-ray — they will prescribe an antibiotic. Common choices for children include amoxicillin, amoxicillin-clavulanate, or azithromycin, depending on your child's age and what bacteria is most likely in your area. If the doctor suspects a virus, no antibiotic will be given, because antibiotics do not fight viruses.
Sometimes a doctor will prescribe an antibiotic even when a virus is suspected, because it is hard to be certain right away and the risk of missing bacterial pneumonia is serious. This is called empiric treatment. If your child improves quickly and tests later show a virus, the antibiotic may be stopped.
What to do at home while your child recovers
Most children with pneumonia are treated at home. Your job is to manage symptoms, watch for warning signs, and make sure your child stays hydrated and rested.
Fever and pain: Use acetaminophen or ibuprofen as directed on the package for your child's age and weight. Fever itself is not dangerous — it is your body fighting infection — but bringing it down makes your child more comfortable. Do not use aspirin in children.
Fluids: Offer water, broth, juice, or milk frequently. Pneumonia can make breathing harder, which makes eating and drinking tiring. Small, frequent sips are easier than large meals. If your child refuses to drink or vomits after drinking, contact your doctor.
Rest: Let your child rest as much as they want. Activity will not slow recovery, but rest helps the body heal. Your child does not need to stay in bed, but quiet play indoors is better than running around.
Humidity: A humidifier or steam from a hot shower can ease a cough and make breathing feel easier, though it will not speed healing. Make sure the humidifier is clean to avoid spreading mold.
When your child needs hospital care
Most children recover at home, but some need to stay in the hospital. Your child may be admitted if they are having trouble breathing, their oxygen level is too low, they cannot drink fluids or are vomiting, they are very young (under 3 months), or they have other health conditions that make pneumonia more serious.
In the hospital, your child will be monitored closely. Nurses will check oxygen levels, breathing rate, and heart rate regularly. Your child may receive oxygen through a mask or tubes in the nose, fluids through an IV if they cannot drink, and antibiotics through an IV or by mouth. Most children stay for a few days to a week, depending on how quickly they improve.
How long recovery takes and what to expect
Pneumonia does not follow a straight line to recovery. Your child may seem to get worse before getting better, especially in the first few days. A fever might spike, the cough might become more frequent, or your child might seem more tired. This is normal and does not mean the treatment is not working.
With antibiotics for bacterial pneumonia, fever usually drops within 24 to 48 hours. Your child will likely feel more energetic and eat better within a few days. However, the cough often lingers for two to four weeks, even after the infection is gone. This is because the airways are still healing and clearing out fluid and dead cells.
For viral pneumonia, there is no medication to speed things up, so recovery simply takes time — usually one to three weeks. Fever may last longer, and the cough can be stubborn.
Signs that something is wrong and when to call the doctor
While your child is recovering at home, watch for these warning signs and contact your doctor if they appear:
- Breathing becomes faster, harder, or noisier (wheezing or stridor — a high-pitched sound when breathing in)
- Your child's lips, tongue, or fingernails turn blue or gray
- Your child seems confused, very sleepy, or hard to wake
- Fever returns or gets higher after improving
- Your child refuses to drink for more than a few hours or vomits repeatedly
- Chest pain, especially when breathing or coughing
- Symptoms improve, then suddenly get worse again
If your child has any of these signs, call your doctor right away or go to the emergency room. Do not wait for an appointment.
Follow-up visits and when to return to school or activities
Your doctor will want to see your child again after treatment starts — usually within a few days to a week — to make sure the pneumonia is improving. At this visit, the doctor will listen to your child's lungs and may order another chest X-ray if recovery is slower than expected or if symptoms are not improving.
Your child can return to school or daycare once the fever is gone without medication and your child feels well enough to keep up with normal activities. This is usually after three to five days of treatment for bacterial pneumonia. A lingering cough does not mean your child needs to stay home — the infection is no longer spreading once fever is gone.
Strenuous exercise or sports can usually resume once your child has been fever-free for a few days and is back to normal energy levels. Start slowly and watch for shortness of breath or chest pain.
Preventing pneumonia in the future
While not every case of pneumonia can be prevented, vaccines reduce the risk. The pneumococcal vaccine (PCV13 or newer versions) protects against the bacteria that most commonly causes bacterial pneumonia in children. The flu vaccine each year reduces the risk of pneumonia from influenza. Ask your child's doctor which vaccines are recommended for your child's age.
Other steps include teaching your child to wash hands regularly, especially before eating and after using the bathroom, and keeping your child away from people who are sick when possible. Secondhand smoke increases the risk of pneumonia, so avoiding smoke around your child also helps.
Frequently Asked Questions
Can my child go to school while taking antibiotics?
Yes, once the fever is gone without medication and your child feels well enough to participate in normal activities. Most doctors say this is safe after 24 hours of antibiotic treatment. Check with your child's school about their specific policy, as some require a doctor's note.
Why does my child still have a cough weeks after pneumonia?
The cough is caused by inflammation and fluid in the airways, which takes time to clear even after the infection is gone. A lingering cough for two to four weeks is normal and does not mean the pneumonia is returning. If the cough lasts more than four weeks or gets worse, mention it at your next doctor visit.
What if my child's fever does not go down with antibiotics?
Fever usually drops within 24 to 48 hours of starting antibiotics, but it can take longer in some children. If fever persists beyond three days, or if your child seems sicker rather than better, call your doctor. This might mean the antibiotic is not the right one, the cause is viral rather than bacterial, or something else is going on.
Can pneumonia come back after treatment?
True relapse is uncommon if your child finished the full course of antibiotics. However, your child can catch pneumonia again from a different germ. If your child gets sick again within a few weeks with similar symptoms, contact your doctor — they may want to check whether the first infection fully cleared.
Is it safe to use cough medicine in children with pneumonia?
Over-the-counter cough medicines are not recommended for children under 4 years old and have limited benefit in older children. A cough actually helps clear the lungs, so suppressing it is not always helpful. Ask your doctor before giving any cough medicine. Honey (for children over 1 year) can soothe a cough safely.