The invention provides nourishing, hair-blacking, alopecia-preventing and itching-relieving shampoo containing traditional Chinese medicine effective components and a preparation method thereof. The shampoo comprises the following substances: shea butter, sesame oil, walnut oil, pine needle oil, tea seed oil, olive oil, an eclipta extracting solution, a ginger extracting solution, a kiwi fruit extracting solution, a fructus psoraleae extracting solution, a polygonum multiflorum extracting solution, a semen cuscutae extracting solution, a radix achyranthis bidentataea extracting solution, a fructus lycii extracting solution, a black bean peel extracting solution, a folium cortex eucommiae extracting solution, a glossy privet fruit extracting solution, a Sichuan pepper extracting solution, a green tea extracting solution, white vinegar, beer, a GCK-12K amino acid surfactant, lauryl sodium sulfate, sodium alginate, a 6501 thickening agent, potassium hydroxide, distilled water, 1, 2-propylene glycol and ethylparaben. Compared with the prior art, the shampoo provided by the invention can blacken and brighten hair, nourish scalp, repair withered hair, nourish hair, inhibit bacteria, relieve itching, prevent alopecia and refresh the hair.