Keratitis In Immunocompromised Patients: Special Considerations
Published on: November 27, 2025
Keratitis in immunocompromised patients featured image
  • Article author photo

    Anjana Gopinath

    Bachelor of Dental Surgery , Dentistry, Government Dental College, Kannur

Overview

Keratitis is caused by the inflammation of the cornea, which is the dome-shaped tissue on the front of the eye covering the pupil and iris. This condition may be caused by oedema of the cornea, inflammatory cell infestation, and congestion of cilia. Corneal ulceration may also develop, potentially progressing to corneal blindness.

Keratitis can be classified into infectious and non-infectious types. Infectious keratitis is caused by microbial agents, including bacteria (the most common cause), viruses, fungi, and parasites. Non-infectious keratitis may result from trauma to the cornea, foreign bodies, dry eye disease, or allergic reactions.

Keratitis is particularly concerning in immunocompromised individuals, such as those with HIV/AIDS, diabetes mellitus, organ transplant recipients, patients undergoing chemotherapy, and individuals on long-term immunosuppressive therapy. The cornea is protected by both innate and adaptive immune mechanisms. Adaptive immunity involves Langerhans cells and cytokines. In immunocompromised patients, these defence mechanisms are diminished or dysregulated, increasing susceptibility to severe infections and complications.

This article will explore the causes of keratitis, the key clinical features, and the diagnostic and treatment challenges in immunocompromised patients.

Causes and risk factors

Keratitis is classified into infectious and non-infectious forms based on the underlying cause. Infectious keratitis includes microbial keratitis and viral keratitis.1 Microbial keratitis involves bacteria, fungi, and parasites, with bacteria being the most common agents.

Risk factors for bacterial keratitis include contact lens use, ocular trauma, previous ocular surgery, and a history of keratitis. In developed countries, contact lens wear is the leading risk factor, while in developing countries, trauma predominates.2 Common bacterial pathogens include Staphylococcus aureus, Streptococcus pneumoniae, atypical mycobacteria, Moraxella, and Nocardia.

Herpes simplex virus (HSV-1) is responsible for the occurrence of Herpes Simplex Keratitis (HSK), a major cause of monocular infectious blindness. The individual’s immune status influences susceptibility. Immunosuppressed patients are at increased risk, and children may experience more severe complications owing to stronger immune-mediated inflammatory responses.3 

Herpes Zoster Keratitis (HZK) arises from reactivation of Varicella Zoster Virus and may affect any corneal layer. It is more common in immunocompromised patients. COVID-19 vaccination has been associated with a potential predisposition to Herpes Zoster Ophthalmicus.4 

Adenoviral keratitis is mostly associated with conjunctivitis and may present with conjunctival haemorrhages. Preauricular lymphadenopathy is an important diagnostic feature. 

Fungal keratitis is a serious condition that may result in severe vision loss. Candida albicans keratitis is more frequently identified in immunocompromised patients. Risk factors include corneal trauma, contact lens-related injury, systemic disease, and topical corticosteroid use. 

Microsporidial keratitis causes keratoconjunctivitis, endophthalmitis, and stromal keratitis in both immunocompetent and immunocompromised individuals.5 It is difficult to distinguish this from viral keratitis. 

Acanthamoeba keratitis, caused by free-living amoebae, is relatively rare but severe.

Non-infectious keratitis may result from foreign bodies, collagen vascular diseases, xerophthalmia, or corneal ulcers.

Clinical features

Common symptoms of keratitis include:

  • Blurred vision
  • Redness
  • Photophobia (light sensitivity)
  • Localised corneal ulceration
  • Localised corneal oedema
  • Elevated intraocular pressure
  • Keratoconjunctivitis
  • Endophthalmitis
  • Eyelid ptosis
  • Stromal keratitis
  • Pain

Diagnosis of keratitis

Keratitis is diagnosed using a combination of clinical examination, microbiological investigations, and advanced diagnostic tools.

Clinical examination

A detailed history and clinical examination are essential. In microbial keratitis, clinical features alone may be insufficient to identify the causative agent, necessitating microbiological testing. Many cases present with ambiguous findings. Standard evaluation of corneal ulcers includes characterising the ulcer and performing corneal scraping for laboratory analysis.6 

A history of recurrent cold sores may support a diagnosis of HSK.7

  • Epithelial HSK typically shows dendritic ulceration
  • Stromal HSK is associated with lipid keratopathy and corneal vascularisation

HZK is often diagnosed clinically. Xerophthalmia is also typically identified clinically.

Microbiological evaluation

Microbiological workup includes smear examination and culturing corneal scrapings on various media.8 These may include blood agar, chocolate agar, cooked meat medium, and Sabouraud agar. Gram staining identifies organisms in 60–75% of bacterial cases.2 When results remain unclear, a corneal biopsy may be required.

Viral culture is considered the gold standard for diagnosing epithelial HSK due to its high specificity.3

Fungal keratitis is diagnosed using staining and corneal scraping cultures. Direct microscopy helps identify fungal filaments. Additional media such as brain–heart infusion and thioglycollate broth may be used.

In vivo confocal microscopy is a non-invasive imaging technique that enables real-time detection of filamentous fungi or Acanthamoeba cysts, providing earlier diagnosis.9

Microsporidial keratitis can be identified using calcofluor white and Ziehl–Neelsen staining. Transmission electron microscopy offers precise identification of microsporidial spores.

Polymerase chain reaction (PCR)

The polymerase chain reaction (PCR) test is used extensively to diagnose microbial keratitis. It is a sensitive, rapid molecular technique used to detect specific DNA sequences, offering quicker results than staining or culture. However, limitations include false positives, high costs, and technical expertise requirements.10,11

PCR is particularly useful for diagnosing atypical mycobacteria and Nocardia species.12

In viral keratitis, PCR can detect HSV DNA from corneal scrapings or swabs, although it cannot differentiate viral shedding from active infection.

PCR is also effective in diagnosing HZK, fungal keratitis, and Acanthamoeba keratitis, allowing early initiation of targeted therapy.

Future diagnostic directions

Emerging technologies include metagenomic next-generation sequencing (NGS), which can identify all microorganisms present in a sample and is useful in complex or atypical cases.

Deep-learning algorithms are being explored for automated diagnosis of microbial keratitis. Artificial intelligence also facilitates remote ophthalmic assessment.

Management of keratitis

Bacterial keratitis

The treatment for bacterial keratitis starts with topical antibiotics. Cycloplegic agents can be applied for anterior chamber inflammation. Fortified cefazolin or vancomycin, combined with fluoroquinolones, tobramycin or gentamicin, provides broad coverage against gram-positive and gram-negative organisms. Topical corticosteroids may be introduced after 2–3 days of antibiotics, once the causative organism has been identified.12-14

Viral keratitis

  • HSK: Topical acyclovir (five times daily) and oral antivirals are used to prevent recurrence. Topical steroids may be added for stromal disease
  • HZK: Primarily treated with oral acyclovir
  • Recurrent infections: Lubricants and prophylactic antibiotics may be used
  • Neurotrophic ulcers: Treated with serum therapy, amniotic membrane transplantation, or tarsorrhaphy
  • Adenoviral keratitis: Highly contagious; strict hygiene is essential

Fungal keratitis

Treatment includes topical antifungals, cycloplegics, and antibiotics for secondary bacterial infections. Surgery may be required in advanced cases.13,14

  • Microsporidial keratitis: Often treated with therapeutic penetrating keratoplasty
  • Filamentous fungi: Treated with topical natamycin
  • Candida keratitis: Treated with amphotericin B
  • Aspergillus keratitis: Voriconazole may be used alongside natamycin

Acanthamoeba keratitis is treated with topical polyhexamethylene biguanide or chlorhexidine. Severe cases may require therapeutic penetrating keratoplasty.

Non-infectious keratitis

  • Foreign body keratitis: Immediate removal under local anaesthesia
  • Shield ulcers: Treated with topical steroids, cyclosporine, and lubricants
  • Peripheral ulcerative keratitis: Managed with topical steroids and systemic immunosuppressants
  • Xerophthalmia: Managed with vitamin A supplementation per WHO guidelines

Summary

Keratitis is inflammation of the cornea and can be severe in immunocompromised individuals due to impaired immune defences. It can be infectious (bacterial, viral, fungal, parasitic) or non-infectious. Bacterial keratitis is the most common infectious form. Viral keratitis may be caused by HSV, HZV, or adenovirus, while fungal keratitis may be caused by numerous fungal pathogens.

Diagnosis involves clinical assessment, microbiological studies, PCR, and emerging technologies such as NGS and artificial intelligence. Management varies depending on the causative organism and may involve antibiotics, antivirals, antifungals, steroids, lubricants, or surgery. Prompt diagnosis and effective treatment are essential to prevent complications and preserve vision.

References

  1. Durand ML, Barshak MB, Chodosh J. Infectious Keratitis in 2021. JAMA [Internet]. 2021 [cited 2025 Nov 24]; 326(13):1319. Available from: https://jamanetwork.com/journals/jama/fullarticle/2784677.
  2. Austin A, Lietman T, Rose-Nussbaumer J. Update on the Management of Infectious Keratitis. Ophthalmology [Internet]. 2017 [cited 2025 Nov 24]; 124(11):1678–89. Available from: https://linkinghub.elsevier.com/retrieve/pii/S0161642016325295.
  3. White ML, Chodosh J. Herpes Simplex Virus Keratitis: A Treatment Guideline San Francisco: Hoskins Center for Quality Eye Care. American Academy of Ophthalmology; 2014. Bing [Internet]. [cited 2025 Nov 24]. Available from: https://www.bing.com/search?q=White ML%2C Chodosh J. Herpes Simplex Virus Keratitis%3A A Treatment Guideline San Francisco%3A Hoskins Center for Quality Eye Care. American Academy of Ophthalmology%3B 2014.&qs=n&form=QBRE&sp=-1&lq=0&pq=white ml%2C chodosh j. herpes simplex virus keratitis%3A a treatment guideline san francisco%3A hoskins center for quality eye care. american academy of ophthalmology%3B 2014.&sc=0-167&sk=&cvid=601CAEBCB5A44DEAA2117ACA29EA625F.
  4. Lu LM, McGhee CNJ, Sims JL, Niederer RL. High rate of recurrence of herpes zoster–related ocular disease after phacoemulsification cataract surgery. Journal of Cataract and Refractive Surgery [Internet]. 2019 [cited 2025 Nov 24]; 45(6):810–5. Available from: https://journals.lww.com/02158034-201906000-00015.
  5. Li JY. Herpes zoster ophthalmicus: acute keratitis. Current Opinion in Ophthalmology [Internet]. 2018 [cited 2025 Nov 24]; 29(4):328–33. Available from: https://journals.lww.com/00055735-201807000-00011.
  6. Khor W-B, Prajna VN, Garg P, Mehta JS, Xie L, Liu Z, et al. The Asia Cornea Society Infectious Keratitis Study: A Prospective Multicenter Study of Infectious Keratitis in Asia. American Journal of Ophthalmology [Internet]. 2018 [cited 2025 Nov 24]; 195:161–70. Available from: https://linkinghub.elsevier.com/retrieve/pii/S0002939418304331.
  7. Watson S, Cabrera-Aguas M, Khoo P. Common eye infections. Aust Prescr [Internet]. 2018 [cited 2025 Nov 24]; 41(3):67. Available from: https://australianprescriber.tg.org.au/articles/common-eye-infections.html.
  8. Garg P, Roy A. Clinical Work-Up of Corneal Ulcers. In: Das S, Jhanji V, editors. Infections of the Cornea and Conjunctiva [Internet]. Singapore: Springer; 2021 [cited 2025 Nov 24]; p. 75–84. Available from: https://doi.org/10.1007/978-981-15-8811-2_5.
  9. Roy A, Srinivasan M, Das S. Fungal Keratitis. In: Das S, Jhanji V, editors. Infections of the Cornea and Conjunctiva [Internet]. Singapore: Springer; 2021 [cited 2025 Nov 24]; p. 149–75. Available from: https://doi.org/10.1007/978-981-15-8811-2_11.
  10. Hoffman JJ, Dart JKG, De SK, Carnt N, Cleary G, Hau S. Comparison of culture, confocal microscopy and PCR in routine hospital use for microbial keratitis diagnosis. Eye [Internet]. 2022 [cited 2025 Nov 24]; 36(11):2172–8. Available from: https://www.nature.com/articles/s41433-021-01812-7.
  11. Sahay P, Goel S, Nagpal R, Maharana PK, Sinha R, Agarwal T, et al. Infectious Keratitis Caused by Rare and Emerging Micro-Organisms. Current Eye Research [Internet]. 2020 [cited 2025 Nov 24]; 45(7):761–73. Available from: https://www.tandfonline.com/doi/full/10.1080/02713683.2019.1708407.
  12. Lin A, Rhee MK, Akpek EK, Amescua G, Farid M, Garcia-Ferrer FJ, et al. Bacterial Keratitis Preferred Practice Pattern®. Ophthalmology [Internet]. 2019 [cited 2025 Nov 24]; 126(1):P1–55. Available from: https://linkinghub.elsevier.com/retrieve/pii/S0161642018326447.
  13. Watson SL, Cabrera‐Aguas M, Keay L, Khoo P, McCall D, Lahra MM. The clinical and microbiological features and outcomes of fungal keratitis over 9 years in Sydney, Australia. Mycoses [Internet]. 2020 [cited 2025 Nov 24]; 63(1):43–51. Available from: https://onlinelibrary.wiley.com/doi/10.1111/myc.13009.
  14. Prajna NV, Krishnan T, Rajaraman R, Patel S, Srinivasan M, Das M, et al. Effect of Oral Voriconazole on Fungal Keratitis in the Mycotic Ulcer Treatment Trial II (MUTT II): A Randomized Clinical Trial. JAMA Ophthalmol [Internet]. 2016 [cited 2025 Nov 24]; 134(12):1365. Available from: http://archopht.jamanetwork.com/article.aspx?doi=10.1001/jamaophthalmol.2016.4096.
Share

Anjana Gopinath

Bachelor of Dental Surgery , Dentistry, Government Dental College, Kannur

arrow-right