Doctify logo
For providers
Provider Login

Eye Infections

Last reviewed: 07/06/26
Medically reviewed by
avatar-image
Mr Vinod Gangwani
Ophthalmologist
4.9

Snapshot summary

Eye infections occur when germs, such as bacteria, viruses, fungi or parasites, enter the eye or surrounding area. They can range from mild infections that clear with simple treatment to more serious infections that need prompt medical care to protect eyesight.

Key facts:

  • Eye infections can affect the conjunctiva, cornea or, more rarely, deeper parts of the eye
  • The most common eye infection is infective conjunctivitis, also known as pink eye
  • Symptoms may include red or sore eyes, sticky discharge, a gritty feeling, pain, light sensitivity or blurred vision
  • Viral infections often clear on their own, while bacterial infections may need antibiotic drops or ointment
  • Contact lens wearers should seek advice early, as some infections can affect the cornea
  • Good hygiene helps reduce the risk of spreading infection or reinfection

Overview

An eye infection happens when germs enter the eye or the surrounding area. These germs may include bacteria, viruses, fungi or parasites.

Most eye infections are mild and improve on their own or with simple treatment. However, some infections can be more serious and may need prompt medical attention to prevent permanent damage to eyesight.

Eye infections can affect different parts of the eye. They may involve the cornea, which is the clear front surface of the eye, the conjunctiva, which is the thin lining covering the white part of the eye, or, in rare cases, deeper parts of the eye.

The most common eye infection is infective conjunctivitis, also known as pink eye. This is highly contagious and can affect people of all ages.

Symptoms & causes

What causes eye infections?

Eye infections usually happen when germs enter the eye. This can occur through contact with contaminated hands or objects, poor contact lens hygiene, or an eye injury.

Viruses are the most common cause of eye infections, particularly viral conjunctivitis. These infections are often linked to viruses that cause colds or sore throats.

Bacterial infections can be caused by germs such as Staphylococcus or Streptococcus. These can infect the eye, especially if hygiene is poor or the eye is already irritated.

Fungal eye infections are rare but serious. They may happen after an eye injury involving soil or plants, or in people with weakened immune systems.

Parasitic eye infections can also occur. Certain parasites found in water can cause severe infections in the cornea, especially in contact lens wearers who use tap water to clean their lenses.

Who is at risk of eye infections?

Anyone can develop an eye infection, but some people have a higher risk.

You may be more likely to develop an eye infection if you:

  • Are a child or older adult
  • Wear contact lenses, especially if they are not cleaned or stored correctly
  • Swim or shower while wearing contact lenses
  • Have a weakened immune system, such as from diabetes or some medicines
  • Have had a recent eye injury, even a minor scratch
  • Touch or rub your eyes with unwashed hands

What are the symptoms of eye infections?

Eye infection symptoms can vary depending on the cause and the part of the eye affected.

Common symptoms include:

  • Red or sore eyes
  • Pink or bloodshot whites of the eyes
  • Watery discharge, which is more common with viral infections
  • Thick yellow or green discharge, which may suggest bacterial infection
  • A gritty feeling, as if there is sand in the eye
  • Pain or soreness, ranging from mild irritation to more severe pain
  • Sensitivity to light
  • Blurred vision, often caused by discharge or swelling

Diagnosis & tests

How are eye infections diagnosed?

A healthcare professional will usually diagnose an eye infection by assessing your symptoms and examining the eye.

They may ask about your symptoms, contact lens use, recent illness, eye injury or exposure to someone with an eye infection.

Tests may include:

  • Vision test: This checks whether your eyesight has been affected.
  • Slit-lamp examination: A special microscope with a bright light is used to look closely at the eye.
  • Eye swab: A small sample of discharge may be taken if the infection is severe or not improving.
  • Pupil-dilating drops: These may be used to check for infection deeper inside the eye.

Treatment

How are eye infections treated?

Treatment depends on the cause of the infection.

Viral eye infections

Most viral eye infections, including viral conjunctivitis, clear up on their own within 1-2 weeks. Treatment focuses on comfort and reducing irritation.

This may include cold compresses to reduce swelling and lubricating eye drops, also called artificial tears, to relieve discomfort.

Antiviral drops or tablets may be used for specific viral infections, such as herpes-related eye infections.

Bacterial eye infections

Bacterial eye infections may be treated with antibiotic eye drops or ointment to help clear the infection.

Oral antibiotics may be needed if the infection spreads beyond the eye or affects deeper tissues.

Fungal and parasitic eye infections

Fungal and parasitic eye infections are less common but can be serious. They need specialist care.

Treatment may include frequent antifungal or anti-parasitic eye drops. Some people may need hospital admission for close monitoring and intensive treatment.

Management

How can eye infections be managed at home?

In addition to medical treatment, self-care can help manage symptoms and reduce the risk of spreading infection.

Gently wipe away discharge using cooled, boiled water and clean cotton wool. Use a fresh piece of cotton wool each time.

Avoid wearing contact lenses until symptoms have fully cleared and you have been advised it is safe to use them again.

Do not share towels, pillows, flannels or eye makeup. Wash your hands often, especially before touching your eyes or applying eye drops.

If you have used eye makeup during an infection, it is best to throw it away because germs can remain on makeup and brushes.

Possible complications

Most eye infections heal completely, but delayed or untreated infections can sometimes cause complications.

Possible complications include corneal ulcers, which are open sores on the front surface of the eye, and permanent vision loss caused by scarring or internal eye damage.

Some infections can spread to the tissues around the eye, causing orbital cellulitis. This is a serious infection that needs urgent treatment.

Repeated infections may also cause long-term irritation or damage to the surface of the eye.

Outlook

The outlook for most eye infections is good. Mild infections often improve within a few days, and many clear completely with self-care or appropriate treatment.

More serious infections, especially those affecting the cornea or deeper parts of the eye, need prompt medical attention. Early diagnosis and treatment can help prevent complications and protect eyesight.

Contact lens wearers should be especially cautious, as infections linked to contact lenses can sometimes become serious quickly.

When to seek medical help

Seek medical advice if:

  • Symptoms do not improve after a few days
  • Eye pain is severe or getting worse
  • You have sudden vision loss or a major change in eyesight
  • You become very sensitive to light
  • There is significant swelling or redness around the eye
  • You have a high fever or feel very unwell
  • You wear contact lenses and develop redness, pain, discharge or blurred vision

Find a provider

FAQs

Can I go to work or school with an eye infection?

If the infection is contagious, such as conjunctivitis, it is best to stay home until the discharge has cleared to reduce the risk of spreading it to others.

Should I throw away my eye makeup after an infection?

Yes. Germs can survive on makeup and brushes, so it is best to discard any eye makeup used during the infection.

Are all red eyes caused by infection?

No. Red eyes can also be caused by allergies, dry eyes or irritants such as smoke or chlorine. Infections are more likely when redness is linked with discharge, pain or vision changes.

Can eye infections damage eyesight permanently?

Most eye infections do not cause permanent damage. Serious infections can affect eyesight if treatment is delayed.

Can contact lenses cause eye infections?

Yes. Poor contact lens hygiene is a common cause of eye infections. Always clean and store lenses properly, and never use tap water or swim with contact lenses in.

Do eye infections always need antibiotics?

No. Antibiotics only work for bacterial infections. Viral infections usually improve with self-care and time.

How long do eye infection symptoms last?

Mild infections often improve within a few days. If symptoms worsen or last longer than a week, seek medical advice.

References

https://bnf.nice.org.uk/treatment-summaries/eye-infections/

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6003010/

https://www.aao.org/eye-health/diseases/pink-eye-quick-home-remedies

Find a provider