In our study, we found that glucose fluctuations in type 2 diabetes exacerbated myocardial fibrosis via the CaMKII/Stat3 pathway. Here, STAT3 is linked to Myocardial fibrosis.