New heterocyclic derivatives of benzylpiperidin-4-yl methyl and benzyl(methyl)aminobutyl sequences as sigma ligands.