BackgroundVitamin D deficiency associates with the risk of developing many diseases, including cancer. At the molecular level, vitamin D appears to have an antineoplastic effect. However, the role of vitamin D deficiency in cancer pathogenesis remains unelucidated and numerous studies have resulted in discordant results. This study aimed to determine whether vitamin D deficiency during melanoma diagnosis increases the risk of developing non-cutaneous second primary cancers (SPC). Materials and methodsA retrospective study on 663 patients diagnosed with melanoma between 1 January 2011 and 31 October 2022. The effect of each variable on the development of a subsequent non-cutaneous cancer was performed using Kaplan–Meier curves and differences were assessed by log-rank tests. Cox proportional hazard univariate and multivariate models were used to quantify the effect of each variable in the time to develop a non-cutaneous neoplasia. ResultsOut of 663 patients, 34 developed a non-cutaneous SPC. There was no statistically significant association between vitamin D levels and non-cutaneous SPC development (log-rank, p=0.761). Age>60 years, stage III/IV, and nodular melanoma subtype were significantly associated with the development of a SPC. After multivariate analysis, only age>60 years (HR 3.4; HR CI 95%: 1.5–7.6) and nodular melanoma subtype (HR 2.2; HR CI 95%: 1.0–4.8) were included in the final model. ConclusionsOur results suggest that vitamin D deficiency is not associated with an increased risk of developing non-cutaneous SPC in melanoma patients. However, age over 60 years and nodular melanoma subtype increase the risk for non-cutaneous SPC development.