SummaryIn a randomised controlled trial of vitamin D during pregnancy, we demonstrated that women with lower self-efficacy were more likely to experience practical problems with taking the trial medication and that this was associated with lower compliance and achieved 25(OH)-vitamin D concentrations.