Recently sulfamoyl benzamides were identified as a novel series of cannabinoid receptor ligands. Replacing the sulfonamide functionality and reversing the original carboxamide bond led to the discovery of N-(3-(morpholinomethyl)-phenyl)-amides as potent and selective CB(2) agonists. Selective CB(2) agonist 31 (K(i)=2.7; CB(1)/CB(2)=190) displayed robust activity in a rodent model of postoperative pain.