Indonesia has a high diversity of medicinal plants that are widely used in traditional healthcare practices. Identification of medicinal plants is commonly based on leaf morphology; however, similarities in leaf shape, texture, and color often cause misidentification, particularly among non-experts. This limitation highlights the need for an automated and reliable identification approach. The primary objective of this study is to develop and evaluate a deep learning–based system for the automatic identification of medicinal plants using leaf images, with a specific focus on comparing the performance and efficiency of MobileNetV2 and ResNet50V2 architectures. The research design adopts an experimental approach using an internally collected dataset of medicinal plant leaf images representing multiple plant classes. The dataset is divided into training and testing sets to evaluate model generalization. The methodology involves image preprocessing steps, including resizing, normalization, and data augmentation, followed by the application of transfer learning using MobileNetV2 and ResNet50V2 as feature extractors. Both models are trained under the same experimental settings and evaluated using standard classification metrics, including accuracy, precision, recall, F1-score, and confusion matrix analysis. The main outcomes and results indicate that both deep learning models achieve high classification performance. MobileNetV2 achieves an accuracy of 98.77%, precision of 98.84%, recall of 98.77%, and F1-score of 98.77%, while ResNet50V2 achieves an accuracy of 97.53%, precision of 97.87%, recall of 97.53%, and F1-score of 97.58%. The results demonstrate that MobileNetV2 provides slightly superior performance with lower computational complexity. In conclusion, lightweight deep learning architectures such as MobileNetV2 are effective and efficient for medicinal plant leaf identification and are suitable for implementation in mobile or resource-constrained environments.