Early detection of cervical myelopathy (CM) is important for a favorable outcome, as its prognosis is poor when left untreated. We developed a screening method for CM using machine learning-based analysis of the drawing behavior of 38 patients with CM and 66 healthy volunteers. Using a stylus pen, the participants traced three different shapes displayed on a tablet device. During the tasks, writing behaviors, such as the coordinates, velocity, and pressure of the stylus tip, along with the drawing time, were recorded. From these data, features related to the drawing pressure, and time to trace each shape and combination of shapes were used as training data for the support vector machine, a machine learning algorithm. To evaluate the accuracy, a receiver operating characteristic curve was generated, and the area under the curve (AUC) was calculated. Models with triangular waveforms tended to be the most accurate. The best triangular wave model identified patients with and without CM with 76% sensitivity and 76% specificity, yielding an AUC of 0.80. Our model was able to classify CM with high accuracy and could be applied to the development of disease screening systems useful outside the hospital setting.