Short internode length (SIL) is one of the most commercially and important traits in melon varieties (Cucumis melo L.). SIL can result in a compact vining type that promotes concentrated fruit in high-density crops, leading to greater use of light resources for photosynthesis and greater yield per unit area. In our study, two parental melon lines ‘M1-32’ (P1, standard vine) and ‘X090’ (P2, short internodes), and their F1, F2, BC1P1, and BC1P2 progenies were evaluated after being grown in plastic greenhouse conditions in 2017 and 2018. Main stem length (MSL) and internode length (IL) of six melon generations indicated that a single recessive gene (MD7) controlled dwarfism in the ‘X090’ melon line. Whole-genome analysis revealed a genomic region harboring the candidate dwarfism gene on chromosome 7. Six polymorphic cleaved amplified polymorphic sequence (CAPS) markers from chromosome 7 were used to construct a genetic linkage that spanned 30.28 cM. The melon dwarfing locus MD7 responsible for SIL was positioned between markers M7-4 and M7-5, with 3.16 cM of flanking distance. The CAPS markers M7-4 and M7-5 developed have the potential to accelerate the development of dwarf melon varieties, especially in situations when dwarf genotypes are an important breeding goal using marker-assisted selection.