Astragalus can easily cause insomnia and irritability if eaten in excess. Astragalus belongs to the tonic medicine, if eaten in excess it will lead to Yang energy, and insomnia is mostly caused by Yin deficiency and Yang energy, so it tends to cause insomnia. It is recommended to take the medicine under the guidance of a doctor, do not take the medicine blindly. Usually pay attention to rest, to ensure sufficient sleep, do not be too tired. Pay attention to diet, do not eat stimulating food. Listen to quiet music before going to bed, keep a happy mood, and reduce stress. If you have Yang deficiency yourself, eating Huang Qi can achieve balance and you will not lose sleep. If one has a balance of Yin and Yang, eating Astragalus can lead to insomnia and irritability.