Waking up with eyes crusted shut is usually caused by normal sleep discharge that dried and hardened overnight. During the day, blinking constantly washes away the mix of mucus, oils, dead skin cells, and tears your eyes produce. When you sleep, you stop blinking, so that material collects in the corners of your eyes and along your lash line, drying into a crust. A thin layer of this “sleep” in the morning is completely normal.
When the crusting is heavier than usual, sticky, discolored, or accompanied by redness or pain, something else may be going on. The most common culprits are infections, allergies, dry eye, and eyelids that don’t fully close during sleep.
How Normal Eye Discharge Works
Your eyes produce a protective film made of water, oil, and mucus around the clock. During waking hours, every blink spreads this film evenly across the surface of your eye and sweeps debris toward your tear ducts for drainage. At night, gravity pulls that same mixture toward the inner and outer corners of your eyes, where it sits undisturbed for hours. By morning it has dried into the familiar whitish or light yellow crumbs you can rub away easily.
Normal sleep crust is small in amount, doesn’t glue your lids together firmly, and clears with a gentle wipe. The color is typically white, off-white, or pale yellow. If that describes what you’re seeing, there’s nothing to worry about.
Bacterial Pink Eye
When your eyelids are truly matted shut and difficult to pry open, a bacterial eye infection is the most likely cause. Bacterial conjunctivitis produces a thick, yellow or greenish discharge that accumulates fast enough to re-seal your lids even after you clean them. Your eyes will look red, the lids may be swollen and tender, and your vision can temporarily blur from the film of pus sitting on the surface of the eye.
The good news: mild bacterial conjunctivitis is often self-limiting, meaning it clears on its own within a week or so. Antibiotic eye drops can speed recovery, but the American Academy of Ophthalmology notes that no single antibiotic has proven superior to another, and indiscriminate use of antibiotics should be avoided. If symptoms are mild and you’re otherwise healthy, your doctor may recommend watching and waiting before prescribing anything.
Viral Pink Eye
Viral conjunctivitis looks a lot like the bacterial version, which makes telling them apart tricky even for clinicians. The discharge tends to be more watery than thick, and it often starts in one eye before spreading to the other a day or two later. You’ll notice redness and irritation, but the crusty buildup in the morning is usually lighter and less glue-like than what bacterial infections produce.
Antibiotics do nothing for viral pink eye. It runs its course in one to three weeks, and the main strategy is keeping your eyes clean and comfortable while it resolves. Because viral conjunctivitis is highly contagious, frequent handwashing and avoiding shared towels or pillowcases matters more than any medication.
Allergies
Allergic conjunctivitis produces a distinctive watery or white, stringy mucus discharge rather than the thick pus of a bacterial infection. Itching is the hallmark symptom. If your eyes are intensely itchy along with being crusty in the morning, allergies are a strong possibility, especially if both eyes are affected equally and the symptoms line up with a season or a specific trigger like pet dander or dust mites.
The crusting from allergies is usually mild to moderate. You might notice your lids feel stuck but can open without much effort. Reducing exposure to the trigger and using over-the-counter antihistamine eye drops typically brings fast relief.
Dry Eye and Incomplete Eyelid Closure
Dry eye syndrome causes your eyes to compensate by overproducing low-quality tears, which can leave a crusty residue by morning. The discharge is usually white or stringy rather than colored, and your eyes feel gritty, sandy, or burning, particularly first thing in the morning.
A related and underdiagnosed cause is nocturnal lagophthalmos, a condition where your eyelids don’t fully close while you sleep. Even a small gap exposes the surface of your eye to air all night, drying it out and triggering irritation and discharge. A telltale sign is that symptoms are worst when you wake up and gradually improve throughout the day as normal blinking restores moisture. If a partner or family member has ever mentioned that you sleep with your eyes slightly open, this is worth investigating. Treatment usually involves lubricating ointments applied at bedtime or, in more persistent cases, a sleep mask or small adhesive strips that hold the lids shut.
Crusty Eyes in Babies
Infants frequently wake up with crusty, goopy eyes, and the most common reason is a blocked tear duct. About 20% of newborns have at least one tear duct that hasn’t fully opened yet. The signs include persistent watery eyes, mucus or pus discharge along the lids, crusting of the eyelashes, and sometimes redness or swelling near the inner corner of the eye. These blockages almost always resolve on their own within the first year of life. Your pediatrician may recommend gentle massage of the area between the inner corner of the eye and the side of the nose to help the duct open faster.
If a baby’s eye becomes very red, significantly swollen, or the discharge turns thick and yellow-green, an infection may have developed on top of the blockage, and that needs medical attention.
How to Safely Clean Crusty Eyes
Resist the urge to pull your lids apart forcefully. Instead, soak a clean washcloth in warm water, just between warm and comfortably hot, and hold it over your closed eyes for a few minutes. This softens the dried discharge so your lids separate easily. Research on warm compresses has found that reheating the cloth every two minutes is most effective at raising eyelid temperature enough to loosen stubborn buildup. Re-soak and reapply as many times as needed.
Use a fresh cloth for each eye to avoid spreading any potential infection. Wipe gently from the inner corner outward. If you wear contact lenses, wait until your eyes are fully clean and comfortable before putting them in. Keeping your pillowcase clean and changing it every few days can also reduce overnight buildup, especially if allergies or mild infections are contributing.
Signs That Need Prompt Attention
Most cases of morning eye crusting are harmless or caused by infections that resolve on their own. But certain symptoms point to something more serious. Seek care quickly if you notice any of the following alongside crusty eyes:
- Decreased or blurry vision that doesn’t clear after you clean your eyes
- Significant eye pain, not just mild irritation
- Sensitivity to light strong enough to make you squint or avoid bright rooms
- A hazy or cloudy appearance to the clear front surface of your eye
- Symptoms that worsen after several days of home care or don’t improve within a week
These can indicate conditions like uveitis (inflammation inside the eye) or a sudden spike in eye pressure, both of which need treatment to prevent lasting damage. Pain combined with vision loss in the same eye is the combination that warrants the most urgency.