A method for setting a massage pattern of a thermotherapy device comprising an electric moxibustion device having a motor, a transfer unit, a controller, an input unit and a memory unit, the method comprising: a first operation of driving, under control of the controller, the electric moxibustion device, by the motor, to physically scan the entire spine of a user to be massaged, setting articulation points between vertebrae as reference points for the human spine composed of cervical vertebrae, thoracic vertebrae, lumbar vertebrae, and a sacrum/coccyx, and storing the articulation points in the memory unit at the controller; a second operation of receiving information, at the controller, on related vertebrae according to human diseases or desired therapies, and storing the information in the memory unit at the controller; a third operation of receiving, based on said related vertebrae, information on a moving path on which the electric moxibustion device actually moves with respect to the reference points while performing a massage on the vertebrae so that the reference points become starting points and end points of the massage pattern, receiving information on a repeat count at which the electric moxibustion device repeatedly performs the massage while moving along the moving path, setting a massage pattern based on said received information according to the human diseases or the desired therapies, and storing the massage pattern in the memory unit at the controller; and a fourth operation of using the controller to search for the corresponding massage pattern in the memory unit based on information on a disease or desired therapy input through the input unit, receiving the corresponding massage pattern from the memory unit, and controlling the electric moxibustion device and the motor to perform a massage according to the set massage pattern at the controller. a first operation of driving, under control of the controller, the electric moxibustion device, by the motor, to physically scan the entire spine of a user to be massaged, setting articulation points between vertebrae as reference points for the human spine composed of cervical vertebrae, thoracic vertebrae, lumbar vertebrae, and a sacrum/coccyx, and storing the articulation points in the memory unit at the controller; a second operation of receiving information, at the controller, on related vertebrae according to human diseases or desired therapies, and storing the information in the memory unit at the controller; a third operation of receiving, based on said related vertebrae, information on a moving path on which the electric moxibustion device actually moves with respect to the reference points while performing a massage on the vertebrae so that the reference points become starting points and end points of the massage pattern, receiving information on a repeat count at which the electric moxibustion device repeatedly performs the massage while moving along the moving path, setting a massage pattern based on said received information according to the human diseases or the desired therapies, and storing the massage pattern in the memory unit at the controller; and a fourth operation of using the controller to search for the corresponding massage pattern in the memory unit based on information on a disease or desired therapy input through the input unit, receiving the corresponding massage pattern from the memory unit, and controlling the electric moxibustion device and the motor to perform a massage according to the set massage pattern at the controller.