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. 
One way that it works is to decrease inflammation (swelling). It does this by preventing infection- fighting white blood cells (polymorphonuclear leukocytes) from traveling to the area of swelling in your body. (This is why you are more prone to infection while taking steroids). Taking advantage of the anti-inflammatory properties of the medication, corticosteroids are used to decrease the swelling around tumors. For example, by decreasing swelling around tumors in the spine, brain, or bone, it can decrease the pressure of the tumor on nerve endings and relieve pain or other symptoms caused by the pressing tumor.
The adverse effects of corticosteroids in pediatric patients are similar to those in adults (see ADVERSE REACTIONS ). Like adults, pediatric patients should be carefully observed with frequent measurements of blood pressure, weight, height, intraocular pressure, and clinical evaluation for the presence of infection, psychosocial disturbances, thromboembolism , peptic ulcers, cataracts, and osteoporosis. Pediatric patients who are treated with corticosteroids by any route, including systemically administered corticosteroids, may experience a decrease in their growth velocity. This negative impact of corticosteroids on growth has been observed at low systemic doses and in the absence of laboratory evidence of hypothalamic-pituitary-adrenal (HPA) axis suppression (., cosyntropin stimulation and basal cortisol plasma levels). Growth velocity may therefore be a more sensitive indicator of systemic corticosteroid exposure in pediatric patients than some commonly used tests of HPA axis function. The linear growth of pediatric patients treated with corticosteroids should be monitored, and the potential growth effects of prolonged treatment should be weighed against clinical benefits obtained and the availability of treatment alternatives. In order to minimize the potential growth effects of corticosteroids, pediatric patients should be titrated to the lowest effective dose .