Eye Infection

All Diseases

Introduction

An eye infection happens when harmful microorganisms—bacteria, viruses, fungi, or parasites—invade the eyelids, conjunctiva, cornea, or deeper eye structures. Infections can cause redness, discharge, pain, and, in severe cases, vision loss.

Some infections are highly contagious (especially viral and bacterial conjunctivitis). Others mainly affect contact-lens wearers or people with weakened immunity. Severity ranges from mild “pink eye” to sight-threatening keratitis.

Environmental irritants and allergies can look similar to infection but are not the same problem. Correct diagnosis matters because antibiotic drops do not help viral disease, and fungal or Acanthamoeba infections need specific therapy.

This page is general education, not a self-prescription guide. Severe pain, sudden vision change, contact-lens–related redness, or symptoms that worsen despite treatment need prompt eye care.

Overview

Common presentations include conjunctivitis (pink eye), blepharitis-related lid infections, styes, and corneal infections (keratitis). Cause determines treatment: antibiotics, antivirals, antifungals, or antiparasitic care.

Children, older adults, people with diabetes or autoimmune disease, and contact-lens users have higher risk of complications.

Most mild infections improve with timely care and hygiene; delayed treatment of corneal infection can leave scars or permanent vision loss.

  • Causes: bacteria, viruses, fungi, parasites
  • Symptoms: redness, itch/burn, discharge, swelling, light sensitivity, blur
  • Contagious forms: many viral and bacterial conjunctivitis cases
  • Contact lenses raise risk of serious keratitis (including Acanthamoeba)
  • Diagnosis: history, slit-lamp exam, cultures when needed
  • Treatment matched to the organism—do not share leftover drops
  • Complications: corneal ulcer, scarring, chronic inflammation, vision loss
  • Prevention: hand hygiene, lens care, avoid eye rubbing

What happens in the body

Microbes reach the eye from hands, contaminated water or cosmetics, respiratory droplets, or poorly cleaned contact lenses. Breaks in the tear film or corneal surface make invasion easier.

Inflammation produces redness, swelling, and discharge. On the cornea, infection can form an ulcer that threatens clear vision. Dry eye, Sjögren’s syndrome, or immune suppression can lower local defenses.

  • Pathogens invade surface or deeper eye tissues
  • Reduced blinking/tear protection raises susceptibility
  • Contact-lens hypoxia and poor cleaning favor microbes
  • Viral particles can spread easily between people
  • Corneal involvement risks ulcer and scarring

Signs and symptoms

Symptoms vary by organism and which part of the eye is involved. Common features include:

  • Red or bloodshot eye
  • Itching, burning, or gritty discomfort
  • Watery or pus-like discharge
  • Eyelid or surrounding tissue swelling
  • Light sensitivity (photophobia)
  • Blurred or reduced vision
  • Crusting of lids, especially on waking
  • Severe pain (more concerning for corneal infection)
  • Symptoms in one eye that later involve the other (common in contagious conjunctivitis)

Causes and risk factors

Infections have infectious causes plus risk factors that make invasion more likely:

  • Bacteria such as Staphylococcus or Streptococcus (bacterial conjunctivitis or keratitis)
  • Viruses including adenoviruses and herpes simplex
  • Fungi, especially with trauma from plant material or in immunocompromised people
  • Parasites such as Acanthamoeba in contact-lens wearers (often linked to water exposure)
  • Poor hand hygiene and touching or rubbing the eyes
  • Inadequate contact-lens cleaning, overnight wear, or dirty cases
  • Underlying dry eye, diabetes, autoimmune disease, or chemotherapy
  • Allergens and pollutants that irritate the surface and mimic or worsen infection risk

Diagnosis and evaluation

Evaluation starts with history and a careful eye exam; tests are added when the cause is unclear or severe:

  • History of onset, contagion exposure, contact-lens use, trauma, and immune status
  • External exam for redness, discharge, lid swelling, and corneal clarity
  • Slit-lamp examination of conjunctiva and cornea
  • Visual acuity measurement
  • Culture or smear of discharge when bacterial, fungal, or atypical infection is suspected
  • Imaging (ultrasound/CT) only if deeper orbital disease is a concern
  • Differentiation from allergy, dry eye, and foreign body irritation

Treatment and management

Therapy depends on the cause. Stop contact-lens wear until cleared by a clinician:

  • Bacterial infections: antibiotic drops or ointments as prescribed
  • Viral infections: supportive care for many adenovirus cases; antivirals for herpes-related disease when indicated
  • Fungal infections: antifungal drops or systemic medicine under specialist care
  • Parasitic (e.g., Acanthamoeba) keratitis: specific antiparasitic regimens—urgent specialist treatment
  • Warm compresses for styes or blocked glands
  • Preservative-free lubricating drops for dryness and comfort (as advised)
  • Pain control and follow-up timing set by severity—do not use steroid drops unless prescribed
  • Pediatric and older adults may need adjusted dosing and closer monitoring

Prevention, self-care, and lifestyle

Not every condition is fully preventable, but the steps below may lower risk or recurrence:

  • Wash hands often and avoid touching or rubbing the eyes
  • Do not share towels, pillowcases, eye makeup, or eyedrops
  • Clean, store, and replace contact lenses and cases exactly as directed; never rinse lenses in tap water
  • Replace eye makeup regularly and discard products used during an active infection
  • Stay current with recommended vaccinations that reduce some viral illnesses
  • Keep routine eye exams if you wear lenses or have chronic dry eye
  • Support general health with sleep, hydration, and a balanced diet rich in vitamins A, C, and E

Possible complications

Delay, missed care, or unsafe self-medication can raise the chance of complications in some cases:

  • Corneal ulcer and scarring
  • Chronic surface inflammation
  • Spread of contagious conjunctivitis to household or classmates
  • Temporary or permanent vision impairment
  • Orbital infection in rare, severe cases
  • Delayed healing in diabetes or immune compromise

When to see a doctor or seek emergency care

Seek prompt medical advice or emergency care if any of the following apply—it is safer not to wait and see:

  • Severe eye pain
  • Sudden vision change or loss
  • Intense redness with marked swelling
  • Persistent or worsening discharge
  • Contact-lens wearer with a red, painful eye—remove lenses and seek care the same day
  • Symptoms not improving with advised care, or fever with eye swelling
  • Newborn eye redness/discharge—urgent pediatric evaluation

Living with the condition

During contagious conjunctivitis, stay home from school or close work if advised, use separate towels, and wash hands after touching the eyes.

Finish prescribed courses even when the eye looks better, unless your clinician changes the plan. Resume contact lenses only after clearance.

If infections recur, ask about dry eye, lid hygiene, lens habits, or immune factors that may need longer-term management.

Frequently asked questions

What causes eye infections?

Bacteria, viruses, fungi, or parasites. Bacterial and viral conjunctivitis are common; fungal and Acanthamoeba infections are less common but more dangerous, especially with contact lenses.

How can I tell if I have an eye infection?

Redness, itching or burning, discharge, swelling, light sensitivity, and blur are typical. Severe pain or sudden vision change needs urgent care—do not wait.

Are eye infections contagious?

Many viral and bacterial conjunctivitis cases are contagious. Good hygiene and not sharing towels or makeup reduce spread.

How are they diagnosed?

An eye clinician reviews history and examines the eye, often with a slit lamp. Cultures or other tests may identify the organism in severe or atypical cases.

What treatments are available?

Antibiotics for bacterial disease, antivirals when herpes is involved, antifungals or antiparasitics for those causes, plus comfort measures such as warm compresses and lubricants.

Can eye infections be prevented?

Yes—hand hygiene, proper contact-lens care, avoiding eye rubbing, and not sharing eye products substantially lower risk.

Important caution

This article is for general health education only. It is not personal medical advice or a substitute for an eye examination.

Choice of antibiotic, antiviral, or other therapy should follow assessment by a qualified clinician.

If pain is severe, vision drops suddenly, or a contact-lens–related red eye appears, seek eye care or emergency services without delay.