For cortisol to be made in the body, many things must happen. It starts with a small part of the brain called the hypothalamus. The hypothalamus controls body temperature, hunger, and thirst.