A pulled hamstring (hamstring strain) is one of the most common exercise-related injuries. A hamstring strain occurs when a movement stretches the muscles running along the back of the thigh, tearing some of the muscle fibers. Any activity that involves running or jumping can cause a hamstring strain.
Time and rest are the best treatment for most hamstring strains. Other treatments may help reduce swelling and speed recovery:
Apply ice to the area for 30 minutes every few hours for two to three days.
Wrap the hamstring with an elastic bandage.
Elevate the leg on a pillow when sitting or lying down.
Over-the-counter anti-inflammatory medicines, like ibuprofen (Advil, Motrin, Nuprin) or naproxen (Aleve) can relieve pain and swelling, as well. Unless you’re sure it’s OK, it’s best to check with your doctor before taking these medicines.
Important: The opinions expressed in WebMD User-generated content areas like communities, reviews, ratings, blogs, or WebMD Answers are solely those of the User, who may or may not have medical or scientific training. These opinions do not represent the opinions of WebMD. User-generated content areas are not reviewed by a WebMD physician or any member of the WebMD editorial staff for accuracy, balance, objectivity, or any other reason except for compliance with our Terms and Conditions. Some of these opinions may contain information about treatments or uses of drug products that have not been approved by the U.S. Food and Drug Administration. WebMD does not endorse any specific product, service, or treatment. Do not consider WebMD User-generated content as medical advice. Never delay or disregard seeking professional medical advice from your doctor or other qualified healthcare provider because of something you have read on WebMD. You should always speak with your doctor before you start, stop, or change any prescribed part of your care plan or treatment. WebMD understands that reading individual, real-life experiences can be a helpful resource, but it is never a substitute for professional medical advice, diagnosis, or treatment from a qualified health care provider. If you think you may have a medical emergency, call your doctor or dial 911 immediately.