Eye Discharge and Sleep Crust: What Is Normal and When It Signals Infection

Key Takeaways
- Morning crust is dried tear film, oil, mucus and shed cells that could not drain because you stopped blinking; a small amount confined to the corners is normal.
- Discharge color is a weak guide to cause: thick yellow or green leans bacterial, watery leans viral, itchy and stringy leans allergic, but overlap is common and clinicians weigh the full picture.
- CDC guidance states viral conjunctivitis usually clears in 7 to 14 days without treatment and mild bacterial cases often improve within 2 to 5 days without antibiotics.
- Stringy, elastic mucus pulled from the inner corner during the day is a classic sign of dry eye, where irritation drives extra mucus production, not of infection.
- Recurring greasy flakes along the lashes month after month are almost always blepharitis, which the NHS describes as a long-term condition controlled by daily warm compresses and lid cleaning.
- Discharge with eye pain, light sensitivity, blurred vision or contact lens wear points toward the cornea and needs same-day examination rather than home care.
Eye discharge is mostly tears, oil, mucus and shed cells that dry into a harmless crust overnight, so a little on waking is normal. Larger amounts, thick yellow or green discharge, redness, itching, pain, light sensitivity or blurred vision point to conjunctivitis, blepharitis, dry eye, a blocked tear duct or, less often, a corneal infection. Eye pain with a change in vision needs same-day care.
You rub your eye on the way to the bathroom and feel it: a small, gritty flake at the inner corner, the one your grandmother called sleep. Most mornings it is nothing. Some mornings the lashes are glued shut and you have to soak them apart with a warm cloth, and the question arrives before the coffee does. Is this still ordinary, or has something moved in?
The eye never actually stops making discharge. A thin film of tears, oil and mucus coats the surface every time you blink, roughly once every few seconds while you are awake. Blinking sweeps the used film into the tear drains at the inner corners. At night the sweeping stops, the film keeps forming, and what cannot drain simply dries where it sits.
What changes that quiet routine into something worth a closer look is quantity, color, texture and company. Those four things are what this article walks through, in the order a clinician would weigh them.
What causes eye discharge? The short answer first
What causes eye discharge, in most people on most days, is the normal tear film doing its job. The National Eye Institute describes that film as three layers: an outer oily layer from glands in the eyelids, a watery middle layer from the tear gland, and an inner mucus layer that helps tears spread evenly. Blinking mixes and clears it. Sleep does not, so a few flakes at the lash line after a night in bed are expected.
Discharge becomes a symptom rather than housekeeping when it increases, changes character or arrives with other signs. The common culprits, roughly in order of how often clinicians see them, are conjunctivitis (inflammation of the thin membrane over the white of the eye and inner lids), blepharitis (inflammation along the eyelid edges), dry eye, seasonal allergy and, in babies and older adults, a tear duct that drains poorly.
A smaller group of causes matters more than its size suggests. Infection of the cornea, the clear front window of the eye, can threaten sight and tends to announce itself with real pain, light sensitivity and blurring rather than discharge alone. That is why the one rule worth memorizing is simple: discharge plus pain, plus a change in vision, or plus a contact lens that has been in the eye is a same-day problem. Everything else, as the sections below explain, can usually be sorted out with a careful history, a look at the eyelids and a little patience.
What causes sleep in your eyes, and what is the crust made of?
What causes sleep in your eyes is the same tear film, minus the blinking. Overnight, mucus from the goblet cells of the conjunctiva, oil from the meibomian glands along the lid margins, a scattering of dead skin and conjunctival cells, dust and the odd eyelash collect at the corners and along the lashes. Water evaporates and the remainder sets, which is why morning crust ranges from soft and off-white to hard, pale yellow and granular depending on how much oil was in the mix and how dry the bedroom air was.

MedlinePlus lists a small amount of discharge on waking among the ordinary findings that need no treatment. The volume varies between people and from night to night, and a slightly larger deposit after a long sleep, a smoky evening or a day of wind and pollen is not a sign of disease.
Two features separate normal sleep crust from the discharge of inflammation. The first is that it is confined to the corners and lash line rather than coating the eye itself; once wiped away, the eye looks white and feels comfortable. The second is that it does not return during the day. If you are wiping the same eye at lunchtime, if the lids are matted shut rather than lightly dusted, or if the discharge is green, stringy or accompanied by redness, the crust has stopped being sleep and started being a clue.
What causes eye boogers to increase even when you feel well?
Many readers asking what causes eye boogers do not have an infection at all. They have more mucus than usual, and the eye makes extra mucus for a short list of everyday reasons.
Dry eye is the commonest. It sounds contradictory, but when the watery layer of the tear film is thin or evaporates too fast, the surface becomes irritated and the goblet cells respond with more mucus, which rolls into the stringy, elastic threads people describe pulling from the corner. The National Eye Institute estimates nearly 16 million Americans have dry eye, with risk rising with age, screen use that lowers blink rate, contact lenses, dry indoor air and several common medicine classes such as antihistamines.
Allergy is next. Pollen, dust mite or pet allergens trigger histamine release in the conjunctiva, producing itching, watering and a thin, white, stretchy discharge in both eyes at once. Blepharitis, covered in its own section, adds oily crumbs along the lashes. Eye makeup residue, chlorinated pools, smoke and a bedroom fan aimed at the face all add to the load.
None of these is dangerous, and none needs antibiotics. The reason to name them is that each has a different fix, and the fix is usually environmental or habit-based rather than pharmacological. A clinician separating them will ask about itching (allergy), burning and end-of-day grittiness (dry eye) and lid crusting (blepharitis), then look at the lids and tear film under magnification.
What is conjunctivitis, and does yellow discharge mean it is bacterial?
Conjunctivitis, often called pink eye, is inflammation of the conjunctiva, the clear membrane lining the inner eyelids and covering the white of the eye. When it is inflamed its tiny blood vessels widen, which produces the pink color, and its glands pour out discharge. The NHS lists three main triggers: viruses, bacteria and allergens.

The question that brings many people here is whether yellow discharge means a bacterial cause. The honest answer is: it leans that way, but it is not proof. CDC guidance describes bacterial conjunctivitis as more often producing thick, yellow or green discharge that mats the lashes, frequently starting in one eye, while viral conjunctivitis typically causes a watery or thin mucus discharge, often alongside a cold, and allergic conjunctivitis produces itching and watering in both eyes. The overlap is real. Viral cases can crust yellow overnight, and bacterial cases can begin watery. Color alone does not settle it, and clinicians know this, which is why they weigh the whole picture.
What helps them decide: a recent cold or sore throat and tender lymph nodes in front of the ear favor a virus; itching that dominates everything else favors allergy; a sudden, heavy, pus-like discharge favors bacteria. Swabs are rarely needed, reserved for newborns, severe cases, or discharge that fails to settle. The NHS notes that conjunctivitis usually gets better on its own within two weeks, and CDC adds that mild bacterial cases often improve within two to five days without antibiotics. A prescriber may still choose an antibiotic drop in some situations; that is a decision for the clinician who examines the eye.
Blepharitis: the crusty eyelid cause people overlook
If the crust sits along the lashes themselves, like dandruff caught at the roots, and keeps coming back month after month, the eyelid rather than the eye is usually the source. Blepharitis is inflammation of the eyelid margins. The National Eye Institute describes two patterns: anterior blepharitis, on the outer lid edge where the lashes grow and often linked to bacteria living on the skin or to scalp dandruff, and posterior blepharitis, where the meibomian glands inside the lid become clogged and their oil turns thick and waxy.
The typical story is both eyes, worse on waking, lids that feel heavy or burn, flakes or greasy crumbs on the lashes, and red lid edges that sometimes swell. Vision is normal once you blink the film clear. Styes and chalazia (blocked, swollen oil glands) are more common in people with blepharitis, and so is dry eye, because poor oil means tears evaporate faster.
The NHS is clear that blepharitis is usually a long-term condition that cannot be treated once and forgotten; it is controlled with a daily eyelid hygiene routine. That routine has three steps most guidance agrees on: a warm compress on closed lids for several minutes to soften the oil, a gentle lid massage toward the lashes, and cleaning the lash line with a cloth or cotton pad and cooled boiled water or a product designed for eyelids. It is unglamorous and it works slowly, with improvement measured over weeks rather than days. A clinician may add other measures for stubborn cases, but the compress-and-clean habit is the foundation everything else builds on.
Dry eye and stringy mucus: why a dry eye can make more discharge
The stringy, rubber-band mucus that some people pull from the inner corner several times a day is one of the most searched eye complaints, and it almost always traces back to dry eye rather than infection.
The mechanism is a feedback loop. When tears evaporate too quickly or are produced in short supply, the surface cells of the cornea and conjunctiva become mildly inflamed. Inflammation signals the goblet cells to make more protective mucus. With too little water to dilute it, that mucus clumps and gets rolled into threads by blinking. People then rub or pull at the threads, which irritates the surface further and prompts more mucus. The National Eye Institute lists stringy mucus in or around the eyes among the recognized symptoms of dry eye, alongside burning, a scratchy or gritty feeling, blurred vision that clears with blinking and, counterintuitively, episodes of watering as the eye tries to compensate.
Clues that tip a clinician toward dry eye: both eyes, worse by evening and after screens, reading or air travel, better on humid days, no real itching and no pus. Examination usually includes a look at the tear film under a slit lamp (a microscope with a bright light) and sometimes a dye drop that highlights dry patches on the surface, or a small paper strip placed under the lower lid to measure tear production.
Management, per NEI guidance, starts with lubricating drops or gels, conscious blinking during screen work, a humidifier, wraparound glasses outdoors and attention to eyelid health. Prescription options exist for persistent cases and are chosen by the examining clinician based on which layer of the tear film is failing.
Blocked tear ducts: sticky eyes in babies and watery eyes later in life
Tears leave the eye through two tiny openings at the inner corner of each lid, flow into a small sac beside the nose and drain down a duct into the nasal cavity. When that plumbing is narrow or blocked, tears pool, stagnate and pick up mucus, and the eye becomes watery and sticky at the same time.
In newborns the cause is usually a thin membrane at the lower end of the duct that has not yet opened. The picture is familiar to parents: one or both eyes watering and crusting from the first weeks of life, but the white of the eye stays white and the baby is otherwise well. MedlinePlus notes that most of these blockages open on their own, usually by the first birthday, and that gentle massage of the tear sac, shown by the pediatrician or health visitor, plus wiping with cooled boiled water is the standard first step. A red, swollen, tender lump beside the nose, redness spreading onto the eye or a feverish, unsettled baby changes the picture and needs prompt review, because the stagnant sac can become infected.
In adults the duct narrows with age, after nose injury or sinus surgery, or for no clear reason. The hallmark is a persistently watery eye that overflows onto the cheek, with intermittent sticky discharge, often worse in wind and cold. The NHS watering eyes guidance describes how an eye specialist may flush the duct with saline to confirm the block and discuss options, which range from watchful waiting to a small procedure that creates a new drainage path. The choice depends on how much the symptom bothers the person and whether infections keep recurring.
Less common causes that need a proper look
A short list of conditions produces discharge as a side effect of something more serious happening in or on the eye. They are uncommon, but each one is the reason a clinician will ask three questions before anything else: Does it hurt? Is your vision different? Do you wear contact lenses?
Keratitis is inflammation of the cornea. Infectious keratitis, from bacteria, viruses, fungi or an amoeba found in water, causes deep aching pain, marked light sensitivity, a red eye concentrated around the colored part, blurred vision and discharge. CDC guidance singles out contact lens wearers, particularly those who sleep in lenses or rinse them with tap water, as the group at highest risk. A corneal ulcer, an open sore on the cornea, is the next stage and can leave a permanent scar. These are same-day problems.
Herpes simplex keratitis, caused by the same virus family responsible for cold sores, typically affects one eye with pain, watering and blurring; it is diagnosed with a dye drop that reveals a branching pattern on the cornea. Shingles involving the forehead and eye produces a blistering rash on one side and may involve the eye itself.
A foreign body under the upper lid or embedded in the cornea causes a sharp, scratchy feeling with every blink and reflex watering that turns mucousy. Styes and chalazia produce localized lid swelling with crusting. In newborns, conjunctivitis within the first month can be caused by organisms passed during birth, which is why sticky eyes in a very young baby are examined rather than watched. In adults, a sexually transmitted infection can occasionally cause a severe, pus-heavy conjunctivitis; it is treatable, carries no judgment, and is one reason clinicians ask about recent symptoms elsewhere when discharge is unusually heavy.
Eye discharge causes at a glance: features and the usual next step
Pattern recognition is most of the diagnosis. The table below is how clinicians mentally sort what they see; it describes typical patterns, not certainties, and a mixed picture is common.
| Likely cause | Typical features | Usual next step |
|---|---|---|
| Normal sleep crust | Small amount at corners on waking, eye white and comfortable, none during the day | Wipe with clean damp cloth; nothing further |
| Viral conjunctivitis | Watery or thin mucus discharge, red eye, often starts in one eye then the other, recent cold | Self-care, hygiene to limit spread; review if worse after a week |
| Bacterial conjunctivitis | Thick yellow or green discharge, lashes matted on waking, grittiness | Hygiene; clinician decides whether antibiotic drops add anything |
| Allergic conjunctivitis | Itching dominates, both eyes, watering, stringy white mucus, seasonal pattern | Allergen avoidance, cool compress; clinician may suggest antihistamine or mast-cell drops |
| Blepharitis | Crust and greasy flakes on lashes, red lid margins, both eyes, recurring | Daily warm compress and lid cleaning; review if styes recur |
| Dry eye | Stringy mucus, burning, grittiness worse by evening and after screens | Lubricant drops, blink breaks, humidifier; clinician assesses tear film if persistent |
| Blocked tear duct | Watery plus sticky eye, overflow onto cheek, white of eye normal | Massage and cleaning in babies; specialist assessment in adults |
| Keratitis or corneal ulcer | Pain, light sensitivity, blurred vision, contact lens use | Same-day eye assessment |
The examination behind the table is brief. A clinician checks vision in each eye, inspects the lids and lashes, everts the upper lid to look for foreign bodies, and uses a slit lamp with a fluorescein dye drop that glows under blue light wherever the corneal surface is damaged. Swabs are taken only when the picture is severe, unusual or slow to settle.
Is eye discharge contagious, and for how long?
Discharge itself is not a disease, so the question is really about its cause. Sleep crust, dry eye, allergy, blepharitis and blocked ducts do not pass between people. Infectious conjunctivitis does, and it does so efficiently.
CDC describes the routes plainly: hand-to-eye contact after touching discharge or contaminated surfaces, sharing towels, pillowcases, eye makeup or contact lens equipment, and, for viral forms, respiratory droplets from the accompanying cold. Adenovirus, the most frequent viral cause, survives on surfaces for a considerable time, which is why outbreaks move through schools, dormitories and households.
On duration, CDC guidance says a person with viral or bacterial conjunctivitis can spread it for as long as they have symptoms, and in viral cases for a short period after. Viral conjunctivitis typically clears in seven to fourteen days without treatment, though some cases take two to three weeks. Bacterial cases, with or without antibiotic drops, usually settle within two weeks, and mild ones often improve in two to five days.
Whether to stay home is a question people argue about. The NHS position is that adults and children with conjunctivitis do not need to stay away from work, school or nursery unless they feel unwell, provided hygiene is good. Some schools and workplaces set their own rules, and it is sensible to follow them. The measures that genuinely reduce spread are unremarkable: wash hands before and after touching the eyes, use a fresh tissue or cloth for each wipe and bin it, change pillowcases daily while symptoms last, do not share towels, pause contact lenses and eye makeup until the eye has been clear for a day or two, and discard any makeup used during the infection.
Is it okay to pull out eye mucus? What is reasonable to do at home
Yes, with technique. Discharge sitting on the lashes or at the inner corner can be removed, and leaving it there does nothing useful. What matters is how.
Wash your hands first. Soak a clean cloth or cotton pad in warm water, close the eye and hold the pad against the crust for a few moments so it softens; dried crust pulled off dry can take lashes with it and leave the lid margin raw. Wipe once from the inner corner outward, discard the pad, and use a fresh one for the other eye so you do not ferry an infection across. Cooled boiled water is the standard recommendation for babies and for anyone with an obvious infection.
What to avoid is the fingernail. Hooking a stringy thread out of the corner with a nail scratches the conjunctiva, introduces skin bacteria and, in dry eye, feeds the irritation that produced the mucus in the first place. A clean, damp cotton bud used at the lash line is acceptable; anything inserted onto the surface of the eye is not.
Beyond cleaning, home measures that mainstream guidance supports are modest. A cool compress eases the itch of allergy; a warm compress loosens the oil of blepharitis and comforts a sticky conjunctivitis. Lubricating drops from a pharmacy soothe grittiness in dry eye and viral conjunctivitis. Leave contact lenses out until the eye is fully clear, and never rinse lenses or cases in tap water. What home care cannot do is replace an examination when there is pain, light sensitivity, blurring or a baby under a month old, and no home remedy, including the old advice about breast milk, honey or chamomile, has evidence behind it for treating an infected eye.
What people often get wrong about eye discharge
The first misconception is that green or yellow discharge automatically means bacteria and therefore antibiotics. Color is a weak signal, as the conjunctivitis section explains, and most conjunctivitis in adults is viral, where antibiotic drops do nothing. CDC guidance notes that even bacterial cases frequently resolve without them. Whether a drop is prescribed is a judgment the examining clinician makes on the whole picture, and asking for one on the strength of color alone is a request they will often, reasonably, decline.
The second is that a very watery eye must be overproducing tears. Often the opposite is true: the eye is dry, irritated and watering by reflex, and lubricating drops calm it more reliably than anything that dries it further.
The third concerns dizziness. People search whether conjunctivitis causes dizziness, usually because they have both at once. Conjunctivitis affects the surface of the eye and does not affect balance; the two are linked only when a viral illness such as a cold causes both the red eye and the lightheadedness, or when someone has been unwell, dehydrated or not sleeping. Dizziness with a painful red eye, a severe headache, vomiting or a sudden change in vision is a different matter entirely and needs urgent assessment, because it can indicate acute angle-closure glaucoma or a neurological cause.
The fourth is the belief that chronic morning crust means a lingering infection that needs a stronger drug. Month after month of lash crusting is almost always blepharitis, a lid-hygiene problem, not an unbeaten germ. The final one is treating a contact lens as neutral. In anyone who wears lenses, discharge with discomfort is assumed to involve the cornea until an examination proves otherwise.
When to see a doctor about eye discharge
Most eye discharge can wait and watch. Some cannot. Seek same-day care, through an eye casualty service, urgent care or emergency department depending on where you live, if discharge comes with any of the following:
- Moderate or severe eye pain, rather than grittiness or mild soreness
- Any reduction or blurring of vision that does not clear with a blink
- Marked sensitivity to light
- A red eye in someone who wears contact lenses
- A newborn under one month with sticky or red eyes
- Redness and swelling of the eyelid or the skin around the eye with fever, or difficulty moving the eye, which can indicate infection spreading behind the eye
- A chemical splash or a foreign body that will not rinse out
- A one-sided blistering rash on the forehead or nose alongside eye symptoms
- A red, painful eye with headache, nausea or halos around lights
Book a routine appointment, within a few days, if conjunctivitis has not started to improve after a week or has lasted beyond two weeks, if a baby’s sticky eye is accompanied by redness or swelling beside the nose, if discharge keeps returning for months, if styes recur, or if a watery eye overflows onto the cheek every day. People who are immunosuppressed, have had recent eye surgery, or have an existing eye condition such as glaucoma should have a lower threshold for being seen.
Bring the useful details with you: when it started, one eye or both, color and consistency, whether it itches, burns or aches, what you have tried, your lens habits and any recent cold, rash or new medicine. Those answers, with a two-minute look under a slit lamp, resolve the overwhelming majority of cases.
Frequently asked questions
What is conjunctivitis?
Conjunctivitis is inflammation of the conjunctiva, the clear membrane that lines the inner eyelids and covers the white of the eye. When inflamed, its small blood vessels widen, giving the pink color, and its glands produce discharge. The NHS lists viruses, bacteria and allergens as the three main causes, and most cases settle within two weeks.
Is yellow discharge a symptom of viral conjunctivitis?
It can be, although thick yellow or green discharge more often points to a bacterial cause. CDC guidance describes viral conjunctivitis as typically watery or thin, yet overnight drying can turn any discharge yellow and crusty. Clinicians rely on the whole picture, including a recent cold, itching, and whether one or both eyes are involved, rather than color alone.
Can conjunctivitis cause dizziness?
Not directly. Conjunctivitis affects the surface of the eye and has no effect on balance. When the two occur together it is usually because a viral cold is causing both, or because of fever, poor sleep or dehydration. Dizziness with a painful red eye, severe headache, vomiting or vision change is a separate emergency that needs urgent assessment.
Is it okay to pull out eye mucus?
Yes, if you wipe rather than dig. Wash your hands, soften the crust with a warm damp cloth or cotton pad, and wipe once from the inner corner outward using a fresh pad for each eye. Avoid fingernails on the eye surface, which scratch the conjunctiva and, in dry eye, provoke more of the mucus you are trying to remove.
What causes eye boogers every morning?
Overnight the tear film keeps forming but blinking stops, so mucus, oil and shed cells collect at the corners and dry. A small daily amount is normal. A larger or greasier deposit each morning, particularly along the lashes, usually indicates blepharitis or dry eye, while matted lids with a red eye suggest conjunctivitis.
Why is my eye discharge stringy and white?
Stringy, elastic white mucus is most often a sign of dry eye or allergy. Surface irritation prompts the goblet cells to make extra protective mucus, which blinking rolls into threads. Itching points toward allergy; burning and grittiness worse in the evening point toward dry eye. Neither is infectious, and lubricating drops are the usual first step.
How long is eye discharge contagious?
Only infectious conjunctivitis spreads. CDC guidance says a person can pass on viral or bacterial conjunctivitis for as long as symptoms are present. Viral cases typically last 7 to 14 days, sometimes up to three weeks; bacterial cases usually settle within two weeks. Hand washing, separate towels and daily pillowcase changes limit transmission during that time.
Does my child need to stay home from school with sticky eyes?
Usually not. NHS guidance states that children with conjunctivitis do not need to be kept away from school or nursery unless they feel unwell, as long as hands are washed and towels are not shared. Individual schools may set their own policy. A baby under one month with sticky or red eyes should be examined rather than watched.
Why does one eye keep watering and crusting but is not red?
A watery, sticky eye with a normal white is the classic pattern of a blocked tear duct. Tears cannot drain into the nose, so they pool, overflow and pick up mucus. In babies the duct usually opens on its own by the first birthday; in adults the duct narrows with age or after nose injury, and a specialist can assess the drainage.
What tests are done for eye discharge?
The examination is usually quick: a vision check, inspection of the lids and lashes, turning the upper lid to look for foreign bodies, and a slit-lamp view with a fluorescein dye drop that highlights any damage to the cornea. Swabs are reserved for newborns, severe cases or discharge that fails to settle. Tear production may be measured if dry eye is suspected.
References
- NHS: Conjunctivitis
- CDC: About Conjunctivitis (Pink Eye)
- MedlinePlus: Eye burning, itching and discharge
- National Eye Institute (NIH): Blepharitis
This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.
Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.
More from the Blog
The First Weeks After Cataract Treatment: Drops, Shields and When Lifting Is Allowed
Cataract treatment recovery usually spans several weeks. The NHS describes blurred, gritty, watery or mildly sore eyes in the first days that generally settle…
Screens, Gym and Swimming After LASIK: A Realistic Return Schedule for Everyday Life
There is no fixed medical ban on screen time after LASIK. Most people are asked to rest their eyes on the day of surgery,…
Swelling Under One Eye: Allergy, Infection and Sinus Causes and When It Needs an Eye Check
Swelling under one eye most often comes from a stye or chalazion, an allergic or contact reaction, an insect bite, or a blocked tear…
Toric Lens Implant vs Laser Reshaping for Astigmatism: Two Routes Compared Plainly
Both routes can correct astigmatism, but they work in different parts of the eye. Laser reshaping changes the curve of the cornea and generally…
How Biometry Measurements Decide Your Intraocular Lens Power Before Surgery
Before cataract surgery, the eye is measured with optical or ultrasound biometry to obtain its axial length, the curvature of the cornea and the…
When Is a Vitrectomy Needed? Retinal Detachment, Macular Holes, Bleeding and Scar Tissue
A vitrectomy is needed when the gel inside the eye, the vitreous, must be removed to reach or relieve a problem at the retina.…






