Hysterosalpingography (HSG) is a minimally invasive procedure that can be painful. This study aimed to examine the impact of a tailored training program on anxiety and perceived pain intensity in infertile women undergoing HSG. This research was a clinical trial involving 86 infertile women who were candidates for HSG and conducted at the radiology department of the Royan Infertility Center in Tehran, Iran, between November 22, 2021, to March 11, 2023.The participants were divided into two groups:43 women in the intervention group and 43 women in the control group. The randomization of the samples was carried out using a random number table. The women in the intervention group received two face-to-face group training sessions. Data were collected using valid questionnaires. Additionally, the heart rate and blood pressure of the participants were recorded. Data analysis showed the training intervention was significantly associated with reducing anxiety levels, perceived pain, systolic blood pressure, diastolic blood pressure, and heart rate in women undergoing HSG (p < 0.05). These findings support the use of structured training interventions to improve the overall experience and outcomes for patients undergoing HSG.Trial Registration Number: IRCT20150905023897N4.