Dissolved oxygen content is an important factor affecting eel culture. To improve the prediction accuracy of dissolved oxygen concentration in eel ponds, this paper proposes a model for predicting dissolved oxygen concentration in eel ponds based on the sparrow search algorithm (SSA) and long short-term memory neural network (LSTM), after optimizing the hyperparameters of LSTM model using SSA algorithm, the dissolved oxygen in circulating water eel culture ponds was predicted. The results showed that the prediction accuracy of SSA-LSTM model was 96.77%, which was 2.09%, 3.34% and 0.55% higher than the control models LSTM, GRU and PSO-LSTM, respectively. The other indicators of this model, , , and , were 0.67, 0.53, and 0.81, respectively, which also showed significant decreases compared with the control model. The results indicate that the SSA-LSTM model has good accuracy and robustness in predicting dissolved oxygen concentration in eel ponds, which can provide a basis for accurate regulation of water quality parameters in eel culture.