A narrow muscle that passes transversely across the perineal space in front of the anus, along the line that divides the perineum into genital and anal triangles. It attaches laterally to the ischial tuberosities, and medially into the perineal body.