The invention relates to a preparation method of a steroid compound, in particular to the preparation of desoximetasone, which takes 1, 4, 9, 16-arachidonic-pregna-3, 20-diketone (CN1896090) as the initiator and is improved by 16, 17-grignard, 9, 11th and 21st to obtain the desoximetasone and the 21st esterified ester thereof. The process has the advantages that, as the existing intermediate of the company is adopted as the initiator, the line is concise, the material is easy to obtain, expensive auxiliary materials are saved, and the yield and the cost are obviously superior to the historical synthetic method of the desoximetasone; in addition, the adoption of the existing intermediate realizes the doubling production of the dexamethasone products, betamethasone products and the desoximetasone products, thus greatly reducing the production cost and industrial conditions.