Provided are a fatty acid compound, a preparation method therefor and use thereof. The fatty acid compound is of a structure represented by general formula I. The compound has an AMPK activating activity and a capability of inhibiting glucose production in mouse primary hepatocytes, and can be used for preparing drugs for treating obesity or diabetes.L'invention concerne un composé d'acide gras, son procédé de préparation et son utilisation. Le composé d'acide gras a une structure de formule générale I. Le composé a une activité d'activation de l'AMPK et une capacité d'inhibition de la production de glucose dans des hépatocytes primaires de souris, et peut être utilisé pour préparer des médicaments destinés au traitement de l'obésité ou du diabète.