Some people say that dehydration increases the urge to move the legs. It is unclear if dehydration alone is the culprit. Dehydration can mean that your electrolyte balance is also off, which affects muscle contraction and leads to cramping.