Autoimmune hepatitis(AIH) is a chronic progressive inflammatory liver disease induced by loss of immune tolerance. The role of circulating metabolites in disease pathogenesis is unclear. This study aimed to investigate potential causal links between plasma metabolites and AIH risk by employing a two-sample Mendelian randomization approach. A comprehensive bidirectional two-sample Mendelian randomization analysis was conducted using genome-wide significant variant-metabolite and variant-AIH associations in European ancestry individuals. Various methods assessed causal relationships among 1400 metabolites and AIH, incorporating sensitivity analyses to evaluate pleiotropy and heterogeneity. Fifty-eight metabolites displayed possible associations, including increased AIH risk with genetically predicted higher kynurenine (p = 2.79 × 10− 5, OR: 1.64, 95% CI 1.30–2.07) and a protective effect for the dopamine sulfate ratio (p = 1.06 × 10− 5,OR: 0.62, 95% CI 0.49–0.79). Reciprocal analysis revealed a causal effect of AIH on kynurenine( p = 2.79 × 10− 5, OR: 1.64, 95% CI 1.30–2.07), but not on the dopamine sulfate ratio(p = 0.691, OR: 1.05, 95% CI 0.67–1.64). Our genetics-based approach provides evidence supporting a causal role for specific metabolite levels in AIH risk. The results deliver evidence supporting a causal effect of a specific metabolite ratio(dopamine 4-sulfate/dopamine 3-O-sulfate) on AIH risk. Experimental validation and mechanistic examinations are warranted to confirm findings.