By using principal component analysis ,we analyzed the trace elements in antiliver canc‐er herbal medicine only to find out the relationship of trace elements between antiliver cancer herbal medicine ,and ranked five antiliver cancer herbal medicines ,analyzed and summarized the role of trace elements ,which provided some guidance to the research and development of antiliver cancer herbal medicine .