What Causes Eye Crust and How to Clean It Safely

Eye crust forms when a mixture of mucus, oil, and shed skin cells from your eyes dries out along your eyelids and lash line. During the day, blinking washes this material away with your tears. At night, it collects at the edges of your eyes because you’re not blinking, and by morning it dries into the familiar crusty or gummy residue most people call “sleep” or “eye boogers.” A small amount of morning eye crust is completely normal, but changes in color, texture, or quantity often point to an underlying issue.

How Normal Eye Crust Forms

Your eyes constantly produce a thin film made of three layers: a watery layer, an oily layer, and a mucus layer. This tear film keeps your eyes moist, washes away dust and debris, and fights off bacteria. Throughout the day, spent mucus and oil mix with dead skin cells and tiny particles that land on your eye’s surface. Blinking pushes this mixture toward the inner and outer corners of your eyes, where it either drains through your tear ducts or collects at the margins of your lids.

When you sleep, that drainage slows to a crawl. The accumulated material sits in place for hours, loses its moisture, and hardens into crust. If you wake up with a thin line of yellowish or whitish gunk in the corners of your eyes that wipes away easily, that’s the normal version. It shouldn’t stick your eyelids shut, hurt, or reappear throughout the day.

Bacterial and Viral Eye Infections

Infections are one of the most common reasons eye crust becomes noticeably worse. The type of discharge gives a strong clue about which kind of infection is involved.

Bacterial conjunctivitis (pink eye caused by bacteria) produces a thick, white-yellow discharge that is either purely purulent or mucopurulent, meaning it has both pus and mucus. It tends to be sticky enough to mat your eyelashes together and reforms quickly after you wipe it away. You may wake up with one or both eyes sealed shut. Mild bacterial conjunctivitis often resolves on its own, and no single antibiotic eye drop has been shown to work better than another.

Viral conjunctivitis, by contrast, produces a watery, thinner discharge. Your eyes may look red and feel gritty, but the crusty buildup is lighter and less glue-like than with a bacterial infection. Because it’s caused by a virus, antibiotic drops won’t help. It’s also highly contagious. Frequent hand-washing and using separate towels are the primary ways to stop it from spreading to other people in your household.

Blepharitis and Eyelid Inflammation

If you notice crusty, flaky debris concentrated right at the base of your eyelashes rather than in the corners of your eyes, blepharitis is a likely cause. This chronic inflammation of the eyelid margin comes in two main forms, each with a distinct look.

Infectious (staphylococcal) blepharitis produces hard, fibrinous scales with matted crusts along the lash line. The lid margins often look red and slightly swollen, with tiny visible blood vessels. Seborrheic blepharitis, which is related to the same process that causes dandruff on the scalp, looks different. Instead of hard flakes, the lashes appear oily or greasy, and the residue tends to mat across the lid margins of both eyes rather than clumping at individual lash roots.

Both types are chronic, meaning they tend to come and go rather than resolve completely. Regular lid hygiene, like gently cleaning the lash line with a warm, damp cloth, is the main way to manage flare-ups.

Meibomian Gland Dysfunction

Running along the inside edge of each eyelid are tiny oil glands called meibomian glands. They secrete a thin oil that coats the surface of your tear film and keeps it from evaporating too fast. When these glands become clogged or produce abnormally thick oil, that oil stagnates inside the gland. Bacteria and microscopic mites that naturally live on your eyelids then proliferate in the stagnant oil, producing enzymes that break down the oil further and make it even thicker and harder to secrete. This creates a self-reinforcing cycle: thicker oil leads to more blockage, which leads to more bacterial growth, which makes the oil thicker still.

The practical result is a crusty, waxy buildup along the lid margins, often accompanied by a gritty or burning sensation. Because the oil layer of your tears is compromised, your eyes may also feel chronically dry, which compounds the problem.

Dry Eye Disease

Dry eye disease creates its own distinctive type of eye crust. Normally, the water, oil, and mucus in your tears work together to keep your eye surface smooth and clean. When your eyes don’t produce enough tears, or don’t produce enough of the protective oil layer, the watery component evaporates too quickly. What’s left behind is a sticky, stringy mucus residue that can dry into crusty strands along your lids and lashes, particularly overnight.

This type of discharge often looks more like thin strings or filaments rather than the chunky, pus-like crust of an infection. It can feel like something is stuck in your eye when you wake up. Artificial tears help many people manage the dryness, but if the underlying cause is poor oil production from the meibomian glands, addressing that gland dysfunction is usually necessary too.

Allergies and Contact Lens Irritation

Allergic conjunctivitis, triggered by pollen, pet dander, dust mites, or other allergens, typically produces a watery discharge similar to viral infections, along with intense itching. The crust you find in the morning is usually light and thin rather than thick or colored.

Contact lens wearers face an additional risk called giant papillary conjunctivitis, where the underside of the upper eyelid becomes irritated by the lens. This condition produces thick, sometimes stringy mucus that can blur your vision and make your eyes feel like something foreign is trapped under the lid. The irritation tends to worsen over time if you keep wearing the same lenses without addressing the problem.

Ocular Rosacea

People with rosacea, the skin condition that causes facial redness and flushing, sometimes develop eye involvement as well. Ocular rosacea can cause a cluster of symptoms: red or bloodshot eyes, burning, stinging, dryness, light sensitivity, and a persistent foreign body sensation. It frequently triggers both blepharitis and meibomian gland dysfunction, which means the eyelid crusting it causes is often a combination of the patterns described above. The eyelid margins may look red and irregular, and styes or chalazia (small bumps on the lid) are common.

Because ocular rosacea overlaps with so many other conditions, it’s diagnosed based on the overall pattern of symptoms rather than any single test.

Blocked Tear Ducts in Babies

If your infant has persistent eye crust, a blocked tear duct is the most likely explanation. This condition affects roughly 6 to 20 percent of newborns. The tear drainage system simply hasn’t finished opening yet, so tears pool on the eye surface and the normal mucus and debris that would drain away instead collects and dries along the lids.

The good news is that it almost always resolves without intervention. About 70 percent of affected babies are symptom-free by 3 months of age, and over 90 percent clear up by their first birthday. Gentle massage of the area between the inner corner of the eye and the side of the nose can help open the duct faster. A blocked tear duct on its own doesn’t cause redness or swelling of the eye itself. If you notice those signs, an infection may have developed on top of the blockage.

What the Color and Texture Tell You

  • Clear or white, thin, small amount: Normal overnight accumulation.
  • White-yellow, thick, sticky, reforms quickly: Likely bacterial infection.
  • Watery and clear, with redness: Viral conjunctivitis or allergies.
  • Hard, flaky scales at the lash base: Infectious blepharitis.
  • Greasy, matted lashes: Seborrheic blepharitis.
  • Stringy, filament-like strands: Dry eye disease or contact lens irritation.
  • Green or dark yellow with significant swelling and pain: A more serious bacterial infection that needs prompt evaluation.

Cleaning Eye Crust Safely

For everyday morning crust, a clean, warm, damp washcloth held gently against your closed eyes for 30 to 60 seconds will soften the dried material enough to wipe it away without tugging at your lashes. Always wipe from the inner corner outward, and use a fresh section of the cloth for each eye to avoid spreading anything between them.

If you’re dealing with blepharitis or meibomian gland issues, a slightly longer warm compress (5 to 10 minutes) helps soften the clogged oils in the glands and makes them easier to express. Follow the compress with a gentle scrub of the lash line using a clean cloth or a commercially available lid wipe. Making this part of your daily routine is more effective than doing it only during flare-ups.

Avoid picking dried crust off your lashes with your fingers. Your hands carry bacteria that can introduce new infections, and pulling at hardened crust can damage the delicate skin of your eyelids or pull out lashes.