Endorphins are located in the intermediate and anterior lobes of the pituitary gland, not in the neurohypophysis.