What Is Eye Discharge? Causes, Colors, and Care

Eye discharge is the combination of mucus, oils, skin cells, and other debris that collects in the corners of your eyes or along your eyelid margins. A small amount of this material, especially when you wake up, is completely normal. Your eyes continuously produce a thin film of tears, oils, and protective mucus throughout the day, and when you sleep, this material accumulates rather than being blinked away. The result is that familiar crusty residue in the morning. When discharge changes in color, consistency, or amount, it usually signals that something is irritating or infecting the eye.

What Eye Discharge Is Made Of

The tear film that coats your eyes is a multilayered structure of water, salts, proteins, and lipids. The oily component comes from tiny glands along your eyelid margins called meibomian glands. Their secretion is remarkably complex, containing wax esters, cholesterol esters (making up about 30 to 33% of the oil by weight), fatty acids, and dozens of other lipid compounds. These oils prevent your tears from evaporating too quickly.

Normal eye discharge is mostly dried-down tear film mixed with shed cells and dust that settled on the eye’s surface overnight. The mucus component comes from specialized cells in the clear membrane covering your eye, while the oily portion includes remnants of burst meibomian gland cells, along with fragments of their proteins and even degraded DNA. All of this is harmless in small amounts and simply means your eyes are doing routine maintenance.

What Different Colors and Textures Mean

The appearance of eye discharge tells you a lot about what’s causing it.

  • Clear and watery: Viral infections, allergies, or dry eye irritation. This is the most common type and often comes with redness or a gritty feeling.
  • White and stringy or foamy: Dry eye disease or blepharitis (inflammation of the eyelid margins). When your tear film breaks down, the remaining mucus can form sticky strands. Allergic eye conditions can also produce thick, ropy mucus.
  • Yellow or green and thick: Bacterial infection is the most likely cause. This type of discharge often crusts overnight and can glue your eyelids shut by morning.
  • Crusty residue that seals eyelids: Can occur with both viral and bacterial conjunctivitis, but eyelids glued shut on waking is one of the strongest indicators of a bacterial cause.

Common Causes of Abnormal Discharge

Conjunctivitis (Pink Eye)

Conjunctivitis is the most frequent reason for noticeable eye discharge. About 80% of infectious conjunctivitis cases are viral, while roughly 32% of cases that present with pus-like discharge or glued eyelids turn out to be bacterial on culture. Viral conjunctivitis tends to produce watery discharge, often starts in one eye and spreads to the other, and commonly accompanies a sore throat or swollen lymph node near the ear. Bacterial conjunctivitis produces thicker, more purulent discharge and is more common in older adults.

Allergies

Allergic reactions in the eye trigger a cascade of immune activity that produces thick, stringy mucus. The discharge in allergic conjunctivitis tends to be white or clear rather than yellow. You’ll typically notice intense itching, which is the key feature that separates allergies from infections. People who wear contact lenses can develop a related condition called giant papillary conjunctivitis, where the lens itself acts as a foreign body and provokes a similar allergic-type response with mucus buildup.

Dry Eye Disease

This one is counterintuitive. Dry eyes can actually cause excess discharge. When the eye’s surface dries out, it triggers reflex tearing, a flood of watery tears that lack the balanced oil and mucus of a healthy tear film. At the same time, the mucus-producing cells work overtime, leaving behind sticky, stringy residue. In severe cases, strands of mucus can attach directly to the cornea.

Blepharitis

Inflammation of the eyelid edges disrupts the meibomian oil glands and creates foamy, white, or sometimes yellow-green discharge. The eyelids may feel crusty in the morning, and you might notice flaky debris at the base of your eyelashes, similar to dandruff.

Blocked Tear Ducts in Babies

Anywhere from 6 to 20% of newborns have a partially blocked tear drainage system. This causes tears and mucus to pool rather than drain into the nose, leading to sticky, watery discharge from one or both eyes. The good news is that about 90% of affected infants resolve on their own by six months of age, and over 90% clear up by their first birthday.

How to Clean Eye Discharge Safely

For routine or mild discharge, a warm compress is the standard approach. Soak a clean washcloth in warm water, wring it out, and hold it gently against your closed eyelid. This softens crusty buildup and helps loosen material stuck to your lashes. You can do this three or four times a day when discharge is bothersome.

A few things matter more than people realize. If only one eye is affected, use a separate cloth for each eye to avoid spreading an infection. Always wipe from the inner corner outward. Wash your hands before and after touching the area. Avoid rubbing your eyes, especially with allergic or infectious discharge, since rubbing can worsen inflammation and spread bacteria or viruses to the other eye or to other people.

For contact lens wearers, take your lenses out at the first sign of unusual discharge. Wearing contacts over an irritated or infected eye traps debris against the cornea and can escalate a minor problem into a serious one.

Bacterial vs. Viral: How to Tell the Difference

This distinction matters because bacterial conjunctivitis responds to antibiotic drops while viral conjunctivitis does not. In practice, even doctors find it tricky to tell them apart without testing, but a few patterns help. Bacterial infection strongly correlates with eyelids glued shut in the morning, thick pus-like discharge, and no history of prior conjunctivitis episodes. Viral infection is more likely when you also have cold symptoms, a tender swollen lymph node in front of your ear (present in about half of viral cases), and watery rather than goopy discharge. Itching points more toward allergies than either type of infection.

Signs That Discharge Needs Urgent Attention

Most eye discharge is annoying but not dangerous. Certain combinations of symptoms, however, signal something more serious. A painful red eye with thick discharge could indicate a corneal ulcer or deep infection, especially if you wear contact lenses. Any change in vision alongside discharge, whether blurriness, double vision, or partial vision loss, warrants prompt evaluation. Persistent pain, light sensitivity, and redness that doesn’t improve over a few days are signs that the cornea may be involved.

Discharge after a chemical splash or eye injury is always an emergency. The same applies if you notice unequal pupil sizes, nausea with eye pain (which can indicate a spike in eye pressure), or uncontrollable bleeding from the eye area.