This invention relates to novel substituted dioxopiperidinyl phthalimide derivatives and pharmaceutically acceptable acid addition salts thereof. The invention also provides compositions comprising a compound of this invention and the use of such compositions in methods of treating diseases and conditions beneficially treated by an immunomodulatory agent.