Our findings indicate that the TGR5–DHHC4 pathway regulates cardiac fatty acid uptake, which highlights the therapeutic potential of targeting TGR5 in the management of diabetic cardiomyopathy. Here, ZDHHC4 is linked to diabetic cardiomyopathy.