Breast cancer remains a leading cause of mortality among women, underlining the need for more effective detection techniques. Recently, AI technologies such as computer vision, machine learning, and deep learning have become increasingly popular in medical imaging and have significantly advanced early cancer detection, enhancing patient outcomes and survival rates. This study presents a novel Hybrid deep learning model EfficientNetV2 and Vision Transformer (EffNetV2+ViT) for identifying breast cancer. The hybrid model is a combination of EfficientNetV2, which is ideal for initially extracting key features from the data and passing those features to the vision transformer, which is effective in data classification. We employed this model on the “BreakHis” dataset. As in this study, three different combinations of the EfficientNetV2 (small, medium, and large) are used, in order to extract the key features from the dataset and optimize the feature extraction process. These features are then fed to the vision transformer, to determine the presence of breast cancer. The models were trained and evaluated for binary and multi-class classification using different magnification levels of BrakHis such as 40x,100x,200x and 400x. Our experiments demonstrate promising results, particularly when using the “large” version of the EfficientNetV2 with the vision transformer, which is successful in detecting breast cancer, achieving an accuracy of 99.83% in binary classifications (benign, malignant) and 98.10% in multi-class scenario (fibro adenoma, ad enosis, tubular adenoma, phyllodes tumour, mucinous carcinoma, papillary carcinoma, lobular carcinoma, ductal carcinoma). These findings suggest that integrating these two approaches could significantly enhance the accuracy of breast cancer detection.