Mechanical pressure overload and other stimuli often contribute to heart hypertrophy, a significant factor in the induction of heart failure. The UDP-glucose ceramide glycosyltransferase (UGCG) enzyme plays a crucial role in the metabolism of sphingolipids through the production of glucosylceramide. However, its role in heart hypertrophy remains unknown. In this study, UGCG was induced in response to pressure overload in vivo and phenylephrine stimulation in vitro. Additionally, UGCG downregulation ameliorated cardiomyocyte hypertrophy, improved cardiomyocyte mitochondrial oxidative stress, and reduced the ERK signaling pathway. Conversely, UGCG overexpression in cardiomyocytes promoted heart hypertrophy development, aggravated mitochondrial oxidative stress, and stimulated ERK signaling. Furthermore, the interaction between beta-1,4-galactosyltransferase 5 (B4GalT5), which catalyses the synthesis of lactosylceramide, and UGCG was identified, which also functions as a synergistic molecule of UGCG. Notably, limiting the expression of B4GalT5 impaired the capacity of UGCG to promote myocardial hypertrophy, suggesting that B4GalT5 acts as an intermediary for UGCG. Overall, this study highlights the potential of UGCG as a modulator of heart hypertrophy, rendering it a potential target for combating heart hypertrophy.