Pickle juice is a classic home remedy for painful post-exercise leg cramps. Pickle relish is an acceptable substitute.
A reader who loves long hikes reports that putting soap chips in her socks prevents leg cramps. We have a possible explanation.
To see whether soap in bed will protect you from leg cramps at night, unwrap a bar and put it under the bottom sheet or apply liquid soap.