text: Nice question.\n\nWell, neither peptic ulcer nor any medications used to treat it can cause palpitations.\n\nHowever, there are two weak links. \n\n1.   People suffering from anxiety suffer from palpitations very often. Such people are also prone to increased acid production and hence peptic ulceration. So ask yourself? Are you an anxious person?\n\n2.   Most people who use caffeine excessively (such as tea and cofees and soft drinks) are prone to get acid-reflux disorders including peptic ulceration. Same caffiene can also transiently cause palpitations in susceptible individuals.\n\nI hope that helps.