Growing evidence shows that CB(2) receptor is an attractive therapeutic target. Starting from a series of 4-oxo-1,4-dihydroquinoline-3-carboxamide as selective CB(2) agonists, we describe here the medicinal chemistry approach leading to the development of CB(2) receptor inverse agonists with a 4-oxo-1,4-dihydropyridine scaffold. The compounds reported here show high affinity and potency at the CB(2) receptor while showing only modest affinity for the centrally expressed CB(1) cannabinoid receptor. Further, we found that the functionality of this series is controlled by its C-6 substituent because agonists bear a methyl or a tert-butyl group and inverse agonists, a phenyl or 4-chlorophenyl group, respectively. Finally, in silico studies suggest that the C-6 substituent could modulate the conformation of W6.48 known to be critical in GPCR activation.