The epoxidation of 17beta-hydroxy-4-androsteno[2,3-d]isoxazole (I) with peracetic acid in benzene acetic acid-sodium acetate gives 4alpha,5-epoxy-17beta-hydroxyandrostano[2,3-d]isoxazole (II), which is then isomerized by treatment with sodium methoxide in THF.