White spots on your nails are often the result of a nail injury called leukonychia. Other potential causes include allergies, fungal infection, mineral deficiency, or heavy metal poisoning.