These results indicated that TLR2 and TLR4 ligands might regulate liver macrophage polarization to influence AIH development. Here, TLR2 is linked to autoimmune hepatitis.