Skip to content

Viral or bacterial infection in a child: what the difference is

Why a parent cannot tell a virus from a bacterium by outward signs, what actually helps the doctor, and why an antibiotic is never prescribed “just in case”.

This is probably the most frequent question at an appointment: “Is ours a virus or a bacterium?” A parent asks it to know whether an antibiotic is needed. The honest answer has two parts: the distinction really is fundamental, and at the same time it is almost never established by the signs people rely on at home.

The fundamental difference

Viral infections are the most common cause of fever, cough, and runny nose in children. They resolve on their own, and antibiotics do not work on them. Bacterial infections are less common, but some of them require antibiotic treatment. The doctor's task is not to guess but to assess whether there are grounds to suspect a bacterial infection that needs treatment.

Signs that prove nothing

  • The colour of nasal discharge. Yellowish or greenish mucus is a normal stage of a viral runny nose, not a sign of a bacterial infection and not an indication for an antibiotic.
  • The height of the fever. It does not separate a viral infection from a bacterial one.
  • A red throat. Redness alone does not distinguish viral pharyngitis from bacterial.
  • The presence of a cough. A cough accompanies both viral and bacterial processes.
It is precisely because of these false guides that antibiotics are so often taken where they are not needed. Clinical guidelines on acute cough, sore throat, and sinusitis are built on the principle that prescribing an antibiotic is a decision, not an automatic step.

Why this question usually cannot be settled at home

It is not a lack of parental experience. Viruses and bacteria cause inflammation through the same pathways, so in the first days of an illness the picture is the same: fever, malaise, redness, discharge. The difference shows not in a single sign but in the combination of the examination, the course of the illness over time, and the child's age — that is, in things that cannot be judged from one look and one day.

There is a second reason too: a bacterial infection often joins a viral one rather than replacing it. A child can start with a viral infection and, after a few days, develop a bacterial complication — an ear infection, sinusitis, pneumonia. So the right question is not “what was it on day one” but “how is the illness developing now”.

What the doctor actually looks at

  • The child's general condition and how it changes over time.
  • Breathing: rate, effort, any indrawing, the findings on listening to the chest.
  • The local picture: ears, throat, tonsils, lungs, skin.
  • The course of the illness: a typical gradual improvement, or a worsening after a period of improvement.
  • The child's age and accompanying conditions.
  • Additional investigations where needed.

What tests can and cannot do

Investigations help the doctor, but they do not replace the examination and do not answer “virus or bacterium” on their own. A rapid strep test answers one narrow question and only for a sore throat; inflammatory markers in the blood change in viral infections too; virology panels show which virus was found but do not rule out a simultaneous bacterial complication. That is exactly why a test taken on your own initiative and read without a doctor usually adds anxiety rather than clarity.

The practical conclusion follows: the investigation that makes sense is the one whose result will change the plan. Whether one is needed right now, and which one, is decided at the appointment — after the examination, not before it.

Why an antibiotic “just in case” is a bad idea

An antibiotic does not speed up recovery from a viral infection, but it does cause side effects and contributes to bacteria becoming resistant to treatment. That is why modern guidelines do not prescribe an antibiotic automatically for a cough, a sore throat, or sinusitis: they assess who genuinely needs one.

This has a measurable price, not just a theoretical one. According to public health services, side effects of antibiotics in children are the most common cause of medication-related visits to emergency care. In other words, “try an antibiotic, it might help” is not a neutral action with zero risk.

  • Antibiotics do not work on viruses — not for colds and runny noses, not for most sore throats, not for most cases of bronchitis.
  • Some bacterial infections also resolve without an antibiotic: this happens with many cases of sinusitis and some ear infections.
  • Never give a child an antibiotic prescribed for someone else or left over from a past illness: it delays the treatment that is actually needed and adds the risk of side effects.
  • A change in the colour of discharge and the length of the illness do not, on their own, move an infection into the “antibiotic needed” category.
This material contains no treatment schemes, drug names, or doses. The decision about whether an antibiotic is needed is made by a doctor after examining the individual child.

“Viral” does not mean “nothing needs doing”

The conclusion “it is a viral infection” is not a refusal to help and not the end of the conversation. It means that treatment is aimed at the child's condition rather than at the pathogen, and that what works next is observation: the doctor explains what to expect, which signs to watch, and which changes mean coming back sooner than planned. If the situation changes, the decision changes too — including in favour of an antibiotic.

The other side matters just as much: some bacterial infections call not for reflection but for a prompt examination. The warning signs at the end of this page apply regardless of which conclusion you lean towards at home — with them, the child needs to see a doctor, not a home attempt to determine the nature of the infection.

Sources

  1. NICE. Overview | Fever in under 5s: assessment and initial management | Guidance | NICE (accessed: 2026-09-19)
  2. WHO. Pneumonia in children (accessed: 2026-09-19)
  3. NICE. Overview | Cough (acute): antimicrobial prescribing | Guidance | NICE (accessed: 2026-09-19)
  4. NICE. Overview | Sore throat (acute): antimicrobial prescribing | Guidance | NICE (accessed: 2026-09-19)
  5. NICE. Overview | Sinusitis (acute): antimicrobial prescribing | Guidance | NICE (accessed: 2026-09-19)
  6. CDC. Healthy Habits: Antibiotic Do's and Don'ts | Antibiotic Prescribing and Use | CDC (accessed: 2026-09-19)
  7. CDC. About Strep Throat | Group A Strep | CDC (accessed: 2026-09-19)
  8. CDC. Sinus Infection Basics | Sinus Infection | CDC (accessed: 2026-09-19)

This page is for general information only and is not a substitute for a consultation with a doctor. A child's diagnosis and treatment are determined by a doctor during an examination.

When to seek urgent care

  • difficult or rapid breathing, indrawing of the chest
  • the child is listless and hard to wake
  • a rash that does not fade when pressed
  • the child refuses to drink; signs of dehydration
  • the condition worsened after several days of improvement
  • the illness lasts longer than expected for an ordinary cold

Frequently asked questions

Green mucus in a child — does that mean an antibiotic is needed?

No. A change in the colour of the discharge is a normal stage of a viral runny nose. On its own it does not point to a bacterial infection and is not a reason for an antibiotic.

Can a blood test tell a virus from bacteria?

Laboratory results can help the doctor, but they are interpreted only together with the examination and the course of the illness. A test done on your own and read without a doctor misleads more often than it helps.

The doctor did not prescribe an antibiotic — does that mean no treatment is happening?

The decision not to prescribe an antibiotic is also a medical decision, based on the assessment of the child. With a viral infection, treatment is aimed at the child's condition, and watching the course is part of the plan: the doctor explains which changes mean coming back.

Can a viral infection turn into a bacterial one?

A bacterial infection can join a viral one — that is how ear infections, sinusitis, and pneumonia arise. It is usually visible in the course: the child had started to improve and then worsened again, or the illness does not subside within the expected time. That is a reason for a repeat examination, not for starting an antibiotic on your own.

If the doctor cannot say for sure, why come in at all?

The appointment is not about naming the pathogen; it is about assessing the child's condition: breathing, dehydration, the local picture in the ears, throat, and lungs, and the course of the illness. That assessment determines whether investigations are needed, whether an antibiotic is needed, and when to return — and it is exactly what cannot be done at home.

See also