The nerve to the obturator internus enters the gluteal region through the greater sciatic foramen inferior to the piriformis muscle and between the posterior cutaneous nerve of the thigh and the pudendal nerve (Fig. 6.48). It supplies a small branch to the gemellus superior and then passes over the ischial spine and through the lesser sciatic foramen to innervate the obturator internus muscle from the medial surface of the muscle in the perineum.