Why Is There Pus in My Eye? Causes Explained

Pus in your eye almost always points to a bacterial infection. The thick, yellow-green discharge that crusts your eyelids shut overnight or collects in the corner of your eye during the day is your immune system fighting off bacteria on the surface of your eye or eyelid. While bacterial conjunctivitis (pink eye) is the most common culprit, several other conditions can produce pus or pus-like discharge, and the color, consistency, and location of the discharge can help narrow down what’s going on.

What the Color of Your Discharge Tells You

Not all eye discharge is pus. The distinction matters because it points to different causes and different levels of urgency.

  • Thick yellow, white-yellow, or green discharge: This is actual pus and strongly suggests a bacterial infection. It tends to be sticky and may glue your eyelids together while you sleep.
  • Thin, watery, or clear-white discharge: This is more typical of a viral infection or allergies. Viral conjunctivitis produces a watery, runny discharge rather than thick pus.
  • Stringy, mucus-like discharge: Allergic conjunctivitis often produces a clear-to-white, stringy mucus. Intense itching is the hallmark sign that allergies are the cause, not bacteria.

If your discharge is genuinely thick and yellow or green, keep reading. You’re likely dealing with one of the bacterial causes below.

Bacterial Conjunctivitis (Pink Eye)

This is the single most common reason for pus in the eye. Bacterial conjunctivitis comes on quickly, often starting in one eye and spreading to the other within a day or two. The discharge is mucopurulent, meaning it’s a mix of mucus and pus that ranges from white-yellow to green. You’ll notice redness across the white of the eye, a gritty or irritated feeling, and lids that stick together after sleep.

The good news is that most cases resolve on their own within about a week, even without treatment. Antibiotic eye drops can speed recovery and are typically used for five to seven days. If your symptoms haven’t improved after one to two days on drops, that’s a signal to follow up with your eye care provider, because the bacteria involved may need a different approach.

One form to be aware of: hyperacute bacterial conjunctivitis, most often caused by the gonorrhea bacterium, produces an extremely heavy outpouring of pus, sometimes described as “hyperpurulent.” It can damage the cornea rapidly and needs immediate treatment.

Styes and Eyelid Bumps

A stye looks like a small pimple on or near the edge of your eyelid. It’s a localized infection of an oil gland or hair follicle, and it can produce pus that drains into the eye or onto the lashes. Unlike conjunctivitis, which causes redness across the entire eye, a stye creates a tender, swollen spot in one specific area. You may also notice increased tearing and crusting around the eyelids.

Most styes drain and heal on their own within a week. Warm compresses applied for 10 to 15 minutes several times a day help speed that process. If the bump doesn’t drain or keeps growing, it may have become a chalazion, a painless but persistent cyst that sometimes needs professional drainage.

Blepharitis and Crusty Eyelids

If you wake up every morning with crusty, flaky buildup on your eyelashes rather than thick pus pooling in your eye, blepharitis is a likely cause. This is chronic inflammation of the eyelid margins, often triggered by clogged oil glands along the lid edge. The clogged glands produce an irritating buildup that mixes with your tear film, leading to crusty lashes, dry eyes, and sometimes a mild sticky discharge.

Blepharitis isn’t a one-time infection. It tends to come and go. Regular lid hygiene, including warm compresses and gentle cleaning of the lid margins, is the main way to keep it under control.

Blocked Tear Duct Infections

Your tears normally drain from the eye through a small duct into your nasal passages. When that duct gets blocked, tears pool and stagnate in the tear sac near the inner corner of your eye. That stagnant fluid can become infected, a condition called dacryocystitis. The result is pain, swelling, and redness concentrated at the inner corner of the eye, near the nose, with pus that may leak out when you press on the area.

This is different from conjunctivitis because the redness and swelling are focused in that one spot rather than spread across the whole eye. Blocked tear ducts are especially common in newborns and in adults over 40.

Contact Lens Infections

Wearing contact lenses raises the risk of a specific and more serious type of infection: microbial keratitis, where bacteria, fungi, or even parasites invade the cornea itself. Sleeping in lenses, wearing them longer than recommended, or not cleaning them properly all increase the risk. Symptoms include worsening pain that continues even after you take the lens out, redness, light sensitivity, blurry vision, and discharge.

This is not ordinary pink eye. Microbial keratitis can lead to permanent vision loss or the need for a corneal transplant in severe cases. If you wear contacts and develop pus along with pain and blurred vision, remove your lenses immediately and get evaluated the same day.

Pus in a Newborn’s Eyes

Eye discharge in the first few weeks of life has its own set of causes. A blocked tear duct is the most benign explanation and is very common in infants. But pus specifically can signal an infection passed from mother to baby during delivery.

Chlamydial conjunctivitis typically appears 5 to 12 days after birth, with red eyes, swollen lids, and pus. Gonococcal conjunctivitis shows up earlier, usually within the first 2 to 5 days, and produces thick, heavy pus. Both require prompt treatment to prevent serious eye damage. This is one reason newborns receive antibiotic eye ointment at birth as a preventive measure.

When Eye Pus Is an Emergency

Most cases of eye pus are caused by ordinary bacterial conjunctivitis and clear up without complications. But certain combinations of symptoms signal something more serious:

  • Severe pain with redness: Pain that goes beyond mild irritation, especially if it’s deep or throbbing, can indicate a corneal ulcer or deeper infection.
  • Sensitivity to light: Persistent light sensitivity alongside discharge suggests the cornea or inner structures of the eye may be involved.
  • Blurred or decreased vision: Any change in how well you can see, combined with pus, warrants same-day evaluation.
  • Copious pus that reaccumulates within minutes: Hyperpurulent discharge can signal gonococcal infection, which can damage the cornea within hours.
  • Nausea or headache with eye pain: This combination may point to glaucoma or other conditions unrelated to surface infection.

Straightforward bacterial pink eye feels more annoying than painful. If your eye genuinely hurts, if light bothers you, or if your vision is affected, those are the signs that separate a routine infection from one that needs urgent attention.