The present invention is directed to substituted five membered heteroaryl benzamide compounds of formula (I) (Formula (I)) which are tropomyosin-related kinase (Trk) family protein kinase inhibitors, and hence are useful in the treatment of pain, inflammation, cancer, restenosis, atherosclerosis, psoriasis, thrombosis, a disease, disorder, injury, or malfunction relating to dysmyelination or demyelination or a disease or disorder associated with abnormal activities of nerve growth factor (NGF) receptor TrkA.