The pectineus muscle is a flat, quadrangular muscle, situated at the anterior (front) part of the upper and medial (inner) aspect of the thigh. The pectineus muscle is the most anterior adductor of the hip. The muscle's primary action is hip flexion; it also produces adduction and external rotation of the hip.
It can be classified in the medial compartment of thigh (when the function is emphasized) or the anterior compartment of thigh (when the nerve is emphasized).