The fruit shape of cucumber is an important agronomic trait, and mining regulatory genes, especially dominant ones, is vital for cucumber breeding. In this study, we identified a short and fat fruit mutant, named sff, from an EMS mutagenized population. Compared to the CCMC (WT), sff (MT) exhibited reduced fruit length and increased dimeter. Segregation analysis revealed that the sff phenotype is controlled by a semi-dominant single gene with dosage effects. Through map-based cloning, the SFF locus was narrowed down to a 52.6 kb interval with two SNPs (G651A and C1072T) in the second and third exons of CsaV3_1G039870, which encodes an IQD family protein, CsSUN. The G651A within the IQ domain of CsSUN was identified as the unique SNP among 114 cucumber accessions, and it was the primary cause of the functional alteration in CsSUN. By generating CsSUN knockout lines in cucumber, we confirmed that CsSUN was responsible for sff mutant phenotype. The CsSUN is localized to the plasma membrane. CsSUN exhibited the highest expression in the fruit with lower expression in sff compared to WT. Histological observations suggest that the sff mutant phenotype is due to increased transverse cell division and inhibited longitudinal cell division. Transcriptome analysis revealed that CsSUN significantly affected the expression of genes related to cell division, expansion, and auxin signal transduction. This study unveils CsSUN's crucial role in shaping cucumber fruit and offers novel insights for cucumber breeding.