We found some evidence that antepartum vitamin D deficiency was associated with increased postpartum affective symptoms, especially in women not taking vitamin D supplementation. Clinical trials should determine whether vitamin D supplementation can reduce the risk for postpartum affective disorders.