We report the synthesis and SAR of a series of novel azaindole CB(2) agonists. 6-Azaindole 18 showed activity in an acute pain model but was inactive in a chronic model. 18 is a Pgp substrate with low brain penetration. The template was redesigned, and the resulting 5-azaindole 36 was a potent CB(2) agonist with high CNS penetration. This compound was efficacious in the acute model and the chronic joint pain model.