Eye Infection

Many cases of eye infections begin with eye discomfort, redness and itchiness. Some cases can lead to vision loss. It’s important to see a healthcare provider to determine the exact cause and find the correct treatment.


Eye infections often cause red and itchy eyes, as well as discharge of sticky pus that causes your eyelids to stick together.
Microorganisms cause infections in one or both eyes, with pink eye (conjunctivitis) being the most common eye infection.

What is an eye infection?

An eye infection is a disease of the eye that you get because of a microorganism like a bacterium, a virus or a fungus. The most common eye infection is pink eye (conjunctivitis).

Viruses cause most cases of pink eye, but bacteria can cause pink eye, too. You can’t treat viral infections with antibiotics. Antibiotics only work on bacterial infections.

Eye infections can happen in one eye or both eyes. Some infections aren’t serious. Others are medical emergencies that can cause vision loss. Eye infections can affect nearly any part of your eye.

You can have an infection on your eyelid, your conjunctiva or cornea, or the external parts of your eye.

How common are eye infections?

Eye infections are common. About 1 million people in the U.S. go to their healthcare providers or to hospitals with eye infections each year. Many of these infections happen to people who wear contact lenses.

What are some common eye infections?


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

Symptoms and Causes

What are the signs and symptoms of an eye infection?

An infected eye may look or feel different than usual. Early signs and symptoms of an eye infection may include:

Later signs and symptoms of eye infections may include:

  • Discharge (yellow, sticky pus) from your eyes.
  • Eyelashes that stick together because of discharge.
  • Sensitivity to light (photophobia).
  • Blurred vision.
  • Fever.

What causes an eye infection?

You can get eye infections from bacteria, fungi (plural of fungus), parasites and viruses. These small organisms can enter your eyes in many different ways, including eye injuries.

One of the most common ways to get an eye infection is to sleep in your contact lenses. It’s also common to get an eye infection if you don’t properly clean your lenses.

What bacteria commonly cause eye infections?

Both gram-negative and gram-positive bacteria can cause eye infections. Gram-negative bacteria are bacteria that providers can’t see during a Gram stain test, though they’re detectable in a bacterial culture test. Gram-positive bacteria are visible in a Gram stain test. Some of the more common bacterial causes of infections in your eyes include:

  • Bacillus.
  • Enterobacteriaceae.
  • Haemophilus influenza.
  • Moraxella spp.
  • Neisseria gonorrhoeae.
  • Pseudomonas aeruginosa (P. aeruginosa).
  • Staphylococcus aureus (S. aureus).
  • Streptococcus pneumoniae (S. pneumoniae).

What viruses commonly cause eye infections?

What types of fungi cause eye infections?

Fungi belonging to the Candida species cause about 66% of endophthalmitis cases that happen after corneal transplant surgery. You might also get a fungal infection after cataract surgery.

You can get an eye infection if you have an eye injury because of an item from the outdoors, such as a stick or a plant, contaminated with Fusarium. You can also get an eye infection that happens because of a fungal bloodstream infection.


Diagnosis and Tests

How is an eye infection diagnosed?

You might be able to tell if you have an eye infection, but it’s best to consult a healthcare provider. They’ll take your medical history, ask you questions about your symptoms and do a thorough eye exam. They may also take a swab of any discharge from your eye to send to a lab for testing.

Management and Treatment

How is an eye infection treated?

Treatment for eye infections depends on what’s causing your eye infection. It might include anti-infective medication in various forms, such as eye drops, ointments or tablets. It usually takes 24 to 48 hours for antibacterial medications to work.

You may have to let viral or allergic infections clear on their own, but you may be able to make yourself more comfortable with the following home remedies:

  • Using damp, warm or cool compresses to make your eyes feel better.
  • Using lubricating eye drops (artificial tears).
  • Using over-the-counter (OTC) pain relievers.
  • Avoiding allergens that caused the reaction in the first place.



How can I prevent eye infections?

You may not be able to prevent every eye infection, but you can take steps to reduce your risk. These may include:

  • Making sure you follow directions on how to use your contact lenses, how to clean them and how long to wear them.
  • Wearing protective eye gear when you work or participate in sports.
  • Avoiding allergens that bother your eyes and taking allergy medicine to prevent irritation.
  • Avoiding people who may be ill.
  • Practicing good hand hygiene.
  • Not sharing items, like towels or eye makeup, that touch your eye.
  • Throwing out cosmetics if you develop an eye infection so you won’t get re-infected.

Outlook / Prognosis

What can I expect if I have an eye infection?

Eye infections due to allergies aren’t contagious or dangerous to your sight. You don’t need to avoid other people.

You can spread eye infections due to viruses, bacteria or fungi to other people. You should avoid being around others until you treat your condition.

Some eye infections are dangerous to your vision, such as those due to eye injuries and infections of your cornea. This is why it’s best to contact an eye care specialist to evaluate your eye. They’ll know what’s causing your eye infection and how to treat it effectively.

Living With

When should I see my healthcare provider about an eye infection?

If you have allergies, you might be familiar with eye irritation. But it’s a good idea to see your healthcare provider about any eye condition that’s causing discomfort, pain, discharge or problems with your vision.

You’ll need immediate medical help for eye injuries. In some instances, you’ll need treatment to prevent certain eye infections causing vision loss. Oftentimes, eye doctors are available “on call” after hours or on weekends to address these types of vision-threatening infections.

A note from Cleveland Clinic

Despite layers of protection, eyes are vulnerable to disease. Eye injuries and systemic (throughout the body) diseases can make you vulnerable to eye infections. Even though you may be familiar with symptoms of redness or irritation in your eye, it’s important to have a healthcare provider examine you and diagnose what’s causing the problem. Some eye infections can cause serious problems without proper treatment. People who wear contact lenses should be especially careful.

Medically Reviewed

Last reviewed on 05/11/2023.

Learn more about our editorial process.

Appointments 216.444.2020