BackgroundMyelocytomatosis (MYC) transcription factors are crucial mediators of the response of plants to environmental stresses through via binding to DNA regulatory regions. However, few systematic characterizations of MYC genes are available in Cucurbitaceae species.ResultsIn this study, we identified 10, 8, 12, and 10 MYC genes in Cucumis sativus, Cucumis melo, Citrullus lanatus, and Benincasa hispida, respectively. Characterization revealed that all of the MYC proteins contain a highly conserved H4-V5-E6-E8-R9-R11-R12 sequence, which is essential for the binding of DNA regulatory regions. Evolutionary analysis enabled us to categorize 40 predicted MYC proteins from seven species into five distinct groups and revealed that the expansion of the MYC genes occurred before the divergence of monocots and dicots. The upstream promoter regions of the MYC genes contain a variety of developmental, stress, and hormone-responsive regulatory elements. The expression of cucumber MYC genes varies significantly across organs, with particularly high expression of CsaV3_3G001710 observed across all organs. Transcriptomic analysis revealed that certain cucumber MYC genes undergo specific upregulation or downregulation in response to both biotic and abiotic stressors. In particular, under temperature stress, the cucumber genes CsaV3_3G007980 and CsaV3_3G001710 were significantly upregulated. Interestingly, the homologs of these two genes in C. lanatus presented a similar expression pattern to that in C. sativus, whereas in B. hispida, they presented the opposite pattern, i.e., significant downregulation. These findings indicated that these two genes indeed respond to temperature stress but with different expression patterns, highlighting the divergent functions of homologous genes across different species.ConclusionsThis study analyzed the size and composition of the MYC gene family in four Cucurbitaceae species and investigated stress-responsive expression profiles, especially under temperature stress. All the results showed that MYC genes play important roles in development and stress responses, laying a theoretical foundation for further investigations of these response mechanisms.