The medial compartment of the thigh consists of muscles that mainly adduct the thigh at the hip joint.
The sciatic nerve innervates muscles in the posterior compartment of the thigh, the femoral nerve innervates muscles in the anterior compartment of the thigh, and the obturator nerve innervates most muscles in the medial compartment of the thigh.