The invention relates to the technical field of medicine production, and discloses a medicine for treating hypertension and insomnia, and the medicine comprises the following components in percentage by weight: 10-15% of herba taxilli, 7-12% of radix puerariae, 11-14% of rhizoma chuanxiong, 6-9% of flos chrysanthemi indici, 8-13% of spica prunellae, 5-8% of semen cassiae, 4-9% of radix scutellariae, 9-13% of folium apocyni veneti, 6-11% of bulbus lilii, 7-13% of caulis polygoni multiflori, 3-6% of malt, 4-7% of radix paeoniae alba, 2-6% of lotus plumule, 3-5% of radix rehmanniae, 5-7% of radix curcumae, 3-7% of rhizoma cyperi, 5-9% of fructus forsythiae, 5-7% of liquorice, 10-13% of red dates, 8-15% of fruit and vegetable extracts and 10-20% of honey. The bulbus lilii, the caulis polygoni multiflori, the malt, the radix paeoniae alba, the lotus plumule, the radix rehmanniae, the radix curcumae, the rhizoma cyperi, the fructus forsythiae, the liquorice and the red dates can not only treat insomnia, but also relieve vexation and treat amnesia, so that the problems of vexation and amnesia caused by the fact that a patient suffers from hypertension or insomnia for a long time can be avoided, therefore, physical and psychological health of the patient can be greatly improved, and diseases of the patient can be indirectly treated.