Autoimmune hepatitis (AIH) is a rare chronic progressive liver disease with autoimmune features. It mainly affects middle-aged women. AIH is occasionally complicated with liver cirrhosis that worsens the prognosis. Genetic and environmental factors are involved in the pathogenesis of AIH. Genetic studies of other diseases have been revealing of pathogenesis and drug efficacy. In this review, we summarize the genetic risk factors for AIH, including human leukocyte antigen (HLA) and non-HLA genes. A genome-wide association study (GWAS) on European AIH revealed the strongest associations to be with single nucleotide variants (SNVs) in HLA. Predisposing alleles for AIH were DRB1*03:01 and DRB1*04:01 in Europeans; DRB1*04:04, DRB1*04:05, and DRB1*13:01 in Latin Americans; and DRB1*04:01 and DRB1*04:05 in Japanese. Other risk SNVs in non-HLA genes for AIH were found by a candidate gene approach, but several SNVs were confirmed in replication studies. Some genetic factors of AIH overlapped with those of other autoimmune diseases. Larger-scale GWASs of other ethnic groups are required. The results of genetic studies might provide an explanation for the phenotypic heterogeneity of AIH and biomarkers for drug responses.