This cross-sectional study demonstrates that low 25OHD and 1,25(OH)2D levels are independently associated with low Hb levels and anemia risk in patients scheduled for cardiac surgery. This evidence concerns the gene GSTM1 and anemia.