Objectives To investigate the benefits of virtual reality (VR) first-aid training in acquiring cardiopulmonary resuscitation (CPR) skills. Methods A total of 100 non-medical professional volunteers from Nanchang were selected in March 2021 using the convenience sampling method. They were randomly divided into two groups: the VR training group (VR group) and the traditional simulation scenario training group (traditional group). The VR Group underwent immersive virtual reality CPR training with interactive feedback, while the Traditional Group received standard simulation-based CPR training using mannequins and instructor guidance. After training, relevant data were collected for comparative analysis. Results The study revealed that the VR group consistently outperforming the traditional group in theoretical knowledge test (cardiac arrest recognition, chest compressions, airway management, and artificial respiration) scores at 1, 3, 6, and 12 months post-training (p < 0.05). Similarly, the VR group showed superior performance in overall skills test scores and individual CPR quality metrics at all post-training assessments. The VR group scored higher in total skills, assessment, post-resuscitation assessment, chest compressions (at 1, 3, and 6 months), airway opening, and artificial respiration compared to the traditional group (p < 0.05). Despite these findings, both groups exhibited a gradual decrease in skills test scores over time. Conclusions Virtual reality training can significantly improve non-medical professional volunteers’ CPR knowledge and skill levels, helping them master and maintain these competencies. However, a decrease in CPR knowledge and skills among the participants over time was observed after VR training, suggesting the need for further retraining sessions.