Possible causes and mechanisms
A longitudinal dark stripe may come from subungual bleeding after trauma (subungual hematoma), increased melanin production by melanocytes (melanonychia), a benign nevus or lentigo, fungal infections, systemic pigmentary changes, medication or chemical exposure, or—rarely—subungual melanoma. The underlying mechanism may be blood, pigment deposition, or a growth within the nail unit.