Spending too much time sitting or standing in the wrong position can put pressure on your muscles and joints. Over time, this tension can lead to painful cramps.

6. Nerve Compression
Sometimes, nerves in the legs can become compressed—such as in cases of sciatica or herniated discs—which may trigger cramps or tingling sensations.
7. Pregnancy
During pregnancy, changes in hormones and increased pressure on blood vessels can lead to leg cramps, especially at night. Gentle stretching before bed may help reduce their frequency.