Insomnia belongs to the category of insomnia in traditional Chinese medicine, insomnia with bad liver can be clinically referred to the treatment of “insomnia” in traditional Chinese medicine, which is characterized by liver fire disturbing the heart, and should be treated by dredging the liver and diarrhea, calming the heart and tranquilizing the mind as the regulating principle, and the medicines used should be gentian diarrhea and liver soup, angelica longan pill, and so on. If the liver is not good, it is easy to cause hyperactivity of liver yang (high liver yang, causing dizziness, dizziness, headache and other symptoms), liver qi stagnation (poor qi and blood transportation of the liver, emotional depression), affecting the normal function of liver excretion, and the evil fire disturbs the heart and the spirit, and when the spirit is disturbed, it is easy to insomnia, and the symptoms are insomnia and dreaming, impatience, dizziness and brain swelling, redness of the eyes, ringing in the ears, etc. The treatment of this disease should be dredging and diarrhea, and the principle of regulating should be Longguan Liver Tang. This disease should be regulated and treated by dredging the liver and diarrhea, calming the heart and tranquilizing the mind, and the medicine can be chosen as gentian diarrhea and liver soup, and according to the individual’s condition, the medicine can be given with additions and subtractions appropriately. If insomnia is accompanied by obvious chest tightness and distension, good tai hua (like sighing), Gentian Liver Diatribe Tang can be used as the basic formula, with the addition of Xiang Gui, Yu Jin, Buddha’s hand and Green Calyx Plum in order to detoxify the liver and relieve depression (treating depression by detoxification of the liver’s qi); if dizziness, headache, insomnia, restlessness and constipation are present, Dang Gui Long Huo Pill can be used, and note that the drug is forbidden to use in pregnant women. The above drugs are recommended to be used under the guidance of a doctor. Meanwhile, it is recommended to maintain a calm state of mind, soothe emotions, eat a light diet, nutritious, easy to digest, regular daily routine, and increase physical exercise, which will help to regulate insomnia.