Believe it or not, certain types of meditation release endorphins. As one article put it:
"Meditation stimulates the pituitary gland and the hypothalamus, thus releasing endorphins. Meditation also increases production of serotonin, dopamine and melatonin, all related to positive moods, happiness and relaxation."
Peace