Hepatic ischemia–reperfusion injury (HIRI) elicits an immune-inflammatory response that may result in hepatocyte necrosis and apoptosis, ultimately culminating in postoperative hepatic dysfunction and hepatic failure. The precise mechanisms governing the pathophysiology of HIRI remain incompletely understood, necessitating further investigation into key molecules and pathways implicated in disease progression to guide drug discovery and potential therapeutic interventions. Gene microarray data was downloaded from the GEO expression profile database. Integrated bioinformatic analyses were performed to identify HIRI signature genes, which were subsequently validated for expression levels and diagnostic efficacy. Finally, the gene expression was verified in an experimental HIRI model and the effect of anti-IL17A antibody intervention in three time points (including pre-ischemic, post-ischemic, and at 1 h of reperfusion) on HIRI and the expression of these genes was investigated. Bioinformatic analyses of the screened characterized genes revealed that inflammation, immune response, and cell death modulation were significantly associated with HIRI pathophysiology. CCL2, BTG2, GADD45A, FOS, CXCL10, TNFRSF12A, and IL-17 pathway were identified as key components involved in the HIRI. Serum and liver IL-17A expression were significantly upregulated during the initial phase of HIRI. Pretreatment with anti-IL-17A antibody effectively alleviated the damage of liver tissue, suppressed inflammatory factors, and serum transaminase levels, and downregulated the mRNA expression of CCL2, GADD45A, FOS, CXCL10, and TNFRSF12A. Injection of anti-IL17A antibody after ischemia and at 1 h of reperfusion failed to demonstrate anti-inflammatory and attenuating HIRI benefits relative to earlier intervention. Our study reveals that the IL-17 pathway and related genes may be involved in the proinflammatory mechanism of HIRI, which may provide a new perspective and theoretical basis for the prevention and treatment of HIRI.