The present invention relates to compounds that are inhibitors of c-jun N-terminal kinase 1, 2, or 3 (JNK1, JNK2, or JNK3), compositions containing the compounds and the use of the compounds in the prevention or treatment of disorders regulated by the activation of JNK1, JNK2 and JNK3.