Several things can cause pain at the upper end of the hamstring. The first is a hamstring strain where the muscle-tendon-bone unit stretches beyond the zone of full return. This tissue acts like a spring, returning to normal length with each cycle, unless it is stretched too far (like your slinky when you were a kid). Strains can take as long as 12 weeks to fully heal, but after four weeks, the tissues should be healed to the point where you can walk easily without pain. I see this most often in older water-skiers trying to pull up on one ski, and soccer players or sprinters moving at full speed. The best cure for this is progressive eccentric hamstring strengthening. These are known as Nordic hamstring curls . You may need help with this from a physical therapist or personal trainer, and it is critical to start slow, with a low load, and increasing over time.