Pediatric patients usually experience high levels of pain and distress due to venipuncture. This randomised study aimed to evaluate the effects of virtual reality-based preprocedural education in comparison with video-based education in terms of pain and distress experienced by children scheduled to undergo venipuncture. Ninety children aged 4-8 years who were scheduled to undergo venipuncture surgery were randomly assigned to either a video or virtual reality group. Children in the video group received preprocedural education on venipuncture via a video displayed on a tablet and those in the virtual reality group received the same education via a head-mounted virtual reality display unit. The educational content for the two groups was identical. An independent assessor blinded to the group assignment observed the children's behavior and determined their Children's Hospital of Eastern Ontario Pain Scale scores, parental satisfaction score, procedure-related outcomes, venipuncture time, number of repeated procedures and difficulty score for the procedure. The virtual reality group experienced less pain and distress, as indicated by their Children's Hospital of Eastern Ontario Pain Scale scores compared with the video group (5.0 [5.0-8.0] vs. 7.0 [5.0-9.0], P = 0.027). There were no significant intergroup differences in parental satisfaction scores or procedure-related outcomes. For pediatric patients scheduled to undergo venipuncture, preprocedural education via a head-mounted display for immersive virtual reality was more effective compared with video-based education via a tablet in terms of reducing pain and distress.