Vitamin B, as a nerve-nourishing drug, has a certain effect on the stability of the nervous system, so it may have some improvement on the symptoms of insomnia, but it is not the main drug for treating insomnia. Due to the different causes of insomnia, the therapeutic effect of vitamin B also varies. 1, mental illness: such as insomnia caused by autonomic nerve disorders, vitamin B supplementation has a certain effect, because the most important nutrient needed by the autonomic nerve is vitamin B. Proper supplementation of vitamin B can help improve sleep quality and help patients sleep better; 2, psychological factors: such as insomnia caused by stressful life and work, mental tension, anxiety The effect of vitamin B supplementation is generally poor, and it is recommended to carry out psychological guidance, or anti-depressant treatment; 3, disturbances in work and rest: if insomnia is caused by frequent night shifts that lead to disturbances in the biological clock and changes in rhythm, the effect of vitamin B supplementation is usually poor, and it is recommended to regularize work and rest and adjust the lifestyle. Insomnia patients are recommended to go to the hospital for timely examination, according to the cause, take the necessary drug treatment, psychotherapy, to avoid the adverse consequences of prolonged insomnia.