The aim of this study was to determine if increased mortality associated with low levels of serum 25-hydroxyvitamin D (25(OH)D) reflects a causal relationship by using a Mendelian randomisation (MR) approach with genetic variants in the vitamin D synthesis pathway. Individual participant data from three European cohorts were harmonized with standardization of 25(OH)D according to the Vitamin D Standardization Program. Most relevant single nucleotide polymorphisms of the genes CYP2R1 (rs12794714, rs10741657) and DHCR7/NADSYN1 (rs12785878, rs11234027), were combined in two allelic scores. Cox proportional hazards regression models were used with the ratio estimator and the delta method for calculating the hazards ratio (HR) and standard error of genetically determined 25(OH)D effect on all-cause mortality. We included 10,501 participants (50.1% females, 67.1±10.1 years) of whom 4003 died during a median follow-up of 10.4 years. The observed adjusted HR for all-cause mortality per decrease in 25(OH)D by 20 nmol/L was 1.20 (95% CI: 1.15–1.25). The HR per 20 nmol/L decrease in genetically determined 25(OH)D was 1.32 (95% CI: 0.80–2.24) and 1.35 (95% CI of 0.81 to 2.37) based on the two scores. In conclusion, the results of this MR study in a combined sample from three European cohort studies provide further support for a causal relationship between vitamin D deficiency and increased all-cause mortality. However, as the current study, even with ~10,000 participants, was underpowered for the study of the effect of the allele score on mortality, larger studies on genetics and mortality are needed to improve the precision.