Convolutional neural network (CNN), a class of artificial neural networks that has become dominant in various computer vision tasks, is attracting interest across a variety of domains, including Medical image analysis. CNN is designed to automatically and adaptively learn spatial hierarchies of features through back-propagation by using multiple building blocks, such as convolution layers, pooling layers, and fully connected layers. This paper presents an approach based on CNN for the classification of brain tumors, based on several characteristics that will be extracted automatically and some performing features that will be used in our CNN, This proposed approach provides efficient results at the level of automatic classification than the other usual methods.