Back to Side Effects

Medicines That Affect Your Heart Rhythm

Medicines That Affect Your Heart Rhythm
Prescription Medicines Editorial 8 May 2026

A number of medicines lengthen the time the heart takes to recover electrically between beats - measured on an ECG as the QT interval. Individually, most carry a low risk. The problem is that the effect stacks: two such medicines together, or one combined with a low potassium or magnesium level, can push the interval far enough to trigger a dangerous rhythm disturbance. This is one of the more important reasons a prescriber asks what else you take, and one of the least visible to patients.

What is actually happening

After each beat, the heart muscle resets electrically before it can contract again. Certain medicines slow that reset by acting on the channels that move potassium out of heart cells.

A longer recovery period creates a window in which an abnormally timed beat can trigger a chaotic rhythm called torsades de pointes, which causes fainting and can be fatal. It is uncommon - but the ingredients that make it more likely are common and often modifiable.

Medicines commonly involved

  • Some antibiotics, including macrolides such as clarithromycin and erythromycin, and the quinolones.
  • Some antifungals.
  • Some antipsychotics, notably haloperidol and several others - see our guide to antipsychotics.
  • Some antidepressants, particularly citalopram and escitalopram at higher doses, and the tricyclics.
  • Some anti-sickness medicines, including domperidone and ondansetron.
  • Some heart rhythm medicines themselves, including amiodarone and sotalol.
  • Methadone, and some others.

This is not exhaustive, and the risk varies enormously between drugs in the same class. The point is not to memorise a list but to know the category exists.

Why potassium matters so much

Low potassium and low magnesium substantially increase the risk, because they affect the same electrical recovery. That connects this directly to some very ordinary situations:

  • Diuretics lower potassium - see our guide to diuretics.
  • Vomiting and diarrhoea deplete both, which is one more reason sick day rules exist - see sick day rules.
  • Eating disorders and heavy alcohol use both cause low potassium and magnesium.
  • Some laxatives used regularly.

So the combination that causes harm is often not two exotic drugs but a common antibiotic prescribed to someone on a diuretic who has been vomiting - and each element on its own would have been unremarkable.

Who is at higher risk

People with inherited long QT syndrome, existing heart disease or heart failure, previous rhythm disturbances, or a family history of sudden unexplained death in a young relative. Women are somewhat more susceptible than men. Older age and reduced kidney or liver function both raise levels of the drugs involved.

If any of these apply to you, mention them whenever a new medicine is started. A family history of sudden death in a young person is particularly worth volunteering, because nobody will think to ask.

Symptoms to act on

Call 999 for fainting or collapse, or a seizure, particularly if it happened without warning or during exertion.

Contact a doctor promptly for palpitations that are new or different, feeling your heart racing or fluttering, unexplained dizziness, or feeling as though you are about to faint - especially after starting or increasing a medicine.

Fainting on a new medicine should never be dismissed as "one of those things". Our guide to warning signs you should not ignore covers what needs same-day attention.

What prescribers do about it

Where risk is significant, an ECG may be done before starting and after a dose increase, and potassium and magnesium checked. Doses of some drugs are capped in older people or where kidney function is reduced - citalopram is a familiar example.

Sometimes an alternative from a different class is chosen simply to avoid stacking. This is why a prescriber may decline a specific antibiotic that seems obvious to you - it is not obstruction, and asking why is a reasonable question.

Recreational drugs and alcohol

Some recreational drugs, including cocaine and other stimulants, affect heart rhythm directly and combine badly with medicines that lengthen the QT interval. Heavy alcohol use lowers potassium and magnesium, which compounds the effect.

This is one of the situations where an honest account changes treatment, particularly in an emergency - our guide to prescribed medicines and recreational drugs covers why withholding it causes avoidable harm.

What you can do

  • Keep one list of everything you take, including over-the-counter products and supplements, and produce it every time - our guide to over-the-counter interactions covers why omissions matter.
  • Use one pharmacy so a single system sees the whole picture.
  • Mention any personal or family history of heart rhythm problems or sudden death.
  • Attend blood tests when asked, particularly if you take a diuretic.
  • Report fainting or new palpitations promptly rather than waiting for a review.

Most people take these medicines safely for years. The risk lives in the combinations, and the combinations are visible only to someone who can see your whole list.

If this was useful, Medicines and Your Liver is worth reading next, and Side Effects collects the rest.