[header] How to get rid of a thigh cramp [title] Figure out which muscle of your thigh is cramping. [step] Before you can treat a thigh cramp with stretching, it's important to identify which muscle on your thigh is cramping. The thigh has different muscles that can cramp. 
Identifying which of the major thigh muscles is cramping will help you stretch most effectively. This should typically be done by a healthcare professional, specifically a doctor, physical therapist or personal trainer.