To solve the problem that the performance of pulse repetition interval (PRI) modulation pattern recognition method is affected by the feature selection and threshold setting, a PRI recognition method based on the long short-term memory is proposed. This method takes pulse time series as input , and it is unnecessary to select features and set thresholds manually. The recurrent neural network of PRI modulation pattern identification which can extract the signal parameter characteristics automatically is designed. The optimal network parameters are obtained by training to complete the recognition. The simulation results show that the method has high recognition accuracy and good adaptability to pulse loss, measurement noise, and small number of pulses, so it is suitable for engineering application.