Black lines and patches on the nails can be a cause of concern. Wide black lines underneath the nails could be a sign of dangerous skin cancer known as “melanoma.” If you have these lines or patches on your nails, you should seek medical help immediately because nail melanoma can be treated when detected early. However, trauma, injury, medication, and moles can also be a reason for nails turning black. Dark nails mostly affect individuals with darker skin tones.