These findings identify P2RY12 as a pivotal regulator of T cells metabolism and provide a sound theoretical basis for its potential application as a therapeutic target for autoimmune hepatitis. This evidence concerns the gene P2RY12 and autoimmune hepatitis.