One study found that approximately 1 to 2 months of static stretching and strengthening the quads improved hamstring flexibility. However, the length of time it takes to loosen your hamstrings may depend on the severity of the tightness. Overall, it is a good preventative measure to include hamstring stretching in your daily routine.