Conclusion: hysterosalpingography helps detect many abnormalities in the uterine cavity and the fallopian tubes in infertile women, especially in people over 35 years old, with a history of tubal surgery and secondary infertility.