Epilepsy, as a common nervous system disease in the world, urgently needs effective methods for diagnosis and treatment. Scalp electroencephalogram (EEG) contains a lot of physiological and pathological information, which plays a very important role in the diagnosis of brain diseases such as epilepsy. At present, the clinical analysis of EEG signal is mainly based on the clinician’s visual analysis, which makes the clinician’s task heavy, and there is no quantitative standard for the analysis results. Therefore, the automatic classification of epileptic EEG signals has great potential in current clinical application. Based on the deep learning VGG16 convolutional neural network model, a method for automatic detection of seizure signals is proposed in this paper. Firstly, the samples are preprocessed, then enter the VGG16 convolutional neural network model for training, and finally input the validation set for validation. The experimental results indicate that this model can distinguish the pre-ictal EEG, interictal EEG and ictal EEG.