Protein constitutes the predominant essential nutrient in fish feed. Despite extensive research efforts on the dietary protein of fish, limited attention has focused on its potential antistress properties. Therefore, this study sought to examine the impact of dietary protein on the liver structure of grass carp (Ctenopharyngodon idella) and its underlying molecular mechanism after nitrite stress, with the objective of elucidating the role of dietary protein in the stress response of fish. Specifically, various levels of dietary protein (16 %, 19 %, 22 %, 25 %, 28 % and 31 %) were investigated for their effects on liver tissue damage, oxidative stress, endoplasmic reticulum (ER) stress, autophagy and apoptosis in grass carp after exposure to a nitrite solution at a concentration of 10 mg/L for a duration of 96 h.Our study revealed that exposure to nitrite solution resulted in liver structural damage in grass carp. However, 22–25 % dietary protein levels might attenuate the impact of nitrite stress by decreasing liver contents of nitric oxide (NO), peroxynitrite anion (ONOO-), reactive oxygen species (ROS), protein carbonyl (PC), and malondialdehyde (MDA), which is reflected in serum activities of glutamic oxalacetic transaminase (GOT) and glutamic pyruvic transaminase (GPT). Histological analysis further supported the protective role of appropriate protein levels (22–28 %) in alleviating nitrite-induced liver tissue damage. Subsequent investigations demonstrated that optimal dietary protein levels decreased ER stress and autophagy in fish by modulating the expression of gene and protein involved in 78 kDa glucose regulated protein (GRP78) pathway and autophagosome formation process, respectively. Meanwhile, appropriate dietary protein levels decreased the activities of caspase-3, caspase-8 and caspase-9 by inhibiting both death receptor pathway and mitochondrial pathway associated with apoptosis. Finally, based on regression analysis of liver ONOO− content, the dietary protein requirement for grass carp (721–1381 g) under nitrite stress was determined to be 25.07 %. Overall, this study provides novel evidence that optimal protein levels can enhance the resistance of grass carp to nitrite stress and mitigate liver tissue damage by reducing oxidative stress cascade damage.