Pink eye can be bacterial, but it isn’t always. Conjunctivitis (the medical name for pink eye) has three main causes: bacteria, viruses, and allergies. Bacterial pink eye is one of the most common forms, especially in children, and it’s the type most likely to produce thick, yellowish discharge that crusts your eyelids shut overnight.
How to Tell If Your Pink Eye Is Bacterial
The hallmark of bacterial pink eye is purulent discharge, a thick, opaque fluid that’s usually yellow or green. This discharge is heavy enough to mat your eyelids together, especially after sleep. You’ll also typically notice redness, swelling of the eyelids, and sometimes a gritty or painful sensation. Vision can be slightly blurry, usually because of the discharge film sitting on the surface of the eye.
That said, the CDC notes that signs and symptoms of bacterial conjunctivitis overlap significantly with viral and allergic forms, which can make diagnosis difficult even for clinicians. No single symptom is a guaranteed indicator. But a few patterns help narrow it down:
- Bacterial: Thick yellow or green discharge, eyelids stuck together in the morning, may start in one eye and spread to both.
- Viral: Watery, clear discharge, often accompanies a cold or upper respiratory infection, tends to affect both eyes.
- Allergic: Intense itching is the dominant symptom, watery eyes, usually affects both eyes at once, and coincides with allergy triggers like pollen or pet dander.
If you’re trying to figure out what type you have, the consistency of the discharge is your best clue. Thick and colored points toward bacterial. Thin and watery points toward viral or allergic.
What Causes Bacterial Pink Eye
Different bacteria tend to cause pink eye depending on your age and the severity of the infection. In children, the most common culprits are the same bacteria responsible for ear infections and sinus infections. In adults, chronic cases are more often linked to staph bacteria, the type commonly found on skin.
There are also more aggressive forms. Hyperacute bacterial conjunctivitis comes on fast, produces severe symptoms, and is caused by sexually transmitted bacteria. This type requires prompt treatment because it can damage the cornea quickly. Chlamydia can also cause pink eye, typically appearing in one eye with heavy discharge, and it’s more common in sexually active young adults and newborns exposed during delivery.
Does Bacterial Pink Eye Need Antibiotics?
Not always. Mild bacterial pink eye often clears up on its own in 2 to 5 days without any medication, though it can take up to 2 weeks to fully resolve. The American Academy of Ophthalmology notes that mild bacterial conjunctivitis is likely to be self-limited, and indiscriminate use of topical antibiotics should be avoided.
When antibiotics are prescribed, they come as eye drops or ointment. They can shorten how long the infection lasts, reduce the chance of complications, and help prevent spreading it to other people. No single antibiotic has been shown to work better than another for standard bacterial pink eye.
Antibiotics make the most sense when symptoms are moderate to severe, when the infection isn’t improving after a few days, or when you need to get back to work or school quickly. For young children in daycare settings, treatment can also help limit outbreaks.
Managing Symptoms at Home
While you wait for bacterial pink eye to clear, whether you’re using antibiotics or not, a few things help with comfort. A clean, warm compress held gently over your closed eye can loosen the crusty discharge and soothe irritation. Use a fresh cloth each time to avoid reinfecting yourself or spreading bacteria to the other eye.
Wash your hands frequently, especially after touching your face. Avoid sharing towels, pillowcases, or eye makeup. If you wear contact lenses, switch to glasses until the infection is completely gone, and discard any lenses you wore while symptomatic.
How Long You’re Contagious
Bacterial pink eye is contagious as long as symptoms are present. It spreads through direct contact with the discharge from an infected eye, or through contaminated hands, towels, and surfaces. The CDC advises that you can generally return to work or school once symptoms have cleared, though your doctor may approve an earlier return if you don’t have a fever and your job or classes don’t involve close contact with others.
If you’re using antibiotic drops, you typically become less contagious within 24 to 48 hours of starting treatment. This is one of the practical reasons some people opt for antibiotics even when the infection might resolve on its own: it shortens the window during which you can spread it.
When Bacterial Pink Eye Gets Serious
Most bacterial pink eye is a nuisance, not a danger. But certain types warrant faster attention. If your symptoms come on very suddenly with severe swelling, extreme redness, and heavy discharge within hours rather than days, that pattern fits hyperacute conjunctivitis, which can threaten your vision if untreated. Similarly, if you notice significant pain (beyond mild discomfort), sensitivity to light, or meaningful changes in your vision, those are signs the infection may be affecting the cornea rather than just the surface membrane.
Newborns who develop pink eye in the first month of life need immediate evaluation, since bacterial conjunctivitis in infants can progress quickly and may signal an infection acquired during birth.

