Headache like electric shock may be caused by physiological factors, which may be caused by occipital neuralgia, cerebral hemorrhage and other diseases. It is recommended to consult a doctor in time and under the guidance of the doctor. 1. Physiological factors: poor sleep, excessive stress, late night labor, etc. may lead to an overburdened nervous system, causing headaches. It is recommended to have a reasonable work schedule, ensure sufficient sleep and pay attention to the combination of work and rest. 2. Occipital neuralgia: this disease manifests itself in the posterior occipital pain, paroxysmal exacerbation, intense pain, similar to the nature of electric shock, cut or needle-like. 3. Cerebral hemorrhage: this disease is mainly due to the sudden increase in blood pressure, cerebral blood vessel rupture and caused. At the onset of the disease, there will be electric shock-like pain, which may be accompanied by nausea, vomiting, hemiparesis, hemiplegia, hemiplegia and other symptoms, which can be diagnosed by cranial CT examination. If electric shock-like pain occurs in the head, it is recommended to go to the hospital in time, complete the relevant examinations to exclude some serious diseases, and carry out diagnosis and treatment under the guidance of specialized physicians.