1,4-dicaffeoylquinic acid is used as a xanthine oxidase inhibitor and in preparation of a medicament for treating gout. The present invention is the first to isolate and identify a dicaffeoylquinic acid compound from Artemisia selengensis leaves. The compound not only has an ability of inhibiting xanthine oxidase activity, but also has the function of anti-gout inflammation, which can be better used for treating gout. The dicaffeoylquinic acid is derived from natural plants and has the advantages of being safe and non-toxic, and having fewer side effects.