SP3 (specificity protein 3) is a transcription factor characterized by three conserved Cys2His2 zinc finger motifs that exert a transregulatory effect by binding to GC boxes, either upregulating or downregulating multiple genes or by co-regulating gene expression in coordination with other proteins. SP3 potentially regulates a series of processes, such as the cell cycle, growth, metabolic pathways, and apoptosis, and plays an important role in antiviral effect. The function of sp3 in fish is poorly understood. In this study, the Sp3a open reading frame was cloned from the orange-spotted grouper, Epinephelus coioides. The full-length open reading frame of Sp3a was 2034 bp, encoding 677 amino acids, with a predicted molecular weight of 72.34 kDa and an isoelectric point of 5.05. Phylogenetically, Sp3a in Epinephelus coioides was the most closely related to Sp3a in the Malabar grouper, Epinephelus malabaricus. RT-qPCR revealed ubiquitous expression of Sp3a in all examined grouper tissues, with no significant differences in expression levels among tissues. A eukaryotic expression vector, pEGFP-Sp3a, was constructed and transfected into grouper spleen (GS) cells. Subcellular localization of Sp3a was observed using an inverted fluorescence microscope. When Spa3 was overexpressed in GS cells, the expression of orange-spotted grouper nerve necrosis virus (RGNNV) genes (CP and RdRp) decreased significantly, indicating that Sp3a significantly inhibited RGNNV replication. siRNA inhibition of Sp3a accelerated the intracellular replication of RGNNV, implying the antiviral effect of Sp3a. Conclusively, our findings contribute to further research on the antiviral capabilities of Sp3a in grouper and other fish. Therefore, our research has potential implications on the development of the aquaculture industry.