What causes mucus in eye (eye discharge) and how to get rid of it?

mucus in eyeEye discharge (eye mucus) is a combination of oil, mucus, skin cells, and other debris accumulating at the corners of your eyes during sleep. Sometimes it can be wet and sticky, and at other times it may be dry and crusty.

Although eye discharge may gross you out and be annoying to clean every morning, it actually has a protective function, removing waste products and potentially harmful debris from the tear ducts.


Eye discharge is formed while you’re asleep because, during the day, frequent blinking bathes the eyes, preventing the mucus from accumulating. When we sleep, we do not blink, so the mucus piles up.

A small amount of eye discharge upon awakening is normal, but excessive mucus or a weird color—yellow or green—could indicate a serious eye problem.

Causes of mucus in the eye

The primary cause of eye mucus is the accumulation of oil, debris, and mucus while you sleep. Other causes for mucus in the eye include:

  • Eye infections: mucus will appear gray or green
  • Allergic conjunctivitis: small, dry particles of mucus
  • Viral conjunctivitis: mucus will appear thick and crusty
  • Styes: mucus is watery, and a lump will appear on the eyelid
  • Dacryocystitis: mucus will be white and stringy (condition is caused by inflammation of the tear sac)
  • Blepharitis: mucus will appear yellow
  • Dry eye syndrome: mucus will be white or yellow and ball-shaped
  • Contact lenses: wearing old or dirty contact lenses can increase mucus production. Also, contact lenses restrict oxygen to the eyes, contributing to eye dryness.
  • Exposure to chemicals

Generally speaking, having mucus in your eyes isn’t a cause for alarm, as your body is simply trying to protect itself, most likely for a foreign invader such as bacteria or viruses. Making note of the color, consistency, and amount of discharge can provide clues to help you decipher the possible causes of your particular type of infection or any other reason you may be experiencing this symptom. When in doubt, see your doctor to get an expert opinion.

Eye mucus types

Gray or thick green eye mucus: This may indicate an eye infection possibly caused by bacteria. Bacterial conjunctivitis is an eye infection that makes it difficult to open the eyes in the morning due to pus production by the bacterial infection. Irritation and redness may also be seen. See a doctor if you suspect any serious complication as a result of this symptom

Small, dry particles of eye mucus: May be caused by allergic conjunctivitis, affecting the eyelid lining and white portion of the eyes (conjunctiva). It is often caused by allergens such as mold, dander, pollen, and other substances. Allergies are caused by a reaction in the body that causes histamine to be released, leading to swelling and itching. Tearing, redness, and puffy eyelids may also be seen. Seek medical attention if over-the-counter treatments are not effective.

Thick, crusty eye mucus: May be caused by viral conjunctivitis. Other possible causes include bacterial infections such as chlamydia or gonorrhea, allergic reactions or irritants such as dust, pool chlorine, smoke, and shampoos. Some people may notice an increased sensitivity to light, redness in the eye lining, and increased tearing. Seek medical attention if these symptoms don’t disappear.
Watery eye mucus: Caused by a stye, which is a tiny lump found inside or outside of the eyelid. Styes are painful and are often filled with puss. They are due to an infection by staphylococcus bacteria. Seek the aid of a medical professional if pain and swelling have not subsided after a couple of weeks, or if the stye interferes with sight.

White, stringy eye: Caused by dacryocystitis which is the inflammation of the tear sac. Acute infections have swelling and pain, while chronic infections have excessive tear production and persistent redness. Seek medical attention to get proper treatment.

Yellow eye mucus: Caused by blepharitis, which is the result of various factors, including bacterial infection, seborrheic dermatitis, malfunctioned oil glands, lice or eyelash mites, rosacea, allergies, or certain medications. It often presents with red eyes, swollen eyelids, sticking of the eyelids, itching, increased blinking, increased sensitivity to light, loss of eyelashes, and abnormal eyelash growth. Seek the aid of a medical professional to get proper treatment


Yellow or white balls of eye mucus: Caused by dry eye syndrome and occurs when your hormones decrease your tear production. Common causes include sun exposure, allergic reactions to medication, dry windy environments, smoking or cigarette exposure, and viral colds. Symptoms may include sensitivity to the light itchy eye, redness, and burning sensations. Seek medical attention for proper treatment

Treatment and preventative options for eye discharge

Here are some home remedies to try:

  • Avoid touching your eyes, especially with dirty hands. Always wash your hands prior to touching your eyes.
  • Always remove your contacts and ensure they are being properly cleaned. Also, avoid wearing old contacts.
  • Discard old eye makeup and avoid sharing eye makeup with others.
  • Get to know your allergens and avoid them as best as possible or at least stick with your allergy treatment plan.
  • Apply warm compresses to the eyes.

Generally, a small amount of eye discharge is normal and only requires you to wash your face to remove it. If you begin to notice changes to your eye discharge, such as changes in color or amount produced, see your doctor, as it could indicate an infection.

Author Bio

Emily Lunardo studied medical sociology at York University with a strong focus on the social determinants of health and mental illness. She is a registered Zumba instructor, as well as a Canfit Pro trainer, who teaches fitness classes on a weekly basis. Emily practices healthy habits in her own life as well as helps others with their own personal health goals. Emily joined Bel Marra Health as a health writer in 2013.


Related Reading:

Dry eyes signs, symptoms, and causes

Eye strokes (retinal artery occlusion): Symptoms, causes, and treatment