Mayo Clinic Health Manager
Get free personalized health guidance for you and your family.
Get StartedPrevention
By Mayo Clinic staffThese steps may help prevent cramps:
- Avoid dehydration. Drink plenty of liquids every day. The exact amount depends on what you eat, your sex, your level of activity, the weather, your health, your age and any medications you may be taking. Fluids help your muscles contract and relax and keep muscle cells hydrated and less irritable. Drink fluids before any exercise activity. During the activity, replenish fluids at regular intervals, and continue drinking water or other fluids after you're finished.
- Stretch your muscles. Stretch before and after you use any muscle for an extended period. If you tend to have leg cramps at night, stretch before bedtime.