Can a Z-Pack (Azithromycin) Affect Your Heart Rhythm?
Yes, it can. Azithromycin (the Z-Pack) can prolong the QT interval, a measure of how long part of the heart's electrical system takes to reset after each heartbeat, and in a small number of people that can lead to a dangerous heart rhythm.
MedicationsAntibiotics and heart riskwhen-to-worry
Written By: DocAi Health Editorial Team
Last Updated: 2026-09-30
Last Updated: 2026-09-30
Medical Disclaimer: This article is for general informational and educational purposes only and is not medical advice. It does not create a doctor-patient relationship and is not a substitute for professional diagnosis or treatment by a qualified healthcare provider. Never disregard or delay seeking professional medical advice because of something you have read here. If you think you may have a medical emergency, call 911 or your local emergency number right away. Health information can change and this guidance is general and US-focused, so consult a licensed clinician in your own country about your specific situation.
Yes, it can. Azithromycin (the Z-Pack) can prolong the QT interval, a measure of how long part of the heart's electrical system takes to reset after each heartbeat, and in a small number of people that can lead to a dangerous heart rhythm. The risk of a serious rhythm problem is generally low, but it is higher in people with known QT prolongation or other heart conditions, low potassium or magnesium, a slow heart rate, or other medications that prolong the QT interval. This article covers who needs to be careful, which symptoms matter, and when to seek emergency care.
How a Z-Pack Can Affect Your Heart's Electrical System
Azithromycin belongs to a class of antibiotics called macrolides, along with drugs like erythromycin and clarithromycin. Several drugs in this class can interfere with the ion channels that control how your heart resets its electrical signal between beats. That reset phase shows up on an EKG as the QT interval, and when a medication stretches it out, doctors call this QT prolongation.
A longer QT interval by itself usually causes no symptoms and often goes completely unnoticed unless someone happens to run an EKG. The real concern is that in a small number of people, especially those with other risk factors stacked on top, a prolonged QT interval can set off a specific and dangerous rhythm called torsades de pointes, which the FDA describes as rare. This rhythm starts in the heart's lower chambers and beats chaotically fast. Torsades de pointes can cause sudden fainting or a seizure-like episode and, if it degenerates into a life-threatening rhythm, cardiac arrest.
The FDA's 2013 drug safety communication warned that azithromycin can cause abnormal changes in the electrical activity of the heart that may lead to a potentially fatal irregular heart rhythm. The drug's FDA-approved label now describes QT prolongation and torsades de pointes in its warnings, and the risk becomes more important when other risk factors are present.
Azithromycin is widely prescribed for certain bacterial respiratory infections, some sexually transmitted infections, and other infections when a clinician decides that antibiotic treatment is indicated. If you have a heart rhythm condition or take medicines that affect heart rhythm, tell your prescriber before you start so they can decide whether azithromycin is the right choice.
Who Is Actually At Risk
The added heart risk from a short course of azithromycin is small in absolute terms, and it is higher when one or more of these factors are also present. The FDA's labeling names most of them:
- An existing prolonged QT interval, a previous episode of torsades de pointes, congenital long QT syndrome, or a family history of unexplained fainting or sudden death at a young age
- Low blood potassium or magnesium, which can happen from vomiting, heavy diarrhea, poor eating during illness, or certain diuretic medications
- A resting heart rate that runs slower than normal, or an existing heart block or other arrhythmia
- Significant heart disease, such as heart failure that is not well controlled, a recent heart attack, or a history of cardiac arrest, since people with cardiac disease may be more susceptible to drug effects on the QT interval
- Taking another medication that also affects the QT interval, since the effects can add together
Risk is generally higher when multiple QT-prolonging or proarrhythmic factors are present at the same time. Someone with a slightly slow heart rate and normal electrolytes faces a different picture than someone with that same slow heart rate who is also dehydrated and taking a second QT-prolonging drug. Older age can increase overall susceptibility: the FDA notes that older adults may be more susceptible to drug effects on the QT interval, and several cardiac, electrolyte, and medication-related risk factors become more common with age. Having one risk factor does not automatically make azithromycin off limits. The decision, and how closely to watch afterward, is worth a specific conversation with whoever is prescribing it rather than a generic yes or no.
What the Research Actually Found
The concern about azithromycin and heart rhythm is not theoretical. A 2012 observational study in the New England Journal of Medicine compared people who took a 5-day course of azithromycin with people who took amoxicillin, ciprofloxacin, levofloxacin, or no antibiotic, and found a small absolute increase in cardiovascular deaths during the days on the drug. The FDA's review of the study noted its limitations (no random assignment, outpatient use only, and causes of death taken from death certificates) and still judged it methodologically sound. Its summary put the estimated extra risk of cardiovascular death, compared with amoxicillin, at roughly 1 in 111,000 among healthier patients and 1 in 4,100 among patients at high baseline cardiovascular risk.
Later research did not all agree. A 2013 Danish study of adults aged 18 to 64 found no increase in cardiovascular deaths with azithromycin compared with penicillin V, an antibiotic used for similar infections. The current azithromycin label states that some observational studies have shown an approximately two-fold increase in the short-term potential risk of acute cardiovascular death compared with other antibiotics, including amoxicillin, and that the five-day cardiovascular mortality in those studies ranged from 20 to 400 per million azithromycin treatment courses. It also says the potential risk does not appear to be limited to people with existing cardiovascular disease, that the data are insufficient to establish or exclude a causal relationship, and that prescribers should balance this potential risk with the benefits of treatment. Taken together, these studies do not show that azithromycin routinely causes cardiovascular death. They support particular caution in people with known QT or cardiovascular risk factors, while the absolute risk for an individual patient is generally small.
In 2013, after reviewing the 2012 study and a separate QT study by the manufacturer, the FDA strengthened azithromycin's warning to highlight the risk of QT prolongation and torsades de pointes in patients with specific risk factors. The FDA did not withdraw azithromycin or restrict its use. It noted that alternative antibiotics in the macrolide and fluoroquinolone classes also have the potential for QT prolongation or other significant side effects, and in the 2012 study the cardiovascular death risk with levofloxacin was similar to the risk with azithromycin. Switching antibiotics is therefore not automatically safer.
A small overall risk that is higher when several risk factors line up is a pattern seen with other QT-prolonging medications as well. A scientific statement from the American Heart Association and the American College of Cardiology Foundation on preventing torsades de pointes in hospitals makes the same point, describing the greatest risk as the clustering of several recognizable risk factors in one patient. It is one reason clinicians still prescribe azithromycin widely while asking about heart history first.
Symptoms That Can Signal a Heart Rhythm Problem
A prolonged QT interval on its own usually causes no symptoms. What you might actually notice, if azithromycin does affect your rhythm, is one or more of these:
- A new fluttering, pounding, or racing feeling in your chest, often called palpitations
- Feeling suddenly lightheaded or dizzy, especially if it comes on abruptly rather than gradually
- Fainting, or coming close to fainting
- New shortness of breath that is not explained by your original infection
- Chest discomfort alongside any of the symptoms above
The FDA's advice for patients is to seek immediate care for an irregular heartbeat, shortness of breath, dizziness, or fainting while taking azithromycin, and the drug's label says to tell your healthcare provider right away about a fast or irregular heartbeat, dizziness, or fainting. The American Heart Association lists similar arrhythmia symptoms and advises calling 911 immediately for chest pain or pressure. MedlinePlus likewise lists a fast, pounding, or irregular heartbeat as a serious side effect and advises contacting your doctor immediately or getting emergency medical treatment.
Timing matters here. The azithromycin label reports a terminal half-life of about 68 hours, so the drug remains in your body for several days after the last dose, but a long half-life does not by itself define how long a rhythm risk lasts. The label notes that the potential risk seen in observational studies was greater during the first five days of use. New palpitations, dizziness, or fainting during treatment or shortly afterward should still be taken seriously, particularly if you have known risk factors.
Other Drugs That Add to the Risk
Azithromycin is far from the only medication that can prolong the QT interval, and combining two QT-prolonging drugs can increase the risk. Categories worth flagging for your doctor or pharmacist before you start a Z-Pack include:
- Antiarrhythmic drugs, such as amiodarone, sotalol, quinidine, dofetilide, or procainamide
- Some antipsychotic medications
- Certain antidepressants, particularly at higher doses
- Other antibiotics that can also prolong the QT interval, including some fluoroquinolones, such as levofloxacin, and other macrolides such as erythromycin and clarithromycin
- Some antifungal and anti-nausea medications
- Methadone
Before you start azithromycin, give your prescriber or pharmacist a complete list of prescription medicines, over-the-counter medicines, and supplements so they can check for QT-prolonging drugs and other clinically relevant interactions. A pharmacist can often check for this quickly, and it is one of the simplest ways to catch a risky combination early.
Does a Past Z-Pack Without Problems Mean You Are Safe Now?
A previous course of azithromycin with no issues is reassuring, but it does not fully answer the question for this time around, because what has changed since then can matter as much as the drug itself. A new medication started since your last course, an illness this time that is causing vomiting or diarrhea, or a heart rhythm change that developed in the meantime can all shift the picture even though the antibiotic has not changed at all.
What To Do Before and During Your Z-Pack
If you already know you have a heart rhythm condition, low potassium or magnesium, or you take another QT-prolonging drug, let your prescriber know before you fill the prescription rather than after you notice something feels off, so they can decide whether azithromycin is still the right choice. Depending on the infection, your prescriber may be able to choose a different antibiotic or plan closer monitoring, which is far simpler than managing a reaction once it has started.
If your current illness has come with vomiting, heavy diarrhea, or you simply have not been able to eat or drink much, mention that too. Those losses can drop your potassium or magnesium enough to matter, even in someone with a healthy heart.
Do not change or stop the antibiotic on your own out of worry about this risk. The FDA's advice is to talk with your health care professional before stopping azithromycin. Take it exactly as prescribed, watch for the symptoms described above, and contact your prescriber right away if you develop significant side effects or think the treatment needs to be changed. If you have one of the emergency signs listed below, call 911 first and tell the responders you are taking azithromycin.
If You Have Already Started or Finished Your Z-Pack
If you already took one or more doses and feel fine, there is usually nothing you need to do differently. Keep an eye out for the symptoms above through the rest of your course, and take new palpitations, dizziness, or fainting seriously if they appear shortly afterward, particularly if you have known risk factors.
If you already have new palpitations, dizziness, fainting, or chest symptoms, do not wait for the course to finish before saying something. Contact your doctor right away, or follow the emergency guidance below if what you are feeling matches those warning signs. Worry alone, with no symptoms and no known risk factors, is a good reason to mention your concern at your next visit, and it is not a reason to stop the antibiotic without talking to a doctor first.
Should You Avoid Azithromycin If You Have Heart Risk Factors?
Azithromycin remains an appropriate antibiotic for many infections when it is prescribed for the right reason. A heart-risk factor does not automatically mean azithromycin cannot be used; your prescriber can consider whether another appropriate antibiotic would offer a better risk-benefit balance. Azithromycin is sometimes chosen for a specific infection or because of an allergy to other antibiotics, and some alternatives carry QT or other cardiac risks of their own, so switching is not always a simple or automatically safer substitution.
If you have a known heart rhythm disorder, significant heart disease, or take other QT-prolonging medications, it is reasonable to ask your doctor whether azithromycin still makes sense for this particular infection or whether a different antibiotic could treat it with less cardiac risk.
When to Seek Medical Care
When to Seek Urgent or Emergency Care
These red flags apply if you are taking azithromycin or recently finished a course. The FDA advises seeking immediate care for an irregular heartbeat, shortness of breath, dizziness, or fainting during treatment. The emergency signs in the first group below need 911 or the emergency room. For the milder or on-and-off symptoms in the second group, call your prescriber right away rather than waiting for a routine visit, and use an urgent care service if you cannot reach them. This guidance is in addition to, not a replacement for, the general disclaimer above.
Emergency, call 911 or go to the emergency room immediately if:
- Sudden fainting or a seizure-like episode, especially with no clear cause like standing up too fast
- Chest pain or pressure along with a fast, pounding, or irregular heartbeat
- A racing heart rate that will not slow down, especially with dizziness, sweating, or shortness of breath
- Sudden collapse or loss of consciousness
- A heartbeat that feels wildly chaotic or irregular along with trouble breathing
See a doctor soon (same-day or next available appointment) if:
- New palpitations or a fluttering feeling in your chest that keeps coming back, even without fainting
- Feeling unusually lightheaded or dizzy, even if you do not pass out
- New or worsening shortness of breath appearing during your antibiotic course
- A known heart rhythm condition, a family history of long QT syndrome, or another QT-prolonging medication, combined with any new heart symptom
- Recent vomiting, heavy diarrhea, or very low potassium or magnesium levels while taking azithromycin
Frequently Asked Questions
Can a Z-Pack cause a heart attack?
The main cardiac concern with azithromycin is abnormal heart rhythm, particularly QT prolongation and, in rare cases, torsades de pointes. Some observational studies have also reported a small increase in cardiovascular death, but those studies cannot prove that azithromycin itself caused every event, and the FDA label says the data cannot establish or exclude a causal relationship. Chest pain, fainting, or a racing heartbeat that will not slow down needs emergency care.
How soon after starting azithromycin could a heart rhythm problem happen?
Most concern about acute QT-related effects is during treatment: the FDA's review of the 2012 study found that the higher risk of cardiovascular death corresponded to the duration of azithromycin therapy. Because azithromycin remains in the body for several days, new serious cardiac symptoms after treatment should still be evaluated rather than automatically dismissed. Fainting, or any of the other emergency signs listed above, needs a 911 call, and milder or on-and-off symptoms deserve a prompt call to your prescriber.
Is azithromycin safe if I have no heart problems?
Azithromycin's added heart risk is generally low in people with no heart rhythm problems, low electrolytes, or interacting medications. The FDA's QT warning highlights people who carry specific risk factors, although the label also notes that some observational studies suggested a small short-term rise in cardiovascular death that does not appear limited to people with existing heart disease. Any new palpitations or dizziness during treatment deserve a prompt call to your doctor, and fainting needs emergency care.
What heart conditions make azithromycin riskier?
Azithromycin carries more risk for people with known QT prolongation, a history of torsades de pointes, congenital long QT syndrome, a slow heart rate or heart block, uncontrolled arrhythmias, or heart failure that is not well controlled. A family history of long QT syndrome also matters. If any of these apply to you, tell your prescriber before you start so they can weigh a different antibiotic or add closer monitoring to the plan.
Can azithromycin cause heart palpitations even without QT prolongation?
Yes. Palpitations are listed among azithromycin's reported side effects, and they can also come from fever, dehydration, or the infection itself. Because the causes can feel similar from the inside, any new or persistent palpitations during a Z-Pack are worth mentioning to a doctor instead of guessing which one is responsible.
Should I get an EKG before taking azithromycin?
The azithromycin label does not call for a routine EKG before a short course, and many people do not need one. Your clinician may consider one when you have known QT prolongation, significant heart disease, a slow heart rate, electrolyte abnormalities, symptoms suggestive of an arrhythmia, or other medications that increase QT risk, so they have a baseline to compare against if anything changes.
Is amoxicillin safer for my heart than azithromycin?
Amoxicillin does not carry the same QT-prolongation warning as azithromycin, but that does not make it appropriate for the same infections or universally safer for every patient. Whether it is a suitable alternative depends on the infection, allergies, resistance patterns, and other clinical factors. If you have heart rhythm risk factors, ask your doctor whether a different antibiotic could treat your infection with less cardiac risk.
Can azithromycin interact with my heart rhythm medication?
Yes. Antiarrhythmic drugs such as amiodarone, sotalol, quinidine, and procainamide already affect the QT interval on their own, and combining any of them with azithromycin can add to that effect. Give your prescriber and pharmacist a full list of your medications, including anything over the counter or a supplement, before starting a Z-Pack, and do not change or stop a heart rhythm medication on your own.
Related articles
Amoxicillin: Uses, Side Effects, and What to KnowDrinking Alcohol After Antibiotics: How Long Should You Wait?Can You Take Probiotics While on Antibiotics?Sources
- FDA - FDA Drug Safety Communication: Azithromycin (Zithromax or Zmax) and the Risk of Potentially Fatal Heart Rhythms
- FDA - ZITHROMAX (azithromycin) tablets and for oral suspension, FDA-approved prescribing information
- MedlinePlus (NIH) - Azithromycin
- New England Journal of Medicine (via PubMed Central) - Azithromycin and the risk of cardiovascular death
- New England Journal of Medicine (via PubMed) - Use of azithromycin and death from cardiovascular causes
- American Heart Association (via PubMed Central) - Prevention of torsade de pointes in hospital settings: a scientific statement from the American Heart Association and the American College of Cardiology Foundation
- American Heart Association - Symptoms, Diagnosis and Monitoring of Arrhythmia
- Mayo Clinic - Long QT Syndrome - Symptoms and Causes