Nuclear factor Y (NF-Y) is a heterotrimeric complex composed of three unique subunits: NF-YA, NF-YB, and NF-YC. This transcription factor complex binds to the CCAAT box of eukaryotic promoters, playing a crucial role in various biological processes in plants. Despite its importance, the NF-Y gene family has not been reported in the sweet potato (Ipomoea batatas) genome, an important food and energy crop. Understanding the role and function of NF-Y in sweet potatoes could provide valuable insights for genetic improvement and yield enhancement. To address this gap, our research aimed to comprehensively catalog and characterize the NF-Y genes in sweet potatoes, which we refer to as ‘IbNF-Y’, where ‘Ib’ denotes Ipomoea batatas. A total of 37 NF-Ys were identified, including 11 NF-YA, 21 NF-YB, and 5 NF-YC members, and their phylogeny, gene structure, chromosomal distribution, and conserved motifs were analyzed. Additionally, we assessed their expression patterns under salt stress in both light and dark conditions using transcriptome sequencing. Notably, we discovered that certain IbNF-Y genes showed significant changes in expression under salt stress, suggesting their potential roles in sweet potato’s adaptation to saline environments. Furthermore, our work enriches the genomics and genetic research on sweet potatoes and contributes valuable knowledge to the broader scientific community of the Convolvulaceae family.