Dexamethasone has also been used during pregnancy as an off-label prenatal treatment for the symptoms of congenital adrenal hyperplasia (CAH) in female fetuses. CAH causes a variety of physical abnormalities, notably ambiguous genitalia in girls. Early prenatal CAH treatment has been shown to reduce some CAH symptoms, but it does not treat the underlying congenital disorder . This use is controversial: it is inadequately studied, only around one in ten of the foetuses of women treated are at risk of the condition, and serious adverse events have been documented.  Experimental use of dexamethasone in pregnancy for foetal CAH treatment was discontinued in Sweden when one in five cases suffered adverse events. 
Patients can eat and drink normally and take all their usual medications prior to the test. Estrogen containing medications, including the contraceptive pill and hormone replacement therapy, should be stopped for six weeks prior to measuring serum cortisol. This is because estrogen induces cortisol binding globulin and leads to elevations in measured serum cortisol. Any steroid containing medications should also be documented, and avoided if possible, as they may interfere with the hypothalamo-pituitary-adrenal axis, or cross react with the cortisol assay.