For animal experiments, the results revealed that melatonin remarkably ameliorated UUO‐induced renal fibrosis, attenuated the expression of miR‐21‐5p and pro‐fibrotic proteins and elevated Spry1 and PTEN expression. This evidence concerns the gene PTEN and renal fibrosis.