These findings indicate that PTP1B inhibits STAT3 signaling to attenuate the effects of TRIM18-overexpression, revealing the critical role of STAT3 signaling in renal injury, thus improving our understanding of DKD. Here, STAT3 is linked to diabetic kidney disease.