The Huangjia Ruangan granule (HJRG) is a clinically effective Kampo formula, which has a significant effect on liver fibrosis and early liver cirrhosis. However, the mechanism underlying HJRG in treating liver fibrosis remains unclear. In this study, carbon tetrachloride (CCl4) was used to induce liver fibrosis in rats to clarify the effect of HJRG on liver fibrosis and its mechanism. Using network pharmacology, the potential mechanism of HJRG was initially explored, and a variety of analyses were performed to verify this mechanism. In the liver fibrosis model, treatment with HJRG can maintain the liver morphology, lower the levels of AST and ALT in the serum, and ameliorate pathological damage. Histopathological examinations revealed that the liver structure was significantly improved and fibrotic changes were alleviated. It can effectively inhibit collagen deposition and the expression of α-SMA, reduce the levels of the rat serum (HA, LN, PC III, and Col IV), and inhibit the expression of desmin, vimentin, and HYP content in the liver. Analyzing the results of network pharmacology, the oxidative stress, inflammation, and the related pathways (primarily the TNF signaling pathway) were identified as the potential mechanism of HJRG against liver fibrosis. Experiments confirmed that HJRG can significantly increase the content of superoxide dismutase and glutathione and reduce the levels of malondialdehyde and myeloperoxidase in the rat liver; in addition, HJRG significantly inhibited the content of proinflammatory cytokines (TNF-α, IL-1β, and IL-6) and reduced the expression of inflammatory regulators (Cox2 and iNOS). Meanwhile, treatment with HJRG inhibited the phosphorylation of NF-κB P65, IκBα, ERK, JNK, and MAPK P38. Moreover, HJRG treatment reversed the increased expression of TNFR1. The Huangjia Ruangan granule can effectively inhibit liver fibrosis through antioxidation, suppressing liver inflammation by regulating the TNF/MAPK and NF-κB signaling pathways, thereby preventing the effect of liver fibrosis.