The invention discloses a preparation method of posaconazole. The preparation method of the posaconazole provided by the invention comprises the following steps: in the presence of inorganic protonic acid, performing hydrolysis reaction on a compound II to obtain posaconazole I. The preparation method provided by the invention is easy and safe to operate, does not need any special equipment, is free from heavy metal residues, produces less reaction side products, and has high yield; a prepared product has high purity (chiral purity is larger than 99.90 percent, related substance purity is larger than 99.50 percent, all impurities are less than 0.1 percent, and raw materials meet the standard), is low in production cost, is environmentally friendly, and is suitable for industrial production. The formula of the posaconazole is shown in the description.