This study presents a neural network based technique for automatic classification of Magnetic Resonance Images (MRI) of the brain in two categories of benign and malignant. The proposed method consists the following stages; i.e., preprocessing, tumor region segmentation, feature extraction using DWT and classification using ANFIS classifier. Preprocessing involves removing low-frequency surrounding noise, normalizing the intensity of the individual particle images. In the second stage, the fuzzy Connectedness segmentation is used for partitioning the image into meaningful regions. In feature extraction, the obtained feature connected to MRI images using the Discrete Wavelet Transform (DWT). In the classification stage, ANFIS Classifier is used to classify the subjects to normal or abnormal (benign, malignant). The proposed technique gives high-quality results for brain tissue detection and is more robust and efficient compared with other recent works.