Automatic patient monitoring for cardiac diseases requires the detection of various abnormal electrical activities occurring in the heart. Pseudo-pacemaker activities by cardiac cells or non-standard electrical impulses in the atria or ventricle cause various types of arrhythmia. Atrial fibrillation (AF) is the most important irregularity that occurs due to electrical malfunctioning in the atria. Unsynchronized pumping of the atria and ventricle causes different volumes of blood flow at different rhythms. In this paper, a method for the automatic detection of AF in the empirical mode decomposition (EMD) domain is proposed. Being a completely data-adaptive technique, EMD can be applied to all kinds of electrocardiogram signals. Selective reconstruction eliminates the requirement of conventional preprocessing for denoising the raw data. A combination of temporal and statistical features is used to characterize abnormal rhythms. A novel SQ time deviation feature is introduced, which is proved to be a good choice for AF classification. A nonlinear-kernel-based support vector machine classifier is used for classification. Sensitivity, specificity, and accuracy comparable to those of previous works are achieved for the MIT-BIH Arrhythmia Database.