The balance between IL-17 and IL-22 produced by liver-infiltrating T-helper cells critically controls NASH development in mice.