Skip to main content

Compared

Viral, bacterial and allergic conjunctivitis compared

Conjunctivitis, or pink eye, is inflammation of the conjunctiva and has three main causes: viruses, bacteria and allergy. They look similar, and clinicians say viral and bacterial infections are hard to tell apart by appearance alone. The more useful differences are itching, contagiousness, how long it lasts and which treatments help. This page explains each type and the red flag signs that need urgent eye review.

Last checked: 2026-10-10

Key facts

At a glance.

  • Most are viral

    NICE Clinical Knowledge Summaries say viral conjunctivitis is the most common infectious conjunctivitis, with the majority of cases caused by adenoviruses.

  • Hard to tell apart

    NICE CKS says it is difficult to differentiate viral and bacterial conjunctivitis clinically, which is why swabs are not taken routinely.

  • Itching points to allergy

    NICE CKS says the most consistent clinical feature of allergic conjunctivitis is itching, and the NHS says allergic conjunctivitis makes eyes red and watery but is not contagious.

  • Different recovery times

    NICE CKS says viral conjunctivitis usually resolves within 7 days and bacterial typically within 5 to 10 days. The NHS says conjunctivitis usually gets better in a couple of weeks without treatment.

  • Antibiotics only for bacteria

    The NHS says antibiotics might be prescribed for bacterial conjunctivitis but will not work if it is caused by a virus or an allergy.

The short answer

The three types share a red eye, so the question is what else is going on. Allergic conjunctivitis is the itchy one, usually with watery eyes and often tied to hay fever or other allergens, and it is not contagious. Viral conjunctivitis is the most common infectious type, and infectious conjunctivitis in general (viral or bacterial) can cause a gritty, burning feeling and a discharge that may make the lids stick together on waking.

Even so, NICE Clinical Knowledge Summaries say that it is difficult to differentiate viral and bacterial conjunctivitis clinically. That is not a failing of the clinician but a feature of the condition, and it is why most guidance emphasises self-care, hygiene and review if there are warning signs rather than trying to put a precise label on every red eye.

What each type is

The NHS says conjunctivitis is an eye condition caused by infection or allergies that usually gets better in a couple of weeks without treatment. It is also known as red or pink eye and usually affects both eyes, making them red, burning or gritty, producing pus that sticks to the lashes, itchy and watery.

NICE CKS describes infective conjunctivitis as inflammation of the conjunctiva due to viral, bacterial or parasitic infection. The most common bacterial causes are Streptococcus pneumoniae, Staphylococcus aureus and Haemophilus influenzae. Allergic conjunctivitis is a group of conditions linked to an IgE hypersensitivity reaction, including seasonal allergic conjunctivitis (tree and grass pollen), perennial allergic conjunctivitis (house dust mites, mould spores or animal dander), and rarer, more severe forms such as vernal and atopic keratoconjunctivitis and giant papillary conjunctivitis, which can be linked to contact lens wear.

Side by side

The table brings together what the NHS and NICE CKS describe. Individual cases do not always follow the pattern.

Viral, bacterial and allergic conjunctivitis compared
FeatureViralBacterialAllergic
CauseMostly adenovirusesBacteria such as Streptococcus pneumoniae, Staphylococcus aureus, Haemophilus influenzaeIgE-mediated reaction to allergens such as pollen, dust mites, animal dander
Typical feelGritty, burning, wateringGritty, burning; purulent discharge may glue the lids together on wakingItching is the most consistent feature, with watery or mucoid discharge
Contagious?YesYesNo
Usual durationUsually within 7 daysTypically 5 to 10 daysDepends on exposure; seasonal, perennial or persistent
Antibiotic dropsDo not helpMay be prescribed, sometimes after a delayDo not help
What helpsCleaning lids, cool compresses, lubricating drops, avoiding contact lensesAs viral, plus antibiotic drops if suspectedAvoiding allergens and eye rubbing, cold compresses, lubricants, antihistamine or mast cell stabiliser drops
Notable complicationEpidemic keratoconjunctivitis (adenovirus) can lead to visual loss and light sensitivityContact lens wear and weakened immunity raise the risk of complicationsHay fever, eczema of the eyelids, contact lens wear

How a clinician tells them apart

NICE CKS says that characteristic features of infective conjunctivitis include redness of the conjunctiva, discomfort described as grittiness, a foreign body feeling or burning, and watering and discharge that may blur vision briefly. Purulent or mucopurulent discharge may cause the lids to stick together on waking. Swabs should not be taken routinely but may be appropriate if the person does not need to be referred to ophthalmology and has not responded to initial treatment.

With allergic conjunctivitis the most consistent feature is itching, and CKS also lists redness, watery or mucoid discharge and swelling of the conjunctiva and eyelid. The NHS gives a visual guide: conjunctivitis that produces sticky pus is contagious, conjunctivitis with red, gritty eyes is also usually contagious, and conjunctivitis caused by allergies such as hay fever makes the eyes red and watery but is not contagious.

Treatment and self-care

For infective conjunctivitis, the NHS suggests washing the eyelids with boiled and cooled water and a clean cotton wool pad for each eye, holding a cold flannel on the eyes to cool them and not wearing contact lenses until the eyes are better. A pharmacist can suggest eyedrops or antihistamines, although a child under 2 needs a prescription from a GP. NICE CKS adds lubricating drops or artificial tears and a judicious approach to topical antibiotics such as chloramphenicol or fusidic acid, where a delayed treatment strategy may be appropriate.

For allergic conjunctivitis, NICE CKS lists avoiding allergens and eye rubbing, cold compresses and ocular surface lubricants, with topical antihistamines or mast cell stabilisers considered, and topical diclofenac as an adjunct if needed.

To stop infectious conjunctivitis spreading, the NHS suggests washing hands regularly, washing pillow cases and face cloths in hot water and detergent, covering the mouth and nose when sneezing and not sharing towels and pillows or rubbing the eyes. It says you do not need to stay away from work or school unless you or your child are feeling very unwell. Some sexually transmitted infections can cause conjunctivitis, and the NHS says this type takes longer to get better.

Red flags and when to seek help

The NHS says to ask for an urgent GP appointment or call NHS 111 if you have pain in your eyes, sensitivity to light, changes in your vision such as wavy lines or flashing, very red eyes in one or both eyes, or a baby less than 30 days old with red, sticky eyes. These can be signs of a more serious eye problem. NICE CKS says that serious causes of red eye, such as acute glaucoma, keratitis, iritis and trauma, must be excluded, and that red flag features include pain, photophobia, a change in visual acuity and a pupillary abnormality.

The NHS says to see a GP if your baby has red, sticky eyes, if you wear contact lenses and have conjunctivitis symptoms as well as spots on your eyelids (you might be allergic to the lenses), or if symptoms have not cleared up within 7 days. NICE CKS notes that contact lens wearers and immunocompromised people have the greatest risk of complications such as keratitis, and that severe, recurrent or persistent conjunctivitis may need discussion with an ophthalmologist.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • How can I tell if conjunctivitis is viral or bacterial?

    It is difficult. NICE CKS says viral and bacterial conjunctivitis are hard to differentiate clinically, so swabs are not routine. Sticky pus that glues the lids together is more suggestive of bacteria, but not conclusive.

  • Is allergic conjunctivitis contagious?

    No. The NHS says conjunctivitis caused by allergies, such as hay fever, makes the eyes red and watery but is not contagious.

  • Do I need antibiotic drops?

    Often not. The NHS says antibiotics might be prescribed for bacterial conjunctivitis but will not work if the cause is a virus or an allergy, and NICE CKS suggests a delayed prescription strategy may be appropriate.

  • How long will it last?

    NICE CKS says viral conjunctivitis usually resolves within 7 days and bacterial typically in 5 to 10 days. The NHS says it usually gets better in a couple of weeks without treatment.

  • Should I stay off work or school?

    The NHS says you do not need to stay away from work or school unless you or your child feel very unwell, but you should wash your hands regularly and avoid sharing towels and pillows.

  • Can I wear contact lenses?

    No. The NHS says not to wear contact lenses until your eyes are better. Contact lens wearers have the greatest risk of complications such as keratitis, according to NICE CKS.

  • What symptoms need urgent review?

    The NHS lists pain in the eyes, sensitivity to light, changes in vision such as wavy lines or flashing, very red eyes and a baby under 30 days old with red sticky eyes.

  • What helps itchy allergic eyes?

    NICE CKS lists avoiding allergens and eye rubbing, cold compresses, lubricating drops and topical antihistamines or mast cell stabilisers. A pharmacist can suggest eyedrops or antihistamines, according to the NHS.

  • Can a baby get conjunctivitis?

    Yes. The NHS says to see a GP if a baby has red, sticky eyes and to get an urgent appointment if the baby is under 30 days old. NICE CKS says untreated infection in newborns can lead to serious complications.

  • Are there rarer allergic types?

    Yes. NICE CKS lists vernal keratoconjunctivitis, atopic keratoconjunctivitis and giant papillary conjunctivitis, which can cause permanent visual loss or structural damage and need ophthalmology involvement.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-10, next review 2027-10-10.