Growing evidences have demonstrated that multiple TRIM (tripartite motif) proteins exert critical roles in host defense against different microbial pathogens. Although mammalian TRIM21 has been reported to function as an important regulatory factor in antiviral immune and inflammatory response, the role of fish TRIM21 against virus infection still remains largely unknown. In the present study, we investigated the characteristics of TRIM21 gene (EcTRIM21) from orange spotted grouper (Epinephelus coioides). The full-length EcTRIM21 cDNA encoded a 557 amino acid peptide with 92.1% and 31.14% identity with giant grouper (Epinephelus lanceolatus) and human (Homo sapiens), respectively. EcTRIM21 contained four conserved domains, including RING, B-Box, PRY and SPRY domain. EcTRIM21 expression was significantly up-regulated in response to Singapore grouper iridovirus (SGIV) and red-spotted grouper nervous necrosis virus (RGNNV) infection, suggesting that EcTRIM21 might be involved in host defense against fish virus infections. Subcellular localization showed that EcTRIM21 were distributed in the cytoplasm in a punctate manner. Overexpression of EcTRIM21 in vitro significantly inhibited RGNNV and SGIV replication, as evidenced by the decreased severity of cytopathic effect (CPE) and the reduced expression levels of viral core genes. Consistently, knockdown of EcTRIM21 by small interfering RNA (siRNA) promoted the replication of RGNNV and SGIV in vitro. Furthermore, EcTRIM21 overexpression increased both interferon (IFN) and interferon stimulated response element (ISRE) promoter activities. In addition, the transcription levels of IFN signaling related molecules were positively regulated by EcTRIM21 overexpression. Together, our data demonstrated that fish TRIM21 exerted antiviral activity against fish viruses through positive regulation of host interferon response.