Overall, this study not only provides new insights for understanding the immune function of IL-22 in fish, but also provides potential molecular targets for the development of new therapeutics and molecular breeding strategies against bacterial diseases. Here, IL22 is linked to bacterial infectious disease.