In conclusion, our study was the first to show that HDAC inhibition by TSA alleviates renal fibrosis in obstructed kidneys through facilitating an M1 to M2c macrophage transition. Here, HDAC9 is linked to renal fibrosis.