It can take a long time, unfortunately. For some people, it can take up to a year for a hamstring injury to heal.