Though muscle cramps can affect any part of the body, more often than not, the muscles of the back, thighs, calves, and foot are affected. A muscle cramp is an involuntarily and forcibly contracted muscle that doesn't relax. Poor blood circulation in the legs is often a contributing factor.