Signals from eye movements and blinks can be orders of magnitude larger than brain-generated electrical potentials and are one of the main sources of artifacts in electroencephalographic (EEG) data. Rejecting contaminated trials causes substantial data loss, and restricting eye movements/blinks limits the experimental designs possible and may impact the cognitive processes under investigation. This article presents a method based on blind source separation (BSS) for automatic removal of electroocular artifacts from EEG data. BBS is a signal-processing methodology that includes independent component analysis (ICA). In contrast to previously explored ICA-based methods for artifact removal, this method is automated. Moreover, the BSS algorithm described herein can isolate correlated electroocular components with a high degree of accuracy. Although the focus is on eliminating ocular artifacts in EEG data, the approach can be extended to other sources of EEG contamination such as cardiac signals, environmental noise, and electrode drift, and adapted for use with magnetoencephalographic (MEG) data, a magnetic correlate of EEG.