The invention discloses an environment-friendly shampoo and a preparation method thereof. The shampoo consists of tea seeds, gleditsia sinensis, Chinese soapberry fruits, fresh ginger, pomelo peel, fleece flower roots, Chinese angelica, ginseng, mulberry leaves, milkvetch roots, a mint extraction, folium artemisiae argyi, mimusops elengi, honeysuckle flowers, rice, black sesame, aloe, black sugarand distilled water, wherein weight parts of the components are as follows: 90-110 parts of tea seeds, 75-85 parts of gleditsia sinensis, 55-65 parts of Chinese soapberry fruits, 18-22 parts of freshginger, 10-20 parts of pomelo peel, 18-22 parts of fleece flower roots, 18-22 parts of Chinese angelica, 18-22 parts of ginseng and 16-22 parts of mulberry leaves. The shampoo disclosed by the invention does not contain chemical compounds and is biodegradable, so that environment friendliness is improved. The shampoo has the effects of blackening hair, growing hair, brightening hair, nourishing scalp, removing dandruff and relieving itching, and does not have any side effect on a human body. In addition, the selected raw materials of the shampoo are easy to obtain, has low price, and has a simple production process, so that manufacturing cost of the shampoo is reduced, and the shampoo accords with interests of enterprises.