The biceps femoris flexes the leg at the knee joint. The long head also extends and laterally rotates the hip. When the knee is partly flexed, the biceps femoris can laterally rotate the leg at the knee joint.
The long head is innervated by the tibial division of the sciatic nerve and the short head is innervated by the common fibular division of the sciatic nerve.