The sartorius muscle is the longest muscle in the human body, running from the hip to the knee.