2,3-epoxy-2-propylsulfone-5,8-dimethoxy-1,4-naphthoquinone, a preparation method thereof, and a medicine containing the same; it belongs to the technical field of medicine. Its structural formula is: The method of the present invention: 1. Dissolve 5,8-dimethoxy-1,4 naphthoquinone in methanol, add 1-propanethiol, react at room temperature, then add sodium dichromate and concentrated sulfuric acid , continue to react, then extract with dichloromethane and saturated saline, dry over anhydrous sodium sulfate, filter, and concentrate to dryness; 2, then dissolve in chloroform, continue to add 3-chloroperoxybenzoic acid, react at room temperature, react Add 5% NaHCO after complete 3 After neutralizing the excess m-chloroperoxybenzoic acid in the solution, the reaction was terminated, extracted with dichloromethane and saturated brine, dried over anhydrous sodium sulfate, filtered, and concentrated to dryness. Application of the compound and the pharmaceutical composition of the present invention in the preparation of medicines for treating liver cancer.