The piriformis muscle is located deep in the buttock, and connects the sacrum to the top of the femur, or thigh bone. Its function is to roll the leg out to the side. Piriformis syndrome is pain deep in the buttock caused when the piriformis muscle traps the sciatic nerve. Symptoms include pain deep in the buttock, ...