The invention relates to a medicine for treating liver depression and spleen deficiency syndromes and in particular provides a pharmaceutical composition for treating liver depression and spleen deficiency syndromes as well as a preparation method and application thereof. The pharmaceutical composition for treating the liver depression and spleen deficiency syndromes contains the following components: astragalus, processed bighead atractylodes rhizome, raw coix seed, salviae miltiorrhizae, rhizoma cyperi, radix bupleuri, oriental wormwood, polygonum cuspidatum, concha arcae, verbena, semen cassiae, raw hawthorn and fructus polygoni orientalis. The pharmaceutical composition for treating liver depression and spleen deficiency syndromes has the following effects when applied to a patient suffering from non-alcoholic type fatty liver disease (NAFLD): clinical symptoms and signs of the NAFLD patient are obviously alleviated; liver function and blood lipid parameters of the patient can be safely and effectively reduced, and the effects of protecting the liver, lowering transaminase and lowering lipid are realized; and hepatic steatosis degree of the patient is obviously reduced.