The present invention generally relates to 6-amino-2,4-dihydropyrano [2,3-c] pyrazoles as a ubiquitin specific protease 7 (USP7) inhibitor useful for the treatment of diseases mediated by malfunction of USP7, such as inflammation, cancer, and immunological disorders. The invention described herein also pertains to pharmaceutical compositions and methods for treating diseases mediated by malfunction of USP7, in mammals using compounds disclosed herein.