Black toenails are caused by bleeding under the nail. The blood is usually from trauma to the toe, such as from running or kicking a ball. The blood causes the nail to turn black. If you have a black toenail, you should see a doctor to make sure there is no bone fracture or other serious damage. To avoid black toenails, keep your toenails trimmed short and wear proper footwear.