Taking opioids triggers an endorphin release in the body. Endorphins are chemical messengers (neurotransmitters) that increase feelings of pleasure and muffle the perception of pain. The overall physical effect of opioids is both pain-relieving and rewarding, with the medication delivering a strong but fleeting sense of well-being.