In view of the difficulty in obtaining the membrane bioreactor (MBR) membrane flux in real time, considering the disadvantage of the back propagation (BP) network in predicting MBR membrane flux, such as the local minimum value and poor generalization ability of the model, this article introduces tent chaotic mapping in the standard sparrow search algorithm (SSA), which improves the uniformity of population distribution and the searching ability of the algorithm (used to optimize the key parameters of the BP network). The tent sparrow search algorithm back propagation network (Tent-SSA-BP) membrane fouling prediction model is established to achieve accurate prediction of membrane flux; compared to the BP, genetic algorithm back propagation network (GA-BP), particle swarm optimization back propagation network (PSO-BP), sparrow search algorithm extreme learning machine(SSA-ELM), sparrow search algorithm back propagation network (SSA-BP), and Tent particle swarm optimization back propagation network (TentâPSO-BP) models, it has unique advantages. Compared with the BP model before improvement, the improved soft sensing model reduces MAPE by 96.76%, RMSE by 99.78% and MAE by 95.61%. The prediction accuracy of the algorithm proposed in this article reaches 97.4%, which is much higher than the 48.52% of BP. It is also higher than other prediction models, and the prediction accuracy has been greatly improved, which has some engineering reference value.