Here, we show that increased VitD availability upon genetic deletion of Gc or following vitamin D dietary supplementation alters the gut microbiome to enhance cancer immunity (graphical summary in Supplementary Fig. 12A, B). The gene discussed is GC; the disease is cancer.