Palpitations with Irregular Pulse in a CAP Patient on Antibiotics — Differential Diagnosis
An irregular pulse developing on day 2 of treatment for community-acquired pneumonia (CAP), with a stable BP, is a classic and well-recognized scenario. The differential falls into four broad buckets: arrhythmia driven by the pneumonia/sepsis itself, arrhythmia driven by the antibiotic, metabolic/electrolyte triggers, and other complications unmasked by the acute illness.
1. New-onset atrial fibrillation (most likely single diagnosis)
This is the most common cause of an irregularly irregular pulse in hospitalized CAP patients. A 2023 systematic review and meta-analysis of over 280,000 CAP patients found a pooled prevalence of new-onset AF of 7.6% (95% CI 6.4-9.0%), and patients who developed it had higher short- and long-term mortality (Corica et al., Internal and Emergency Medicine, 2023, PMID: 36333574). Mechanism: systemic inflammation, catecholamine surge, atrial stretch from hypoxia/right heart strain, and direct cytokine effects on atrial myocardium.
2. Drug-induced arrhythmia from the antibiotic itself
- Macrolides (azithromycin, clarithromycin, erythromycin) prolong the QT interval and can precipitate ectopic beats, torsades de pointes, or trigger AF - "electrocardiograms to monitor QT prolongation should be considered during macrolide administration" - Fishman's Pulmonary Diseases and Disorders, p. Safety section.
- Fluoroquinolones (levofloxacin, moxifloxacin) are similarly associated with QT prolongation and torsades de pointes - Tintinalli's Emergency Medicine.
- Risk is compounded by drug interactions: macrolides inhibit CYP3A4 and can raise levels of other QT-prolonging drugs the patient may already be on (antiarrhythmics, antifungals, certain calcium channel blockers) - Harrison's Principles of Internal Medicine, 22E.
- An irregular pulse from frequent ventricular ectopics or early torsades can precede overt hemodynamic collapse, so a normal BP does not exclude this.
3. Metabolic/electrolyte disturbances
Fever, poor oral intake, vomiting/diarrhea, and IV fluid administration during acute illness commonly cause hypokalemia and hypomagnesemia, both of which lower the threshold for atrial/ventricular ectopy and potentiate drug-induced QT prolongation. This is a very common and easily reversible contributor and should always be checked first.
4. Hypoxia and sepsis-related triggers
Ongoing hypoxemia from unresolved pneumonia is a recognized trigger for tachyarrhythmias, including multifocal atrial tachycardia (seen classically in hypoxic pulmonary disease) and frequent atrial/ventricular premature complexes, which can feel like an "irregular pulse" without being sustained AF - Bailey and Love's Short Practice of Surgery: "tachycardia (sinus or supraventricular, including atrial fibrillation) may occur as a result of... myocardial ischaemia, sepsis, electrolyte imbalance, or hypoxia."
5. Other complications to actively exclude
- Pulmonary embolism - CAP and hospitalization/immobility raise VTE risk; PE classically causes new hypoxia, tachyarrhythmia (including AF), and palpitations, and is easily missed if attributed solely to "the pneumonia."
- Myocardial ischemia/injury or myocarditis - pneumonia is an established trigger for acute cardiac events (arrhythmia, MI, heart failure) even up to a year after the infection (Harrison's, Complications section).
- Unmasking of pre-existing structural heart disease (e.g., latent paroxysmal AF, valvular disease) under the physiologic stress of acute infection.
- Drug fever/hypersensitivity reaction to the antibiotic - less likely to directly cause an irregular pulse, but the associated fever can drive tachyarrhythmia and should be on the list if a new rash or eosinophilia accompanies it.
Practical next steps
- 12-lead ECG immediately - to distinguish AF/flutter, multifocal atrial tachycardia, frequent ectopics, or QT prolongation/torsades.
- Electrolytes (K+, Mg2+, Ca2+), renal function.
- SpO2/ABG - assess for ongoing hypoxia.
- Review the antibiotic and any co-administered QT-prolonging drugs; check baseline/current QTc.
- Troponin if ischemia is suspected clinically.
- Consider D-dimer/CT pulmonary angiogram if PE is clinically plausible (tachypnea out of proportion, pleuritic pain, risk factors).
- Temperature trend and full drug/hypersensitivity history if drug fever is suspected.
A quick supplementary PubMed check for recent evidence (2 years, systematic reviews/meta-analyses) did not surface any results that contradict this framework; the AF-in-CAP meta-analysis above (PMID: 36333574) is itself within that window and supports AF as the leading diagnosis to rule in or out first with an ECG.