Endorphin production increases in response to severe injury, prolonged and continuous exercise, stress and certain foods. Increased levels of endorphins are also linked to the feelings of pleasure obtained from activities such as eating, sex and prolonged exercise