Vitamin D deficiency is associated with increased risk of schizophrenia. However, it is not known whether this association is causal or what the direction of causality is. We performed two sample bidirectional Mendelian randomization analysis using single nucleotide polymorphisms (SNPs) robustly associated with serum 25(OH)D to investigate the causal effect of 25(OH)D on risk of schizophrenia, and SNPs robustly associated with schizophrenia to investigate the causal effect of schizophrenia on 25(OH)D. We used summary data from genome-wide association studies and meta-analyses of schizophrenia and 25(OH)D to obtain betas and standard errors for the SNP-exposure and SNP-outcome associations. These were combined using inverse variance weighted fixed effects meta-analyses. In 34,241 schizophrenia cases and 45,604 controls, there was no clear evidence for a causal effect of 25(OH)D on schizophrenia risk. The odds ratio for schizophrenia per 10% increase in 25(OH)D conferred by the four 25(OH)D increasing SNPs was 0.992 (95% CI: 0.969 to 1.015). In up to 16,125 individuals with measured serum 25(OH)D, there was no clear evidence that genetic risk for schizophrenia causally lowers serum 25(OH)D. These findings suggest that associations between schizophrenia and serum 25(OH)D may not be causal. Therefore, vitamin D supplementation may not prevent schizophrenia.