This study aims to determine the cutoff values for the compound muscle action potential (CMAP) stimulus in anatomically identified anterior (motor nerve) and posterior roots (sensory nerve) during cervical intradural extramedullary tumor surgery. The connection between CMAP data from nerve roots and postoperative neurological symptoms in thoracolumbar tumors was compared with data from cervical lesions. The participants of the study included 22 patients with intradural extramedullary spinal tumors (116 nerve roots). The lowest stimulation intensity to the nerve root at which muscle contraction occurs was defined as the minimal activation intensity (MAI) in the CMAP. In cervical tumors, the MAI was measured after differentiating between the anterior and posterior roots based on the anatomical placement of the dentate ligament and nerve roots. The MAIs for 20 anterior roots in eight cervical tumors were between 0.1 and 0.3 mA, whereas those for 19 posterior roots were between 0.4 and 2.0 mA. The cutoff was <0.4 mA for both the anterior and posterior roots, and sensitivity and specificity were both 100%. In thoracolumbar tumors, the nerve root was severed in 12 of 14 cases. All MAIs were determined to be at the dorsal roots as their scores were higher than the cutoff and did not indicate motor deficits. The MAIs of the anatomically identified anterior and posterior root CMAPs were found to have a cutoff value of <0.4 mA in the cervical lesions. Similar MAI cutoffs were also applicable to thoracolumbar lesions. Thus, CMAP may be useful in detecting anterior and posterior roots in spinal tumor surgery.