Crop disease has a negative impact on food security. If diverse crop diseases are not identified in time, they can spread and influence the quality, quantity, and production of grain. Severe crop diseases can even result in complete failure of the harvest. Recent developments in deep learning, particularly convolutional neural networks (CNNs), have exhibited impressive performance in both image recognition and classification. In this study, we propose a novel network architecture, namely Mobile‐DANet, to identify maize crop diseases. Based on DenseNet, we retained the structure of the transition layers and used the depthwise separable convolution in dense blocks instead of the traditional convolution layers, and then embedded the attention module to learn the importance of interchannel relationship and spatial points for input features. In addition, transfer learning was used in model training. By this means, we improved the accuracy of the model while saving more computational power than deep CNNs. This model achieved an average accuracy of 98.50% on the open maize data set, and even with complicated backdrop conditions, Mobile‐DANet realized an average accuracy of 95.86% for identifying maize crop diseases on a local data set. The experimental findings show the effectiveness and feasibility of the Mobile‐DANet. Our data set is available at https://github.com/xtu502/maize-disease-identification.