Since the 1990s, emerging market financial crises have occurred frequently, causing huge damage to the real economy, and if we cannot find effective means of early warning and prevention of financial crises, the entire international economy and society will bear the high costs of crisis management. Difference nonparametric test and Spearman nonparametric correlation analysis were carried out with cash flow financial data, and 14 financial indicators with strong discriminant ability were selected from 28 financial indicators as the input variables of the model. Due to the limitations of traditional statistical methods, a BP neural network financial distress early warning model is established. Finally, a particle swarm optimization BP neural network financial early warning model is established for the shortcomings of the BP network. These 14 indicators can have strong information timeliness. The prediction accuracy rates of the two early warning models for the test samples are 80% and 85%, respectively. The empirical results show that the two models have good prediction effects. The prediction effect of the swarm optimization BP neural network model is better than that of the BP neural network model. Therefore, the particle swarm optimization BP neural network model proposed in this paper is suitable for solving the problem of discrimination and prediction of the financial distress of enterprises. The company’s financial distress early warning has good application prospects and application value. Therefore, it has very important research significance for the early warning of the corporate financial crisis.