The present invention relates to purinone derivatives of formula I which are agonists of the HM74a receptor. Further provided are compositions and methods of using the compounds herein, and their pharmaceutically acceptable salts for the treatment of disease.