Of all the nerves that pass through the greater sciatic foramen, the superior gluteal nerve is the only one that passes above the piriformis muscle (Fig. 6.48). After entering the gluteal region, the nerve loops up over the inferior margin of the gluteus minimus and travels anteriorly and laterally in the plane between the gluteus minimus and medius muscles.