In order to make advanced gait training easy and effective, an electrical spinal cord stimulator for gait training used in gait training for those who have difficulty in walking due to hemiplegia includes: first and second electrodes attached to a rehabilitant; a detector which detects a gait-related physical movement of the rehabilitant; and an electrical sensory nerve stimulation generator which generates, according to a detection result of the detector, electrical stimulation to be applied through the first and second electrodes to a nerve root of a sensory nerve which communicates with a spinal cord.