These results revealed that the endogenous IL-23 plays a protective role in hepatitis in an IL-22-dependent manner, whereas exogenous IL-23 plays a pathological role in IL-17-dependent and -independent manners. Here, IL23A is linked to hepatitis A virus infection.