Pain in patients suffering from hard‐to‐heal wounds is a serious problem that hinders the healing process and affects their quality of life. Virtual reality (VR) is increasingly being used for pain relief. The aim of the study was to assess whether the use of VR during mechanical cleansing of venous leg ulcers would result in a reduction in patients' pain. Sixty patients were randomly divided into two groups. The experimental group included patients who used VR goggles during wound cleansing, and the control group included patients who did not use such equipment during wound cleansing. The Oculus Quest 2 VR Goggles were used in the experiment. After wound cleaning, the patient assessed the intensity of his pain on a numerical pain rating scale from 0 to 10 points. The difference between the intensity of pain during wound cleansing in patients from the experimental and control group turned out to be statistically significant (p < 0.001). It was on average 1.13 ± 0.68 points in the experimental group, and in the case of people from the control group, it was 4.73 ± 1.2 points. To conclude, the use of VR in patients with venous leg ulcers reduces pain during wound cleansing.