An anorectal foreign body can cause serious complications such as incontinence, rectal perforation, peritonitis, or pelvic abscess, so it should be managed immediately. We experienced two cases of operative treatment for a self-inserted anorectal foreign body. In one, the foreign body could not be removed as it was completely impacted in the anal canal. We failed to remove it through the anus. A laparotomy and removal of the foreign body was performed by using an incision on the rectum. Primary colsure and a sigmoid loop colostomy were done. A colostomy take-down was done after three months. The other was a rectal perforation from anal masturbation with a plastic device. We performed primary repair of the perforated rectosigmoid colon, and we didea sigmoid loop colostom. A colostomy take-down was done three months later. Immediate and proper treatment for a self-inserted anorectal foreign body is important to prevent severe complications, and we report successful surgical treatments for problems caused by anorectal foreign bodies.