Tricyclic pyrazole derivatives of the following formula (I) having affinity for the cannabinoidergic CB1 and/or CB2 receptors: wherein: A represents a group selected from one of the following: (CH2)t-, -(CH2)-S(O)z-, or -S(O)z-(CH2)-, B is a heteroaryl, optionally substituted R is a group selected from the following: alkyl, aryl, arylalkyl or arylalkenyl, not substituted or having from one to four substituents, equal to or different from each other R is a group selected from the following: an ether group of formula -(CH2)-O-(CH2)v-R", a ketonic group of formula -C(O)-Z, wherein Z is as defined below a substituent having an hydroxyl function of formula -CH(OH)-Z an amide substituent of formula -C(O)-NH-T.