Sitting in front of the computer for a long time neck pain may be caused by certain diseases, such as muscle strain, cervical spondylosis, etc., different reasons for different treatments, common treatments are physical therapy, medication and so on. 1. Muscle strain: when sitting for a long time, the neck muscles are in a constant state of tension, which can easily lead to chronic muscle injury. Attention should be paid to avoid prolonged bowing of the head, often relax the muscles around the cervical spine. You can sit and try to row your hands backward, do like rowing like action, this reverse action to loosen the tight back muscles, cervical spine, relieve neck pain. 2. Cervical spondylosis: due to cervical spondylosis, cervical spine nerve root, vertebral artery and other compression, dysfunction will occur. After sitting for a long time, if the posture is not appropriate, the cervical spine force increases, it will aggravate the symptoms, showing the back of the neck pain. You can relieve the symptoms through massage, hot compresses and other physical therapy. Neck pain after sitting for a long time in front of the computer may also be related to myofasciitis and so on. It is recommended that patients go to the hospital in a timely manner, and follow the doctor’s instructions to standardize the treatment.