The most common brain-computer interface (BCI) devices use electroencephalography (EEG). EEG signals are noisy owing to the presence of many artifacts, namely head movement, and facial movements like eye blinks or jaw movements. Removal of these artifacts from EEG signals is essential for the success of any downstream BCI application. These artifacts influence different sensors of the EEG. In this paper, we devise algorithms for detection and classification of artifacts. Classification of artifacts into head nod, jaw movement and eye-blink is performed using two different varieties of time warping; namely, linear time warping, and dynamic time warping. The average accuracy of 85% and 90% is obtained using the former, and the later, respectively. © 2019 IEEE.