Dithiol dihydroxyacetic acid was prepared as follows: 120g of 2-mercaptoacetic acid, 500g of ethyl acetate and 0.6g of potassium iodide were mixed homogeneously under the condition of temperature of 20C according to mass to form solution A; 80g of hydrogen peroxide with the concentration of 30wt% was added to solution A slowly and the reaction was kept in a warm state for 2h; at the end of the reaction, the obtained solution was washed by 300mL of saturated sodium sulfite solution. After washing and evaporating ethyl acetate under reduced pressure, dithiol dihydroxyacetic acid was obtained.