This test measures the level of the hormone cortisol in your urine. Hormones are chemical messengers that travel through your blood. Cortisol helps your body use proteins, fats, and carbohydrates. It helps maintain blood pressure, control blood sugar (glucose) levels, and regulate the immune system. It's made and released by the adrenal glands, which sit atop the kidneys.
Another hormone, adrenocorticotropic hormone (ACTH), controls the release of cortisol. ACTH is made and released by the pituitary gland, which is at the base of your brain.
Cortisol is released at different times during the day, so the best way to measure it is to collect all the urine you produce over a 24-hour period.