Source: Verywell Health
A black toenail is usually caused by an injury, but it can also indicate a fungal infection, vitamin deficiency, or a medical condition like diabetes or cancer. It's important to see a healthcare provider, especially if you aren't sure of the cause, to make sure you get the right treatment.