Objective To observe the therapeutic effect of empagliflozin (EM) on renal injury in rats with type 2 diabetes mellitus (T2DM), and to explore its possible mechanism. Methods Male SD rats were randomly divided into a normal control (NC) group, a T2DM group, and an EM group, with 6 rats in each group. T2DM models were established by an intraperitoneal injection of streptozotocin (STZ) in the T2DM and EM groups. Fasting blood glucose (FBG) levels and body mass of rats in each group were recorded. The EM group received EM solution through intragastric administration, while the other two groups were given an equivalent volume of sodium carboxymethyl cellulose solution through intragastric administration for 12 weeks. After the body mass and FBG levels were recorded, the rats were sacrificed and blood samples from the abdominal aorta and kidney tissues were collected. Serum creatinine (Scr), blood urea nitrogen (BUN), uric acid (UA), triglyceride (TG) and total cholesterol (TC) were detected by automatic biochemical analyzer. Masson, PAS and HE staining were used to assess histological changes in the kidneys, and a transmission electron microscopy was used to observe ultrastructural changes. Immunohistochemical staining was used to detect the expression and distribution of exchange protein 1 directly activated by cAMP(Epac1), TNF-α, IL-1β, and IL-18 in renal tissue of rats. Results Compared with the NC group, the rats in T2DM group showed a decrease in body mass, a significant increase in the levels of FBG, Scr, BUN, UA, TC, and TG, thickened glomerular basement membrane, foot process fusion of podocytes, disordered cell arrangement and loss of endothelial cell fenestrations. The expression level of Epac1 decreased, while the expression levels of TNF-α, IL-1β, and IL-18 significantly increased. Compared with the T2DM group, the rats in the EM group showed an increase in body mass, significantly decreased levels of FBG, Scr, BUN, UA, TC, and TG, reduced renal injury, increased expression level of Epac1, and significantly decreased expression levels of TNF-α, IL-1β, and IL-18. Conclusion EM can improve renal injury in T2DM rats by up-regulating Epac1 expression to inhibit inflammatory response.