High rate of aquatic mortality incidents recorded in Taiwan and worldwide is creating an urgent demand for more accurate fish mortality prediction. Present study innovatively integrated air and water quality data to measure water quality degradation, and utilized deep learning methods to predict accidental fish mortality from the data. Keras library was used to build multilayer perceptron and long short‐term memory models for training purposes, and the models’ accuracies in fish mortality prediction were compared with that of the naïve Bayesian classifier. Environmental data from the 5 days before a fish mortality event proved to be the most important data for effective model training. Multilayer perceptron model reached an accuracy of 93.4%, with a loss function of 0.01, when meteorological and water quality data were jointly considered. It was found that meteorological conditions were not the sole contributors to fish mortality. Predicted fish mortality rate of 4.7% closely corresponded to the true number of fish mortality events during the study period, that is, four. A significant surge in fish mortality, from 20% to 50%, was noted when the river pollution index increased from 5.36 to 6.5. Moreover, the probability of fish mortality increased when the concentration of dissolved oxygen dropped below 2 mg/L. To mitigate fish mortality, ammonia nitrogen concentrations should be capped at 5 mg/L. Dissolved oxygen concentration was found to be the paramount factor influencing fish mortality, followed by the river pollution index and meteorological data. Results of the present study are expected to aid progress toward achieving the Sustainable Development Goals and to increase the profitability of water resources.