Muscle cramps and spasms happen when a muscle spontaneously contracts.

A muscle spasm or muscle cramp can cause minor discomfort to severe pain.

You may even end up with a bruise in the location of the cramp.

Muscle Cramp Causes illustration

Verywell / Laura Porter

Cramps can involve part of a muscle or all the muscles in a group.

The most commonly affected muscle groups include:

Spasms and cramps can be mild or extremely painful.

Muscle cramps range in intensity from a slight twitch or tic to severe pain.

A cramped muscle can feel rock-hard and can last a few seconds to several minutes or longer.

It is not uncommon for cramps to ease up and then return several times before they go away entirely.

Some researchers think this may be the primary mechanism that leads toexercise-associated muscle cramping (EAMC).

Muscle Cramp Treatment and Prevention

Cramps usually go away on their own without treatment.

However, these tips are most recommended by experts and athletes alike:

Most muscle cramps are not serious.

If your muscle cramps are severe, frequent, constant or of concern, see your healthcare provider.

Summary

A muscle spasm is an involuntary contraction of the muscle.

It can be very painful and can sometimes even leave a bruise on the skin.

You may be able to prevent muscle cramps by stretching regularly, especially before and after exercise.

The American Academy of Orthopaedic Surgeons.Muscle cramps.

Jahic D, Begic E.Exercise-associated muscle cramp-doubts about the cause.Mater Sociomed.