Global warming and extreme weather events pose a significant threat to global biodiversity, with rising water temperatures exerting a profound influence on fish conservation and fishery development. In this study, we used zebrafish as a model organism to explore the impact of a heat acclimation period on their survival rates. The results demonstrated that a 2-month heat acclimation period almost completely mitigated heat stress-induced mortality in zebrafish. Subsequent analysis of the surviving zebrafish revealed a predominance of hepatic mitochondria in a fission state. Remarkably, a short-term fasting regimen, which induced hepatic mitochondrial fission, mirrored the outcomes of the protective effect of heat acclimation and augmented animal survival under heat stress. Conversely, treatment with a mitochondrial fission inhibitor within the fasting group attenuated the elevated survival rate. Furthermore, zebrafish embryos subjected to brief heat acclimation also exhibited increased heat resistance, a trait diminished by a chemical intervention inhibiting mitochondrial fission. This suggests a shared mechanism for heat resistance between embryos and adult zebrafish. These findings underscore the potential use of inducing mitochondrial fission to enhance heat resistance in zebrafish, offering promise for fish biodiversity conservation in the face of global warming.