Those who are suffering from diabetes, anemia, uremia, sleep apnea, narcolepsy or spinal cord tumor, are at an increased risk of developing periodic limb movement disorder. REM behavior disorder is another medical condition, wherein, twitching may take place during the REM stage.