The different cell subsets of the immune system express vitamin D receptor (VDR). Through VDR, vitamin D exerts different functions which influences on immune responses, as previously shown in different preclinical models. Based on this background, retrospective studies have explored the impact of vitamin D levels on the outcome of patients undergoing allogeneic hematopoietic stem cell transplantation, showing that vitamin D deficiency is related to an increased risk of complications, especially graft-versus-host disease. These results have been confirmed in a prospective cohorts trial, although further studies are required to confirm this data. In addition, the role of vitamin D on the treatment of hematologic malignancies has also been explored. Considering this dual effect both on the immune system as well as on tumor cells in patients with hematologic malignancies, vitamin D might be useful in this setting both to decrease graft-versus-host disease and relapse rates.