In this randomized controlled trial, we assessed the effects of using a virtual reality (VR) and communication intervention on pain and anxiety in patients undergoing lipoma excision under local anesthesia. We conducted the study at a large hospital in Turkey between March 15 and September 15, 2019, with 100 participants. We used a pretest and posttest design to collect data with a personal information form, the Numeric Pain Rating Scale, and the State-Trait Anxiety Inventory. The intervention group participants watched a video using a VR headset during the procedure and communicated with an investigator; the control group participants only received routine surgical treatment. The intervention had a significant effect on pain during the procedure (P < .001) and a moderate effect on anxiety 60 minutes after the procedure (P = .01). Use of VR and active communication may help reduce pain and anxiety for patients undergoing procedures performed with local anesthesia.