The forage quality of alfalfa (Medicago sativa) stems is greater than the leaves. Sucrose hydrolysis provides energy for stem development, with starch being enzymatically converted into sucrose to maintain energy homeostasis. To understand the physiological and molecular networks controlling stem development, morphological characteristics and transcriptome profiles in the stems of two alfalfa cultivars (Zhungeer and WL168) were investigated. Based on transcriptome data, we analysed starch and sugar contents, and enzyme activity related to starch-sugar interconversion. Zhungeer stems were shorter and sturdier than WL168, resulting in significantly higher mechanical strength. Transcriptome analysis showed that starch and sucrose metabolism were significant enriched in the differentially expressed genes of stems development in both cultivars. Genes encoding INV, bglX, HK, TPS and glgC downregulated with the development of stems, while the gene encoding was AMY upregulated. Weighted gene co-expression network analysis revealed that the gene encoding glgC was pivotal in determining the variations in starch and sucrose contents between the two cultivars. Soluble carbohydrate, sucrose, and starch content of WL168 were higher than Zhungeer. Enzyme activities related to sucrose synthesis and hydrolysis (INV, bglX, HK, TPS) showed a downward trend. The change trend of enzyme activity was consistent with gene expression. WL168 stems had higher carbohydrate content than Zhungeer, which accounted for more rapid growth and taller plants. WL168 formed hollow stems were formed during rapid growth, which may be related to the redistribution of carbohydrates in the pith tissue. These results indicated that starch and sucrose metabolism play important roles in the stem development in alfalfa.