Novel 1,4-dihydropyrazolo[3,4-a]pyrrolizine-, 4,5-dihydro-1H-pyrazolo[4,3-g]indolizine- and 1,4,5,6-tetrahydropyrazolo[3,4-c]pyrrolo[1,2-a]azepine-3-carboxamide-based compounds were designed and synthesized for cannabinoid CB1 and CB2 receptor interactions. Any of the new synthesized compounds showed high affinity for CB2 receptor with Ki values superior to 314nm, whereas some of them showed moderate affinity for CB1 receptor with Ki values inferior to 400nm. 7-Chloro-1-(2,4-dichlorophenyl)-N-(homopiperidin-1-yl)-4,5-dihydro-1H-pyrazolo[4,3-g]indolizine-3-carboxamide (2j) exhibited good affinity for CB1 receptor (Ki CB1 =81nm) and the highest CB2 /CB1 selectively ratio (>12). Docking studies carried out on such compounds were performed using the hCB1 X-ray in complex with the close pyrazole analogue AM6538 and disclosed specific pattern of interactions related to the tricyclic pyrrolopyrazole scaffolds as CB1 ligands.