A subseasonal to seasonal precipitation prediction model was established based on deep learning. q A sensitivity-based method was used to explain the physical basis of deep learning. q The recurrent neural network model has better performance in different terrains.