Diagnosis typically involves a pelvic examination and the use of imaging techniques such as ultrasound or MRI. A hysterosalpingogram, which involves injecting a dye into the cervical canal, can also be used to assess the degree of stenosis. In some cases, a hysteroscopy may be performed to directly visualize the cervical canal.