Galectins are a family of animal lectins involved in the immune response against pathogens. However, the roles of fish galectins during pathogen infection require comprehensive studies. In the present research, eight different galectin genes from Takifugu obscurus (named ToGalec1-8) were identified and characterized. ToGalec1-8 encoded proteins of 240, 182, 373, 145, 452, 135, 359 and 346 amino acids, respectively. All predicted ToGalec1-8 proteins possessed one or more conserved carbohydrate recognition domains (CRDs). Phylogenetic analysis revealed that ToGalec1-8 were evolutionarily closely related to their counterparts in other selected vertebrates, hinting their genetic relationship. Tissue distribution analysis showed that most ToGalec genes were distributed ubiquitously in all detected tissues, with relatively high expression in immune tissues. After stimulation by Vibrio harveyi and Staphylococcus aureus, the mRNA transcripts of ToGalec1-8 in liver and kidney were significantly upregulated. In addition, RNA interference experiments showed that knockdown of ToGalec1 and ToGalec7 inhibited the clearance of bacteria in vivo. Taken together, these obtained results suggested that ToGalec1-8 play an important role in innate immunity and defense against bacterial infection in T. obscurus.