Our results suggest that HCQ inhibits macrophage activation and MAPKs via the TLR-9 pathway, thereby attenuating renal fibrosis after IRI. Here, TLR9 is linked to renal fibrosis.