We report two cases of perianal endometriosis in which we were greatly assisted by endoanal ultrasonography. Patient 1 was a 43-year-old woman with perianal pain. Endosonography showed a hypoechoic mass in the anterior perianal region without involvement of the anal sphincter. Local excision was performed under spinal anesthesia without damage to the anal sphincter. Patient 2 was a 30-year-old woman with perianal pain coinciding with her menstrual period. Endosonography showed a heterogeneous mass containing cystic anechoic areas in the right anterior perianal region and involving the external anal sphincter. Wide excision, including the episiotomy scar and part of the external anal sphincter, and primary sphincteroplasty were performed under spinal anesthesia. According to our experience, preoperative endosonography is a reliable technique for visualizing perianal endometriosis and for diagnosing anal sphincter involvement. Operative management should be determined on the basis of preoperative and intraoperative ultrasonographic assessment.