Here we show a reactive oxygen species (ROS)-responsive nanosystem targeting tissue inhibitor of metalloproteinase-1 (TIMP-1) for spatiotemporally precise IPF treatment. This evidence concerns the gene TIMP1 and idiopathic pulmonary fibrosis.