Alzheimer’s disease (AD), an intense neurological illness, severely impacts memory, behaviour, and personality, posing a growing concern worldwide due to the aging population. Early and accurate detection is crucial as it enables preventive measures and personalized healthcare strategies that can significantly improve patient conditions. However, current diagnostic methods are often inaccurate in identifying the disease in its early stages, which is essential for effective treatment. Although deep learning-based bioimaging has shown promising results in medical image classification, challenges remain in achieving the highest accuracy for detecting AD. Existing approaches such as ResNet50, VGG19, InceptionV3, and AlexNet have shown potential, but they often lack reliability and accuracy due to several issues. To address these gaps, this paper proposes a new bioimaging technique by developing a custom Convolutional Neural Network (CNN) model for AD detection. This model is designed with optimized layers to enhance feature extraction from medical images, which are pivotal in identifying subtle biomarkers associated with AD. The experiment's first phase involves the construction of the custom CNN model with three convolutional layers, three max-pooling layers, one flatten layer, and two dense layers. The Adam optimizer and categorical cross-entropy are adopted to compile the model. The model’s training is carried out on 100 epochs with the patience set to 10 epochs. The second phase involves augmentation of the dataset images and adding a dropout layer to the custom CNN model. In addition, fine-tuned hyperparameters and advanced regularization methods were integrated to prevent overfitting. A comparative analysis of the proposed model with conventional models was performed on the dataset both before and after data augmentation. The experimental results demonstrate that the proposed custom CNN model significantly outperforms the pre-existing models, achieving a training accuracy of 100% and a testing accuracy of 99.79%, with a low training loss of 1.0148×10-5 and a testing loss of 0.0205.