Inhibition of the human ubiquitin-specific protease 7 (USP7), the key deubiquitylating enzyme in regulating p53 protein levels, has been considered an attractive anticancer strategy. In order to enhance the cellular activity of FT671, scaffold hopping strategy was employed. This endeavor resulted in the discovery of YCH2823, a novel and potent USP7 inhibitor.YCH2823 demonstrated remarkable efficacy in inhibiting the growth of a specific subset of TP53 wild-type, -mutant, and MYCN-amplified cell lines, surpassing the potency of FT671 by approximately 5-fold. The mechanism of action of YCH2823 involves direct interaction with the catalytic domain of USP7, thereby impeding the cleavage of ubiquitinated substrates. An increase in the expression of p53 and p21, accompanied by G1 phase arrest and apoptosis, was observed upon treatment with YCH2823. Subsequently, the knockdown of p53 or p21 in CHP-212 cells exhibited a substantial reduction in sensitivity to YCH2823, as evidenced by a considerable increase in IC50 values up to 690-fold. Furthermore, YCH2823 treatment specifically enhanced the transcriptional and protein levels of BCL6 in sensitive cells. Moreover, a synergistic effect between USP7 inhibitors and mTOR inhibitors was observed, suggesting the possibility of novel therapeutic strategies for cancer treatment. In conclusion, YCH2823 exhibits potential as an anticancer agent for the treatment of both TP53 wild-type and -mutant tumors.