A series of azoles and aminoazoles with a 3,4-dichlorobenzyl moiety attached to a ring nitrogen atom was synthesized via reaction of the parent systems with 3,4-dichlorobenzyl chloride. Regioisomeric products were discriminated on the basis of 13C-NMR data or by NOE-difference spectroscopy. The affinities of some representatives towards sigma-1 and sigma-2 receptors were determined by receptor binding assays.