A preparation having the effect of blackening hair and a method for the preparation thereof, the preparation containing extracts of fresh ginger, huangqi (Radix astragali), heshouwu (Polygonum multiflorum), black sesame, danggui (Angelica sinensis), goujizi (Chinese wolfberry), chuanqiong (Ligusticum chuanxiong), danshen (Salvia miltiorrhiza), wild chrysanthemum, red dates, black beans, walnuts, white mulberry root-bark, nuzhenzi (Fructus ligustri lucidi), hanliancao (Eclipta prostrata), mulberry fruit, black-bone chicken and duck fat, and also containing 65% ethanol solution and 40% ethanol solution, the whole being variously subjected to techniques of mixing, grinding, maceration and extraction to produce a thick ointment composition. The preparation is suitable for all hair and scalp types, and when used after washing of the hair produces no allergic reactions or toxic side-effects, allowing the medicinal elements swiftly to penetrate and be absorbed by the skin to achieve blackening of the hair with quickly visible results. The hair is blackened and nourished, cost is low and the preparation technique is simple.