The pituitary gland is inside the skull and just above the nasal passages. It is connected to a part of the brain called the hypothalamus.