Sudden spinal pain while lying in bed may be caused by ligament inflammation, spinal compression fracture, improper posture and other factors. 1. Inflammation of ligaments: Inflammation of the supraspinous ligament or interspinous ligament will have the above symptoms, usually the pain point is relatively fixed, the patient can easily identify the specific site of pain, and the pain symptom will persist when resting on the side. 2. Spinal compression fracture: trauma to the spine or severe osteoporosis can easily cause spinal compression fracture, and the patient will have spinal pain when lying down, accompanied by limited spinal activity. 3. Improper posture: improper sleeping posture, a posture for too long, and then localized cold caused by neck muscle stiffness, poor blood flow caused by pain and discomfort. There are other causes of sudden spinal pain while lying in bed, if the condition worsens or persists, it is recommended to go to the hospital in time, under the guidance of the doctor for treatment.