Dimethyldioxirane showed to be site and stereoselective in the C-H oxygen insertion of C-14 and C-17 positions of pregnane and androstane steroids. Fine steric control and evidence for the influence of the carbonyl group on the dioxirane reactivity are reported.