Viperin, also known as radical S-Adenosyl methionine domain containing 2 (RSAD2), is an IFN stimulated protein that plays crucial roles in innate immunity. Here, we identified a viperin gene from the koi carp (Cyprinus carpio) (kVip). The ORF of kVip is 1047 bp in length, encoding a polypeptide of 348 amino acids with neither signal peptide nor transmembrane protein. The predicted molecular weight is 40.37 kDa and the isoelectric point is 7.7. Multiple sequence alignment indicated that putative kVip contains a radical SAM superfamily domain and a conserved C-terminal region. kVip was highly expressed in the skin and spleen of healthy koi carps, and significantly stimulated in both natural and artificial CEV-infected koi carps. In vitro immune stimulation analysis showed that both extracellular and intracellular poly (I: C) or poly (dA: dT) caused a significant increase in kVip expression of spleen cells. Furthermore, intraperitoneal injection of recombinant kVip (rkVip) not only reduced the CEV load in the gills, but also improved the survival of koi carps following CEV challenge. Additionally, rkVip administration effectively regulated inflammatory and anti-inflammatory cytokines (IL-6, IL-1β, TNF-α, IL-10) and interferon-related molecules (cGAS, STING, MyD88, IFN-γ, IFN-α, IRF3 and IRF9). Collectively, kVip effectively responded to CEV infection and exerted antiviral function against CEV partially by regulation of inflammatory and interferon responses.