“ The overnight dexamethasone suppression test checks to see how taking a steroid medicine called dexamethasone changes the levels of the hormone cortisol in the blood. This test checks for a condition in which large amounts of cortisol are produced by the adrenal glands (Cushing's syndrome).
Normally, when the pituitary gland makes less adrenocorticotropic hormone (ACTH), the adrenal glands make less cortisol. Dexamethasone, which is like cortisol, lowers the amount of ACTH released by the pituitary gland. This in turn lowers the amount of cortisol released by the adrenal glands.
After a dose of dexamethasone, cortisol levels often stay very high in people who have Cushing's syndrome. Sometimes other conditions can keep cortisol levels high during this test. Examples include major depression, alcohol use disorder, stress, obesity, kidney failure, pregnancy, and uncontrolled diabetes.
The night before the blood test, you will take a dexamethasone pill. The next morning, the cortisol level in your blood will be measured. If your cortisol level stays high, Cushing's syndrome may be the cause.
An ACTH test is sometimes done at the same time as the cortisol test.“
https://www.healthlinkbc.ca/medical-tests/hw6479