BackgroundPatients with atrial fibrillation (AF) suffer a higher risk of death, and it is necessary to develop prediction tools for mortality risk in critically ill patients with AF. This study aimed to develop a novel predictive nomogram of in‐hospital mortality after 48 h in the coronary care unit (CCU) for patients with AF.MethodsWe collected information on CCU patients with AF from the “Medical Information Mart for Intensive Care‐III” database and developed a nomogram model for predicting the all‐cause mortality risk after 48 h in the hospital. Key variables were selected by univariate logistic and least absolute shrinkage and selection operator regression. The independent predictors with p < 0.05 were screened out by multivariate logistic regression. A predictive nomogram was constructed using these independent predictors, and the model calibration and discrimination were evaluated.ResultsThis study finally enrolled 1248 CCU patients with AF, and the in‐hospital mortality was 17% (209/1248). The predictive nomogram was constructed by 13 selected independent predictors, including age, smoking status, acute kidney injury, chronic obstructive pulmonary disease, ventricular arrhythmia, shock, urea, red cell distribution width, leucocytosis, continuous renal replacement therapy, continuous positive airway pressure, anticoagulation, and heart rate. The area under the curve of the nomogram was 0.803 (95% confidence interval 0.771–0.835). The nomogram was verified to have good accuracy and calibration.ConclusionsThis study developed a novel nomogram containing age, acute kidney injury, and heart rate that can be a good predictor of potential in‐hospital mortality after 48 h in CCU patients with AF.