The crusty residue you find in the corners of your eyes each morning is a normal byproduct of your tear film doing its job overnight, and a small amount is nothing to worry about. When the quantity, color, or consistency changes noticeably, though, it can signal anything from a simple allergy flare to an infection that needs treatment. The material itself goes by many names: sleep, eye boogers, rheum, or just “gunk.” Understanding what shifts it from ordinary to excessive is mostly about paying attention to a few straightforward details.
What That Morning Crust Actually Is
Your eyes are constantly coated in a thin tear film that serves several purposes: keeping the surface smooth for clear vision, washing away debris, and fighting off microbes. That film has a layered structure, with a lipid (oily) outer layer, a watery middle layer full of antimicrobial compounds, and an inner mucin layer that helps tears stick evenly to the eye’s surface.1PubMed Central. The tear film and ocular mucins Throughout the day, blinking sweeps away dead cells, dust, dried mucus, and old tear components. At night, you stop blinking, and those waste products collect in the corners of your eyes and along the lash line. By morning, they’ve dried into the familiar little clumps.
A thin line of whitish or cream-colored crust that wipes away easily is perfectly normal. It tends to be more noticeable on some mornings than others depending on how dry your bedroom air is, whether you had allergies that day, or even whether you were crying the evening before. The question that matters is whether the discharge has changed in a way you can describe: thicker, stickier, more colored, present throughout the day rather than just upon waking, or accompanied by other symptoms like redness, itching, or blurred vision.
Color and Consistency as Clues
The look and feel of eye discharge is one of the first things an eye doctor will ask about, and for good reason. Different causes tend to produce different types of gunk, though none of these rules are absolute.
- Clear and watery: Usually points to allergies, viral infection, or irritation from wind, smoke, or dry air. A viral conjunctivitis episode often starts in one eye with profuse watering before spreading to the other.
- White and stringy: Common with dry eye or allergic conjunctivitis. The mucin layer overproduces to compensate for inadequate tear quality, leaving filmy strands.
- Yellow or green and thick: Often assumed to mean a bacterial infection, though this is not as reliable a sign as most people think. A surveillance study of acute conjunctivitis found that about six in ten patients presented with purulent (thick, pus-like) discharge, yet only around 8% actually had a confirmed bacterial cause, while over half had viral pathogens.2JAMA Ophthalmology. Pathogen Surveillance for Acute Infectious Conjunctivitis
- Crusty enough to seal your lids shut: More concerning, especially in children. A lid glued shut by dried discharge on waking suggests a higher-volume overnight production and warrants a closer look.
The takeaway here is that color alone does not diagnose the problem. Green or yellow discharge alarms people into wanting antibiotics, but the majority of conjunctivitis cases are viral and clear up on their own. The broader clinical picture, including whether you have a sore throat, swollen lymph nodes near the ear, or recent contact with someone who had pink eye, helps distinguish bacterial from viral causes far more than the color of the gunk.3JAMA. Does This Patient With Acute Infectious Conjunctivitis Have a Bacterial Infection?
Conjunctivitis and Infection
When people say “pink eye,” they usually mean infectious conjunctivitis, and it is one of the most common reasons for a sudden spike in eye discharge. Viral conjunctivitis is by far the more frequent type in adults. It tends to produce watery discharge, redness, and a gritty feeling, often starting in one eye and moving to the other within a few days. There is no antibiotic that helps, and it resolves in one to three weeks. The main risk is spreading it to others, since it is extremely contagious.
Bacterial conjunctivitis does produce thicker, more purulent discharge and is the type that genuinely benefits from antibiotic eye drops. Clinical signs that raise the odds of a bacterial cause include an ear infection (especially in children) and mucopurulent discharge.3JAMA. Does This Patient With Acute Infectious Conjunctivitis Have a Bacterial Infection? On the viral side, a sore throat and swollen preauricular lymph nodes (the small nodes just in front of the ear) were much more specific indicators of a viral origin. Despite these clues, even eye doctors have a hard time telling the two apart on exam alone, which is why a significant number of viral cases still get unnecessary antibiotic prescriptions. If your discharge is heavy and one-sided with no cold symptoms, a visit to your doctor makes sense; otherwise, supportive care with cool compresses and artificial tears is often sufficient.
Blepharitis and Meibomian Gland Problems
If your eye discharge is a chronic morning annoyance rather than a sudden new symptom, blepharitis or meibomian gland dysfunction is a likely suspect. The two conditions overlap so much that clinicians sometimes discuss them together. Blepharitis is inflammation along the eyelid margin, and meibomian gland dysfunction involves clogging or poor function of the tiny oil glands embedded in your eyelids. Together, they are remarkably common: more than half of patients seeking eye care show signs of one or both.4ScienceDirect. Meibomian gland dysfunction and blepharitis: A common and still unsolved ophthalmic problem
When the oil glands do not secrete properly, the lipid layer of your tear film breaks down faster than it should. Tears evaporate too quickly, leaving the surface irritated. The eye responds by pumping out more mucus, which dries into the flaky, crusty debris that collects on your lashes overnight. You might also notice a gritty or burning feeling, redness along the lid margins, and occasional blurry vision that clears when you blink. The condition is chronic and tends to wax and wane rather than resolve completely, so people with it often describe “always having a lot of sleep in their eyes” without realizing there is a treatable cause.
Blocked Tear Ducts
Tears normally drain from the eye through small puncta (openings) in the inner corners of your lids, flow through a short canal, and empty into your nose. When the nasolacrimal duct is blocked, tears back up on the eye’s surface, and the stagnant fluid in the lacrimal sac can become a breeding ground for bacteria. The hallmark signs are excessive tearing, a visible pooling of the tear lake along the lower lid, and mucopurulent discharge.5Disease-a-Month. Nasolacrimal duct obstruction as an important cause of epiphora
In adults, a blocked duct usually develops gradually from chronic inflammation or narrowing, and it affects one side. People often describe one eye that is constantly watery with a sticky discharge they cannot seem to get rid of. Pressing gently on the inner corner of the eye near the nose may express a bit of mucus or pus, which is a telltale sign. Treatment ranges from warm compresses and massage in mild cases to a minor surgical procedure to open the drainage pathway.
In babies, congenital nasolacrimal duct obstruction is quite common, affecting an estimated 5 to 20 percent of newborns. Parents often notice persistent tearing and yellowish crusting on one eye starting in the first few weeks of life. The good news is that the duct opens on its own by the first birthday in the vast majority of cases. Gentle massage of the lacrimal sac a few times daily can help things along.
Allergies and Dry Eye
Seasonal or perennial allergies are one of the most common reasons people notice more eye discharge than usual, particularly a white or stringy type. When allergens like pollen, pet dander, or dust mites contact the conjunctiva, the eye releases histamine and other inflammatory signals. The result is itching, redness, tearing, and increased mucus production. The discharge itself is not infectious, but the relentless itching leads many people to rub their eyes, which worsens inflammation and makes the discharge worse.
Dry eye disease can seem paradoxical because one of its symptoms is excessive tearing, but those reflex tears lack the right balance of oil and mucin to actually protect the surface. The eye compensates with extra mucus, which accumulates faster than blinking can clear it. Over time, people with dry eye may develop a habit of physically pulling mucus strands out of their eyes, and this is where a condition called mucus fishing syndrome can set in. The act of mechanically pulling out mucus further irritates the conjunctiva, triggering more mucus production in a frustrating cycle.6PubMed Central. Low-Level Light Therapy as a Potential Adjunctive Approach in Mucus Fishing Syndrome: Report of Two Clinical Cases If you find yourself fishing strands of mucus from your eyes multiple times a day, breaking the habit and treating the underlying dryness is the way to stop the cycle.
Autoimmune Conditions and the Ocular Surface
Some autoimmune diseases affect the glands that produce tears and the mucins that keep the eye’s surface healthy. Sjögren syndrome is the best-known example. It attacks moisture-producing glands throughout the body, leading to severe dry eyes and dry mouth. Research shows that key mucin proteins on the eye’s surface, including MUC19 and MUC5AC, are significantly decreased in Sjögren syndrome patients compared to healthy individuals.7PubMed. MUC19 expression in human ocular surface and lacrimal gland and its alteration in Sjögren syndrome patients When the mucin layer is disrupted, the surface becomes more vulnerable to irritation and infection, and the eye compensates unpredictably, sometimes producing too little mucus and other times generating thick, ropy strands.
People with Sjögren syndrome often describe a constant struggle with eye discharge that is hard to categorize: alternating between sandy dryness and episodes of sticky buildup. If chronically irritated eyes and a dry mouth are present together, especially in a woman over 40, it is worth mentioning to a doctor, since Sjögren syndrome can go undiagnosed for years.
Sleeping With Your Eyes Partially Open
If you regularly wake up with a significant amount of crust, irritation, and dryness, and nothing else seems to explain it, consider whether your eyelids fully close at night. Nocturnal lagophthalmos, where the lids do not completely shut during sleep, is more common than most people realize. Common symptoms include pain, dryness, a foreign body sensation, and excessive watering upon waking.8ScienceDirect. Sleep Disorders and the Eye The exposed strip of the eye dries out overnight, and when you wake, the irritation triggers a rush of reflex tearing and mucus that dries into heavy crusting.
You might not know you sleep with your eyes open unless a partner tells you or you notice a consistent pattern of waking with one eye more irritated than the other. A simple check is to apply a thick lubricating ointment or gel to the eyes right before bed. If the morning discharge and discomfort improve substantially, lagophthalmos is a plausible explanation. Treatments range from nighttime eye ointments and moisture-chamber goggles to, in more severe cases, surgical options to help the lids close more completely.
Eye Discharge in Newborns
New parents are often caught off guard by how much gunk collects in a newborn’s eyes. Some of this is entirely benign and related to the congenital tear-duct narrowing described earlier. But discharge in the first month of life can also represent ophthalmia neonatorum, a form of neonatal conjunctivitis that deserves urgent attention. It can be caused by bacteria picked up during delivery, including sexually transmitted organisms, or by chemical irritation from prophylactic eye drops given at birth. Left untreated, certain bacterial forms can cause permanent vision loss and even systemic illness.9BMJ. Approach to conjunctivitis in newborns
The rule of thumb for babies under four weeks is that any eye discharge accompanied by redness, swelling of the lids, or a generally unwell appearance should be evaluated promptly by a pediatrician. Most cases are mild and self-limited, but the stakes of missing a serious bacterial infection are high enough that early evaluation is the right call.
What You Can Do at Home
For run-of-the-mill morning crust or mild irritation, a consistent lid-hygiene routine makes a real difference. The centerpiece is warm compresses. Evidence-based reviews show that applying warm compresses to closed eyelids, aiming for an eyelid temperature around 40°C (104°F), for five to twenty minutes can significantly improve tear quality after even a single session, and repeated daily use improves meibomian gland health and dry eye symptoms over time.10PubMed Central. Evidence-Based Strategies for Warm Compress Therapy in Meibomian Gland Dysfunction Commercially available heated eye masks hold their temperature better than a regular washcloth, which cools too quickly to deliver much benefit to the oil glands.11PubMed. The Efficacy of Warm Compresses in the Treatment of Meibomian Gland Dysfunction and Demodex Folliculorum Blepharitis
Beyond warm compresses, a few practical habits help keep eye discharge in check:
- Lid scrubs: After warming, gently clean the base of your lashes with a diluted baby shampoo solution or a commercial lid-cleaning wipe. This removes the biofilm that builds up along the lid margin.
- Artificial tears: Preservative-free drops during the day help maintain tear film stability, reducing the mucus overproduction that leads to heavy crusting.
- Avoid rubbing: Rubbing introduces bacteria, worsens inflammation, and can trigger the mucus-fishing cycle mentioned earlier.
- Clean pillowcases: Allergens and bacteria accumulate on bedding. Changing pillowcases once or twice a week is a simple way to reduce overnight irritation.
For allergic eye symptoms, over-the-counter antihistamine drops can reduce itching and the downstream mucus response. If you wear contact lenses, switching to daily disposables or taking more frequent lens-free breaks can help, since lenses disrupt the tear film and encourage debris buildup.
When to See a Doctor
Most eye discharge is manageable at home or goes away on its own, but a few patterns call for professional evaluation sooner rather than later:
- Vision changes: Blurry vision that does not clear after blinking or wiping away discharge could indicate corneal involvement.
- Significant pain: Mild irritation is common with infections, but sharp or deep eye pain is not typical of simple conjunctivitis and may suggest something more serious.
- One-sided discharge with eyelid swelling: This combination can point to a dacryocystitis (infection of the lacrimal sac) or orbital cellulitis, both of which need prompt treatment.
- Discharge in a contact lens wearer: Contact-lens-related infections can progress quickly. If you develop redness and discharge while wearing lenses, remove them and see an eye care provider the same day.
- Newborn eye discharge: As noted, any discharge with redness in a baby under four weeks warrants a same-day medical evaluation.
- Chronic discharge unresponsive to hygiene: If weeks of warm compresses and lid cleaning have not helped, there may be an underlying condition like Sjögren syndrome, Demodex mite infestation of the lashes, or a structural issue that needs diagnosis.
An eye doctor can distinguish between causes with a slit-lamp exam, express the meibomian glands to check their function, and take cultures if an unusual infection is suspected. Many people tolerate mild eye discharge for months or years assuming it is “just how their eyes are,” when a treatable cause is sitting right there.
The Antibiotic Overuse Problem
One of the more frustrating patterns in eye-discharge management is the reflexive prescribing of antibiotic drops. The surveillance data showing that fewer than one in ten conjunctivitis cases in one study were actually bacterial, despite the majority presenting with purulent discharge, underscores how often antibiotics are given unnecessarily.2JAMA Ophthalmology. Pathogen Surveillance for Acute Infectious Conjunctivitis About a third of patients in that study had already been prescribed topical antibiotics before even being evaluated at the study site.
This matters because unnecessary antibiotic use contributes to resistance, can cause their own side effects like allergic reactions or disruption of the eye’s normal microbial balance, and gives patients a false sense of what is actually going on. If your doctor examines you and recommends observation with supportive care rather than antibiotics, that is often the more evidence-based approach. Viral conjunctivitis, allergies, and dry eye all cause impressive-looking discharge that resolves without antibiotics. The challenge, and it is a genuine one, is sitting with the discomfort while your body clears a viral infection on its own timeline.