What are the possible causes of nail discoloration or infection?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 24, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Causes of Nail Discoloration and Infection

Nail discoloration and infection are most commonly caused by fungal organisms (onychomycosis), bacterial infections (particularly Pseudomonas), or non-infectious inflammatory conditions like psoriasis and trauma. 1

Infectious Causes

Fungal Infections (Onychomycosis)

Fungal infections are the leading cause of nail discoloration and infection worldwide, with prevalence reaching up to 35% in people over 65 years. 1

Dermatophytes are the most common culprits:

  • Trichophyton rubrum is the primary pathogen globally 1
  • T. interdigitale commonly causes superficial white onychomycosis, especially in children 2
  • These produce thickened, discolored nails with varying degrees of separation from the nail bed

Yeasts cause infection more frequently than generally recognized:

  • Candida parapsilosis and C. guilliermondii are the main yeast pathogens (not C. albicans, which ranks third) 3
  • Candida infections are more likely in fingernails, particularly in individuals with frequent water immersion 1
  • Chronic paronychia with secondary nail dystrophy occurs in wet occupations and thumb-sucking children 2
  • Primary total dystrophic onychomycosis from Candida typically affects immunocompromised patients 2

Non-dermatophyte molds (NDMs) are emerging pathogens:

  • Scopulariopsis brevicaulis, Acremonium spp., Aspergillus spp., Fusarium spp., and Neoscytalidium 1
  • Suspect molds when previous antifungal treatment has repeatedly failed 2

Bacterial Infections

Pseudomonas aeruginosa causes characteristic green or black nail discoloration (chloronychia):

  • Presents as the classic triad: green discoloration, proximal chronic paronychia, and disto-lateral onycholysis 4
  • Color ranges from pale green to dark green, almost black 4
  • Colonizes onycholysis of any origin in moist environments 4

Other bacterial pathogens include Klebsiella spp. and Staphylococcus aureus 3

Non-Infectious Causes

Inflammatory Conditions

Psoriasis is a major non-infectious cause:

  • Affects up to 50% of patients with psoriasis 5
  • Secondary candidal onychomycosis commonly occurs in psoriatic nails 2

Other inflammatory conditions that mimic infection:

  • Lichen planus (can cause permanent scarring with loss of normal nail anatomy) 5
  • Chronic paronychia 6
  • Alopecia areata 6

Trauma and Mechanical Causes

Repetitive trauma results in:

  • Distal onycholysis leading to colonization by infectious pathogens 2
  • Discoloration of the nail plate 2
  • The nail bed appears normal with intact longitudinal epidermal ridges if trauma is the primary cause 2

Other Non-Infectious Causes

  • Onycholysis (various etiologies) 5
  • Onychogryphosis 5
  • Subungual hematoma 5
  • Yellow nail syndrome 2
  • Darier disease 2

Key Risk Factors

Major predisposing factors for infectious nail disease include 1:

  • Increasing age
  • Peripheral vascular disease
  • Diabetes mellitus or HIV infection
  • Immunosuppressive medications
  • Tinea pedis (commonly associated with tinea unguium)
  • Occlusive footwear
  • Repeated nail trauma
  • Poor nail grooming
  • Use of commercial swimming pools and spas
  • Obesity
  • Smoking

Critical Diagnostic Considerations

Important caveat: The clinical appearance alone cannot reliably distinguish between infectious and non-infectious causes. 2 Laboratory confirmation through microscopy and culture is essential before initiating treatment, as approximately 50% of dystrophic nails are not caused by fungal infection. 2

Bacterial infection can coexist with fungal infection and may require treatment in its own right. 2

Proximal subungual onychomycosis in adults should raise suspicion for HIV infection, as it is common in persons with AIDS and sometimes considered a useful marker. 2

References

Research

[Infections of finger and toe nails due to fungi and bacteria].

Der Hautarzt; Zeitschrift fur Dermatologie, Venerologie, und verwandte Gebiete, 2014

Research

Green nail: Etiology and treatment of chloronychia.

Hand surgery & rehabilitation, 2024

Research

[Nail disorders in daily practice].

Nederlands tijdschrift voor geneeskunde, 2022

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.