While p53 activation has long been studied, the mechanisms by which its targets genes are restored to their preactivation state are less clear. We report here that TAF1 phosphorylates p53 at Thr55, leading to dissociation of p53 from the p21 promoter and inactivation of transcription late in the DNA damage response. We further show that cellular ATP level might act as a molecular switch for Thr55 phosphorylation on the p21 promoter, indicating that TAF1 is a cellular ATP sensor. Upon DNA damage, cells undergo PARP-1-dependent ATP depletion, which is correlated with reduced TAF1 kinase activity and Thr55 phosphorylation, resulting in p21 activation. As cellular ATP levels recover, TAF1 is able to phosphorylate p53 on Thr55, which leads to dissociation of p53 from the p21 promoter. ChIP-sequencing analysis reveals p53 dissociates from promoters genome wide as cells recover from DNA damage, suggesting the general nature of this mechanism.