A derivative of inula lineariifolia lactone A, and in particular, a dimethylamine 4-O-acetyl inula lineariifolia lactone A or a salt thereof, preparation of same, and an application of same in preparation of medicine for treating multiple sclerosis. The dimethylamine 4-O-acetyl inula lineariifolia lactone A compound is represented by formula I: