You might get hand cramps after writing, typing, or holding your phone for long periods of time. Dehydration, diabetes, carpal tunnel syndrome, and focal dystonia can also cause hand cramps.