Diazapolycyclic compounds having affinity for the opioidergic receptors, preferably for the delta opioidergic receptors, with central and/or peripheral activity, having formula: A1-D1-T1 (I)wherein:- A1 is a group of formula (II):wherein:R1 is phenyl wherein one of the ring hydrogen atoms is substituted with a group selected from C(O)R, C(O)OR, C(O)NHR or C(O)NR3R4, R, R3 and R4, being as defined in the application R2 is phenyl, optionally substituted- D1 is a diazapolycyclic group- T1 is a group selected from H, alkyl, alkenyl, alkynyl and from the following optionally substituted groups:cycloalkyl, heterocycloalkyl, aryl, heteroaryl, cycloalkylalkyl, heterocycloalkylalkyl, arylalkyl or heteroarylalkyl,and their hydrates and solvates and pharmaceutically acceptable salts.