Jiaotai Pill can treat insomnia, but it mainly targets insomnia caused by excessive heart fire and heart-kidney disharmony (heart fire and kidney yin deficiency, dysfunction of the physiological functions of the heart and kidneys). Jiaotai Pill is composed of Huanglian and Cinnamon. Huanglian can clear heart fire, and cinnamon warms the kidneys. The combination of the two herbs has the effect of communicating with the heart and kidneys (heart fire goes down, kidney water goes up, and each other controls the other). This formula can be used for insomnia caused by excessive fire in the heart and lack of communication between the heart and kidneys (heart fire is strong, kidney yin is weak, and the physiological functions of the heart and kidneys are imbalanced), which can be characterized by insomnia, palpitations (rapid heartbeat, often accompanied by panic attacks), and sores on the mouth and tongue. Jiaotai Pills are only effective for insomnia caused by heart and kidney dysfunction (heart fire, kidney yin deficiency, physiological dysfunction of the heart and kidney), but are ineffective for the other types of insomnia, and should not be taken by those who do not have any manifestation of heart and kidney dysfunction. If there is a need for medication, it should be used under the guidance of a physician. Individuals should not take medication on their own to avoid adverse consequences. If you have insomnia, it is recommended to go to the hospital in time to be treated by a Chinese medicine practitioner.