Objective To investigate the effect of silencing indoleamine 2,3⁃dioxygenase (IDO) on tumor growth and immune function in mice bearing hepatocellular carcinoma. Methods H22 hepatocellular carcinoma⁃bearing mouse models were established and divided into blank control group, scramble⁃short hairpin RNA (shRNA) control group, or IDO⁃shRNA treatment group, with 5 mice in each group. Mice in the IDO⁃shRNA treatment group and the scramble⁃shRNA control group received rapid high⁃pressure tail vein injections of 50 μg IDO⁃shRNA plasmid and 50 μg scramble⁃shRNA plasmid, respectively. Mice in the blank control group received an equal volume of 0.9% sodium chloride solution injected in the same manner. The intervention was performed three times. Tumor formation time and tumor volume were observed and recorded. Mice were sacrificed 48 hours after the last injection, and tumor weight was measured. Histopathological changes in tumor tissues were observed by HE staining. Flow cytometry was used to detect the percentage of splenic T lymphocytes, T lymphocyte apoptosis rate, and the percentage of Treg in the mice. Levels of tumor necrosis factor alpha (TNF⁃α), interferon gamma (IFN⁃γ), interleukin (IL)⁃2, and IL⁃10 in tumor tissues of mice bearing hepatocellular carcinoma were measured by ELISA. Results Compared with the scramble⁃shRNA group and the blank control group, the IDO⁃shRNA treatment group exhibited delayed tumor formation time, reduced tumor weight, decreased tumor volume, a reduced number of cells in tumor tissues with varying degrees of patchy necrosis, an increased percentage of CD4+ T lymphocytes, an increased CD4+/CD8+ value in the spleen, elevated levels of IFN⁃γ and IL⁃2 in tumor tissues, decreased apoptosis rates of CD4+ and CD8+ T lymphocytes, a reduced percentage of Treg in the spleen, and lower levels of TNF⁃α and IL⁃10 in tumor tissues (P<0.05). Conclusion Rapid high⁃pressure tail vein injection of IDO⁃shRNA can effectively inhibit tumor growth in hepatocellular carcinoma⁃bearing mice, and its mechanism is related to enhancing the body's anti⁃tumor immune response.