Common triggers of heart palpitations include: 1  strenuous exercise. 2  not getting enough sleep. 3  drinks containing caffeine, such as coffee, tea and energy drinks. 4  alcohol. 5  smoking. 6  illegal drugs, such as cocaine, heroin, amphetamines, ecstasy and cannabis. 7  rich or spicy foods.