The exact cause of dysplastic nevi is not fully understood. However, both genetic and environmental factors appear to play roles. Individuals with a family history of dysplastic nevi or melanoma are at a higher risk. Additionally, excessive exposure to UV radiation from the sun or tanning beds can contribute to their development.