In this study, heavy chain genes of IgD and IgT were sequenced and characterized their gene expression in rock bream (Oplegnathus fasciatus). Rock bream (RB)-IgD cDNA is 3319 bp in length and encodes a leader region, variable domains, a μ1 domain, and seven constant domains (CH1–CH7). A membrane-bound (mIgT) and secretory form (sIgT) of RB-IgT cDNAs are 1902 bp and 1689 bp in length, respectively, and encode a leader region, variable domains, four constant domains (CH1–CH4) and C-terminus. Their predicted 3D-structure and phylogenetic relation were similar to those of other teleost. In healthy fish, RB-IgD and mIgT gene expressions were higher in major lymphoid organs and blood, while RB-sIgT gene was more highly expressed in midgut. IgT expressing cells were detected in melano-macrophage centers (MMC) of head kidney in immunohistochemistry analysis. Under immune stimulation in vitro, RB-IgD and IgT gene expressions were upregulated in head kidney and spleen cells by bovine serum albumin or a rock bream iridovirus (RBIV) vaccine. In vivo, their expressions were significantly upregulated in head kidney, blood, and gill upon vaccination. Especially, RB-mIgT gene expression in head kidney and blood was upregulated at day 3 after vaccination while upregulated at earlier time point of day 1 by challenge with RBIV. This may suggest that memory cells might be produced during the primary response by vaccination and rapidly proliferated by secondary immune response by viral infection. RB-sIgT gene expression was highly upregulated in peripheral blood in vaccinated fish after viral infection, indicating that IgT plays an important role in systemic immune response as well as mucosal immune system. Our findings provide information on the role of RB-IgT in adaptive immunity during vaccination and viral infection in the vaccinated fish.