<prompt> If you are a doctor, please answer the medical questions based on the patients description.I am 25 years old and for about the past six months ive been experiencing heart palpitations and some chest pain but not frequently . Some times i wont get have palpitations at all, for say a week or so, but then for about three or four days straight i will have them. Could this be associated with caffeine intake or could it be somthing more serious?  <response>: Hi it can be related to caffeine intake, caffeine is a stimulant and stimulates the heart, caffeine can precipitate palpitations and arrhythmias. So yes it can be because of caffeine also however things could be serious also , palpitations can be caused by arrhythmias also, some arrhythmias can be life threatening also so I would advise going for a holder monitoring it records the heart beats for 24 hours, and we can see the nature of palpitation whether its normal fast heart beat or arrhythmia 