The nerve to the quadratus femoris descends along the ischium deep to the tendon of the obturator internus muscle and associated gemellus muscles to penetrate and innervate the quadratus femoris. It supplies a small branch to the gemellus inferior.
Nerve to obturator internus