Black Nail

Black Nail

A 37-year-old man presented with a brownish-black nail on the great toe of the right foot. A darkly pigmented linear patch had started to form within the toenail 4 years earlier and had widened and darkened over time.

What is the diagnosis?