OVATE family proteins (OFPs) are transcriptional regulators in plants. They have a common domain called the OVATE domain and control the development of leaves, fruits, and flowers in plants. Although the OFP gene family has been widely explored in the plant kingdom, the identification and characterization of this family have not yet been performed in wax gourd. In this study, we conducted a genome-wide investigation of the OFP gene family and identified 18 OFP (BhiOFP) genes in wax gourd. Next, we discovered their evolutionary relationships, conserved motifs, gene structures, cis-acting elements, and expression patterns. The BhiOFP genes were irregularly distributed on nine chromosomes, with only two BhiOFP genes containing introns. The BhiOFP gene promoters contained cis-acting elements in response to phytohormones and environmental signals. The majority of BhiOFP genes were derived from whole-genome duplication events. Expression analysis demonstrated that the BhiOFP genes showed disparate modes of expression and some of them were highly expressed in fruits. Overexpression of BhiOFP1, BhiOFP5, and BhiOFP18 in Arabidopsis resulted in dwarf plants, small rosette leaves, and shortened siliques, while the BhiOFP1 overexpression plants displayed a more severe phenotype. In summary, our study systematically analyzed the wax gourd OFP gene family, facilitated the functional research of BhiOFP1, BhiOFP5, and BhiOFP18, and offered a theoretical foundation for the improvement of wax gourd varieties with appropriate fruit length.