The pudendal nerve is the major somatic nerve of the perineum and has no branches in the gluteal region.
The inferior gluteal nerve enters the gluteal region through the greater sciatic foramen inferior to the piriformis muscle and along the posterior surface of the sciatic nerve (Fig. 6.48). It penetrates and supplies the gluteus maximus muscle.