cAMP response element binding (CREB) protein 2 (CRTC2) is a transcriptional coactivator of CREB and plays an important role in the immune system. Thus far, the physiological roles of Crtc2 in teleost are still poorly understood. In this study, the crtc2 gene was identified and characterized from yellow catfish (Pelteobagrus fulvidraco; therefore, the gene is termed as pfcrtc2), and its evolutionary and molecular characteristics as well as potential immunity-related roles were investigated. Our results showed that the open reading frame of pfcrtc2 was 2,346 bp in length, encoding a protein with 781 amino acids. Gene structure analysis revealed its existence of 14 exons and 13 introns. A phylogenetic analysis proved that the tree of crtc2 was clustered into five groups, exhibiting a similar evolutionary topology with species evolution. Multiple protein sequence alignment demonstrated high conservation of the crtc2 in various vertebrates with similar structure. Syntenic and gene structural comparisons further established that crtc2 was highly conserved, implying its similar roles in diverse vertebrates. Tissue distribution pattern detected by quantitative real-time PCR showed that the pfcrtc2 gene was almost expressed in all detected tissues except for eyes, with the highest expression levels in the gonad, indicating that Crtc2 may play important roles in various tissues. In addition, pfcrtc2 was transcribed at all developmental stages in yellow catfish, showing the highest expression levels at 12 h after fertilization. Finally, the transcriptional profiles of crtc2 were significantly increased in yellow catfishes injected with Aeromonas hydrophila or Poly I:C, which shared a consistent change pattern with four immune-related genes including IL-17A, IL-10, MAPKp38, and NF-κBp65, suggesting pfCrtc2 may play critical roles in preventing both exogenous bacteria and virus invasion. Anyway, our findings lay a solid foundation for further studies on the functions of pfcrtc2, and provide novel genetic loci for developing new strategies to control disease outbreak in teleost.